Skip to content

Support linehaul data in user agent #2111

@konstin

Description

@konstin

Description

Linehaul is a feature by PyPI that allows querying statistics about the used platforms through BigQuery (https://github.com/pypi/linehaul-cloud-function). Clients query the host environment and attach this information as a JSON blob in the User Agent header. This information is extremely valuable to understand usage across platforms, Python versions, CI and what components can or can't assume to present on a target system. https://github.com/pypi/linehaul-cloud-function/blob/main/linehaul/ua/datastructures.py provides an overview over the datastructure. Both pip and uv send linehaul data, but it would be valuable to increase the coverage.

Use case/motivation

No response

Related issues

#1816

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions