capabilities.work

Download a PyPI package file

One step with GitLab. We can help you get access.

Look something up

Download a PyPI package file

with GitLab
Works with AI assistants

Use GitLab: its GitLab REST Packages: PyPi API lets you download a PyPI package file in a single step (GET /api/v4/projects/{id}/packages/pypi/files/{sha256}/{file_identifier}). GitLab also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How do I download a package file from a package registry by sha256?
  • Which endpoint serves one file of a PyPI package using its SHA-256 hash?
Say it to your AI assistant
  • Download file {file_identifier} of the package with SHA-256 {sha256} in project {id}.
  • Fetch the {file_identifier} file by its hash {sha256} from project {id}.
For your developer

GET /api/v4/projects/{id}/packages/pypi/files/{sha256}/{file_identifier} in GitLab REST Packages: PyPi API. Full spec on APIs.io.