PyPI Package Scraper β€” Metadata & Downloads avatar

PyPI Package Scraper β€” Metadata & Downloads

Pricing

from $0.001875 / package scraped

Go to Apify Store
PyPI Package Scraper β€” Metadata & Downloads

PyPI Package Scraper β€” Metadata & Downloads

Look up Python packages on PyPI: version, summary, author, license, Python requirement, dependencies, project links, release history and download counts. Ideal for dependency, license and security auditing. Clean, no setup.

Pricing

from $0.001875 / package scraped

Rating

0.0

(0)

Developer

Hipersoft

Hipersoft

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

3 days ago

Last modified

Categories

Features

Limited permissions

Share

PyPI Package Scraper β€” Metadata, Dependencies, Licenses & Download Stats

Look up any Python package on PyPI by exact name and get back clean, structured JSON: version, summary, author, license, Python requirement, dependencies, project links, release history and day / week / month download counts. The PyPI Package Scraper turns a requirements.txt, poetry.lock or pyproject.toml into an auditable dataset for dependency, license and supply-chain review β€” exportable as JSON, CSV, Excel or XML. Fast, reliable, and built for bulk package lookups.

PyPI Package Scraper input β€” package names and download options in the Apify Console

What does the PyPI Package Scraper do?

This PyPI scraper (a Python package data extractor) resolves a list of package names into a full metadata record each. Instead of opening dozens of pypi.org/project/... pages by hand, paste your dependency list and export every field β€” license, supported Python versions, dependency graph, release cadence and download popularity β€” in one run. It's the fastest way to build a software bill of materials (SBOM), run an open-source license audit, or benchmark Python libraries side by side.

Features

  • 🎯 Exact package lookups β€” paste names (requests, fastapi, numpy) straight from your lockfile for precise, bulk results.
  • 🧾 License intelligence β€” a clean, resolved license for every package, ideal for open-source license compliance and audits.
  • πŸ”— Dependency graph β€” normalized dependencies list plus raw dependenciesRaw requirement specifiers and a dependency count for supply-chain mapping.
  • 🐍 Python version support β€” requiresPython and the full pythonVersions list, so you know exactly what runtimes each package targets.
  • πŸ“ˆ Download statistics β€” optional last day / week / month download counts to measure package popularity and momentum.
  • πŸ—“οΈ Release history β€” optional recentReleases with the 10 most recent versions and upload dates to track release cadence and freshness.
  • πŸ”— Project links β€” homepage, repository, documentation and the complete projectUrls map for every package.

What data can you scrape from PyPI?

Every Python package becomes one structured JSON record with these data points:

GroupFields
Identityname, version, summary, keywords, pypiUrl
Licensing & compatibilitylicense, requiresPython, pythonVersions, yanked
Dependenciesdependencies, dependenciesRaw, dependenciesCount
Linkshomepage, repository, documentation, projectUrls
ReleaseslatestUpload, latestSize, releaseCount, recentReleases
PopularitydownloadsLastDay, downloadsLastWeek, downloadsLastMonth

What you get

PyPI Package Scraper output example β€” package metadata, dependencies and downloads as structured JSON

Each package becomes one clean JSON record:

{
"name": "requests",
"version": "2.32.3",
"summary": "Python HTTP for Humans.",
"license": "Apache-2.0",
"author": "Kenneth Reitz",
"requiresPython": ">=3.8",
"pythonVersions": ["3", "3.8", "3.9", "3.10", "3.11", "3.12"],
"keywords": [],
"dependenciesCount": 5,
"dependencies": ["charset-normalizer", "idna", "urllib3", "certifi", "PySocks"],
"dependenciesRaw": ["charset-normalizer (<4,>=2)", "idna (<4,>=2.5)", "urllib3 (<3,>=1.21.1)", "certifi (>=2017.4.17)", "PySocks (!=1.5.7,>=1.5.6) ; extra == 'socks'"],
"homepage": "https://requests.readthedocs.io",
"repository": "https://github.com/psf/requests",
"documentation": "https://requests.readthedocs.io",
"projectUrls": { "Homepage": "https://requests.readthedocs.io", "Source": "https://github.com/psf/requests" },
"yanked": false,
"latestUpload": "2024-05-29T15:37:49.000000Z",
"latestSize": 64928,
"releaseCount": 156,
"downloadsLastDay": 2712345,
"downloadsLastWeek": 18934512,
"downloadsLastMonth": 81234567,
"pypiUrl": "https://pypi.org/project/requests/"
}

Output schema

FieldTypeDescription
namestringPackage name on PyPI.
versionstringLatest published version.
summarystringShort package description.
licensestringResolved license from manifest, expression or classifiers.
authorstringPackage author name.
requiresPythonstringPython version requirement specifier.
pythonVersionsarraySupported Python versions parsed from classifiers.
keywordsarrayKeywords declared by the package.
dependenciesCountintegerNumber of runtime dependencies.
dependenciesarrayNormalized dependency package names.
dependenciesRawarrayRaw dependency requirement specifiers.
homepagestringPackage homepage URL.
repositorystring (URL)Source code repository link.
documentationstring (URL)Documentation link.
projectUrlsobjectMap of all declared project links.
yankedbooleanWhether the latest release was yanked.
latestUploadstring (ISO date)Upload timestamp of the latest release.
latestSizeintegerSize in bytes of the latest release file.
releaseCountintegerTotal number of released versions.
downloadsLastDayintegerDownloads in the last day.
downloadsLastWeekintegerDownloads in the last week.
downloadsLastMonthintegerDownloads in the last month.
pypiUrlstring (URL)Link to the package page on PyPI.

How to scrape PyPI package data

  1. Open the PyPI Package Scraper and click Try for free.
  2. Paste the package names you want into the packages field β€” one per line, copied straight from requirements.txt, poetry.lock or pyproject.toml.
  3. Toggle includeDownloads for popularity figures and includeReleases for recent release history.
  4. Click Run.
  5. Export the results as JSON, CSV, Excel or XML, or pull them from the Apify API.

Input

{
"packages": ["requests", "fastapi", "numpy"],
"includeDownloads": true,
"includeReleases": false
}
FieldDescription
packagesPyPI package names to look up (exact names from your requirements.txt / poetry.lock).
includeDownloadsAdd last day / week / month download counts for each package.
includeReleasesInclude recentReleases: the 10 most recent versions with upload dates.

Use cases

  • Software bill of materials (SBOM): export every dependency's name, version and license into a single structured dataset for compliance and procurement.
  • Open-source license audit: flag copyleft, unknown or mismatched licenses across a whole requirements.txt before shipping.
  • Supply-chain security review: map a project's full dependency names and spot yanked or stale releases that need attention.
  • Dependency freshness monitoring: compare latestUpload and releaseCount to find abandoned or slow-moving packages.
  • Python library benchmarking: rank competing packages by download momentum (day/week/month) before choosing a dependency.
  • Package popularity research: build dashboards and reports on Python ecosystem trends from download statistics.
  • Migration planning: check requiresPython and pythonVersions across dependencies before a Python upgrade.
  • Developer tooling & enrichment: feed package metadata into internal catalogs, IDE plugins, or data pipelines.

Pricing

Pay-per-event: you're billed a small amount per run and per package you get back β€” you only pay for the results you receive. See the Pricing tab for current rates.

FAQ

How many Python packages can I look up at once? As many as you like β€” add your whole dependency list and the PyPI Package Scraper returns one record per package in a single run.

Can I search PyPI by keyword or topic? This actor works from exact package names rather than keyword search, so paste names straight from your requirements.txt, poetry.lock or pyproject.toml into the packages field for precise results.

Is scraping PyPI data allowed? The scraper returns only publicly available package information. Review the Python Software Foundation's terms before large-scale or commercial reuse, and use the data responsibly.

What export formats are supported? Structured JSON, CSV, Excel and XML β€” one row per package β€” plus programmatic access through the Apify API.

Can I get download counts and release history? Yes. Enable includeDownloads for last day / week / month figures, and includeReleases to attach recentReleases β€” the 10 most recent versions with their upload dates.

How do I build an SBOM or license report with this? Paste your full dependency list, run the actor, and export the name, version, license and dependencies fields to CSV or Excel β€” that is a ready-made software bill of materials and license inventory.

How fresh is the data? Each run fetches the latest published metadata, version and download figures at the time it runs, so results reflect the current state of each package.

Can I connect this to other apps? The PyPI Package Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. It works with Make, Zapier, Slack, Airbyte, GitHub, Google Drive and many more, plus the Apify API, JavaScript/Python clients and MCP. Or use webhooks to trigger an action whenever a run finishes.

Auditing dependencies and developer data across stacks? Combine the PyPI Package Scraper with our other developer-data tools:

Notes

Original clean-room implementation. Returns only publicly available Python package data; you are responsible for compliance with the Python Software Foundation's terms. This is an independent tool and is not affiliated with, endorsed by, or sponsored by the PSF; "PyPI" and "Python" are trademarks of the PSF.