Skip to content

UI to view wheel and sdist content #7877

@uranusjr

Description

@uranusjr

What's the problem this feature will solve?
@pfmoore, @pradyunsg and I were talking about dependency conflict debugging, and it came up as a topic that a significant number of users opt to “read setup.py” when they are looking for dependency information.

This is, however, currently quite awkward to do. The user either needs to find the project’s repository (e.g. GitHub) and hunt for the correct tag/commit, or download the distribution file and extract it manually. It is also difficult for pip to implement a feature to help with the process.

Describe the solution you'd like
A view that allows the user to view the contents of a given distribution (wheel or sdist), and read the content of a given file in the archive. The viewer can be a bare minimal text/plain page, but some basic features like line numbers would be very nice to have.

Each list view and file view should have a unique URL, e.g. I can paste a URL to the browser and read setup.py in Django-3.0.tar.gz, or the METADATA file of a wheel directly. This would be valuable for sharing package information and help with user support.

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions