PyPI
pypi.org
Python package metadata from PyPI: project and release details, requirements, distribution files and their hashes.
GET /v1/data/pypi/distributions1Request
Must already be PEP 503 normalised: lowercase, with every run of '-', '_' or '.' collapsed to a single '-' (so 'zope.interface' becomes 'zope-interface'). Unlike the JSON API this endpoint does not normalise for you - it 301s to the normalised URL and the redirect drops the format parameter, which would hand back HTML.
curl "https://api.fastcrw.com/v1/data/pypi/distributions?name=requests" \ -H "Authorization: Bearer $FASTCRW_API_KEY"
2Response example
A sample shape. Press Run to see live data from PyPI.
{
"files": [
{
"core-metadata": false,
"data-dist-info-metadata": false,
"filename": "requests-0.2.0.tar.gz",
"hashes": {
"sha256": "813202ace4d9301a3c00740c700e012fb9f3f8c73ddcfe02ab558a8df6f175fd"
},
"provenance": null,
"requires-python": null,
"size": 5533,
"upload-time": "2011-02-14T08:49:42.641660Z",
"url": "https://files.pythonhosted.org/packages/ba/bb/dfa0141a32d773c47e4dede1a617c59a23b74dd302e449cf85413fc96bc4/requests-0.2.0.tar.gz",
"yanked": false
},
{
"core-metadata": false,
"data-dist-info-metadata": false,
"filename": "requests-0.2.1.tar.gz",
"hashes": {
"sha256": "d54eb33499f018fc6bd297613bf866f8d134629c8e02964aab6ef951f460e41e"
},
"provenance": null,
"requires-python": null,
"size": 12715,
"upload-time": "2011-02-14T16:38:12.392550Z",
"url": "https://files.pythonhosted.org/packages/4b/ad/d536b2e572e843fda13e4458c67f937b05ce359722c1e4cdad35ba05b6e3/requests-0.2.1.tar.gz",
"yanked": false
},
{
"core-metadata": false,
"data-dist-info-metadata": false,
"filename": "requests-0.2.2.tar.gz",
"hashes": {
"sha256": "b3289694b2ddf6adb4f7e1f470b9771330c76125611222b9c702f0e2e9733cbc"
},
"provenance": null,
"requires-python": null,
"size": 13049,
"upload-time": "2011-02-14T18:58:40.410171Z",
"url": "https://files.pythonhosted.org/packages/82/3c/3b5beca192da920c0c2ba67119d66ba1e4b1e766f40898e5e684d697ca1c/requests-0.2.2.tar.gz",
"yanked": false
},
{
"core-metadata": false,
"data-dist-info-metadata": false,
"filename": "requests-0.2.3.tar.gz",
"hashes": {
"sha256": "8e374b75aaae7f85325e9bb126e96cb77a3bfc17e81ee74a0e96916aac1cc2ba"
},
"provenance": null,
"requires-python": null,
"size": 13255,
"upload-time": "2011-02-15T15:47:29.058010Z",
"url": "https://files.pythonhosted.org/packages/6f/7e/5c2d7d9102c6ab847bd1215f96255e894fbfc81c8abf2c1714ae2a504913/requests-0.2.3.tar.gz",
"yanked": false
},
{
"core-metadata": false,
"data-dist-info-metadata": false,
"filename": "requests-0.2.4.tar.gz",
"hashes": {
"sha256": "ef1bd1a81022e9bf574ecfe69cbd8597e79371b890d29bd3847dd946102c8eed"
},
"provenance": null,
"requires-python": null,
"size": 13653,
"upload-time": "2011-02-19T07:03:14.518479Z",
"url": "https://files.pythonhosted.org/packages/dc/02/789859c27162bb91ecf6b72ed4ce1af3ed1710255265ad0901c4d4e25666/requests-0.2.4.tar.gz",
"yanked": false
},
{
"core-metadata": false,
"data-dist-info-metadata": false,
"filename": "requests-0.3.0.tar.gz",
"hashes": {
"sha256": "57eed745eb2a2e3c7e1dd935ccd49eb2eac51cfcdace4a97fb44de5da70f0035"
},
"provenance": null,
"requires-python": null,
"size": 15021,
"upload-time": "2011-02-25T14:58:38.361577Z",
"url": "https://files.pythonhosted.org/packages/96/2b/88e9d6bf2e9d75cda77bf4fdc03720f4ba262beb532f9510a4a7f3e45660/requests-0.3.0.tar.gz",
"yanked": false
},
{
"core-metadata": false,
"data-dist-info-metadata": false,
"filename": "requests-0.3.1.tar.gz",
"hashes": {
"sha256": "05dddfd656d25b7738778d2b4e8fa72e53b5357a2f80a319e6e1fa59edb03339"
},
"provenance": null,
"requires-python": null,
"size": 15275,
"upload-time": "2011-04-01T20:55:03.064666Z",
"url": "https://files.pythonhosted.org/packages/5e/c0/76fac9445cd8b6394eacae1e098ca0c97767cc0112e45e68521f553df003/requests-0.3.1.tar.gz",
"yanked": false
},
{
"core-metadata": false,
"data-dist-info-metadata": false,
"filename": "requests-0.3.2.tar.gz",
"hashes": {
"sha256": "78ecf812ee865b62be106100a3c6f24058c7901ad995351b8818f18ea97ce848"
},
"provenance": null,
"requires-python": null,
"size": 15515,
"upload-time": "2011-04-15T23:30:50.899634Z",
"url": "https://files.pythonhosted.org/packages/d5/f1/16b57088f11cd5c6c82834bad6475826309cee44edaae860e9f65c084703/requests-0.3.2.tar.gz",
"yanked": false
},
{
"core-metadata": false,
"data-dist-info-metadata": false,
"filename": "requests-0.3.3.tar.gz",
"hashes": {
"sha256": "ccbbc41c4c009baecf41e993727048c65c440fefadb217b11e73f63cd0cae09a"
},
"provenance": null,
"requires-python": null,
"size": 18995,
"upload-time": "2011-05-12T10:03:24.258074Z",
"url": "https://files.pythonhosted.org/packages/f1/64/8a2ba81294381bb90e8fb4b6fa750e0dca3f2d19e8caaeeae5e7bb6b3753/requests-0.3.3.tar.gz",
"yanked": false
},
{
"core-metadata": false,
"data-dist-info-metadata": false,
"filename": "requests-0.3.4.tar.gz",
"hashes": {
"sha256": "e72a42a0317f33114b48c972d3056bad3265b92450d4e0e51ad0b384e43bc6d9"
},
"provenance": null,
"requires-python": null,
"size": 19773,
"upload-time": "2011-05-14T20:30:44.001002Z",
"url": "https://files.pythonhosted.org/packages/ed/1b/8682a0cfe92f67e30fb9ac7982cb785a1230ca4385dc1353513f5b87b9f4/requests-0.3.4.tar.gz",
"yanked": false
},
"… 234 more items"
],
"meta": {
"_last-serial": 37059094,
"api-version": "1.4"
},
"name": "requests",
"project-status": {
"status": "active"
},
"versions": [
"0.2.0",
"0.2.1",
"0.2.2",
"0.2.3",
"0.2.4",
"0.3.0",
"0.3.1",
"0.3.2",
"0.3.3",
"0.3.4",
"… 150 more items"
]
}Attribution: Source: Python Package Index (PyPI)
Licence: you grant the PSF, its legal successors and assigns, and all other users of the Service an irrevocable, worldwide, royalty-free, nonexclusive license to reproduce, distribute, transmit, display, perform, and publish the Content, including in digital form.
Ask with this source
A prompt for your agent that names this source and how to call it through the crw MCP.
Distribution index (PEP 691)
Use PyPI (pypi) from fastCRW Pergamon, capability "Distribution index (PEP 691)" (distributions). You are resolving, pinning or mirroring a package and need the authoritative list of every version and every downloadable file, rather than the project's latest state. Example options: name=requests. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "pypi" and capability "distributions". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Project metadata
Use PyPI (pypi) from fastCRW Pergamon, capability "Project metadata" (project). You have a Python package name and need its current version, dependencies, license, maintainers or release history. Example options: name=requests. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "pypi" and capability "project". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
File provenance attestations
Use PyPI (pypi) from fastCRW Pergamon, capability "File provenance attestations" (provenance). You are checking whether a specific wheel or sdist was built by a verifiable publisher and want the signed attestation proving which repository and workflow uploaded it. Example options: name=sampleproject, version=4.0.0, filename=sampleproject-4.0.0.tar.gz. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "pypi" and capability "provenance". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
Single release metadata
Use PyPI (pypi) from fastCRW Pergamon, capability "Single release metadata" (release). You have a package pinned to an exact version and need that version's own metadata, files or vulnerability status rather than the project's latest state. Example options: name=requests, version=2.32.3. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "pypi" and capability "release". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>
