PyPI Package Stats Scraper avatar

PyPI Package Stats Scraper

Pricing

from $1.49 / 1,000 packages

Go to Apify Store
PyPI Package Stats Scraper

PyPI Package Stats Scraper

Look up Python packages on PyPI and get latest version, license, Python requirement, dependencies, release history and daily, weekly and monthly download counts. Paste names or a PyPI URL. No API key.

Pricing

from $1.49 / 1,000 packages

Rating

0.0

(0)

Developer

rainminer

rainminer

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

Categories

Features

Limited permissions

Share

Look up Python packages on PyPI and get latest version, license, Python requirement, dependencies, release history and download counts in one row per package.

No API key and no login. It reads the public PyPI JSON API and public pypistats.org download counts.

What can this PyPI scraper do?

  • Look up one package or a few hundred per run.
  • Accept requests, Typing_Extensions, or a pypi.org/project/... URL, and normalise names the way PyPI does (PEP 503).
  • Add daily, weekly and monthly download counts.
  • Count published releases and give the first and latest upload date.
  • List dependencies, classifiers and project links.
  • Report an unknown project in the run summary instead of failing the run.
  • Export JSON, CSV or Excel, and schedule a repeat through Apify.

What data can you extract?

FieldMeaning
nameProject name as PyPI spells it
versionCurrent version
summaryOne-line summary
descriptionLong description, trimmed to 2000 characters
author / authorEmailMaintainer fields when published
licenseLicense string from the metadata
requiresPythonRequires-Python value
keywordsFree-text keywords
classifiersTrove classifiers
homePageHome page or project URL
projectUrlsNamed project links such as Source, Documentation
requiresDistDeclared dependencies
releaseCountNumber of published releases
firstUploadAtUpload time of the earliest release with files
latestUploadAtUpload time of the newest release file
latestFileTypesFile kinds in the current release, for example sdist, bdist_wheel
dailyDownloads / weeklyDownloads / monthlyDownloadsDownload counts from pypistats.org
yankedTrue when the current release is yanked
packageUrlPyPI project page
scrapedAtWhen this row was collected

Fields PyPI does not publish are null, not guessed. A missing dependency list means zero declared dependencies.

How to use it

  1. Put project names in Packages, one per line. The default input is requests and pandas.
  2. Leave Include download counts on unless you only need metadata: it costs one extra request per package.
  3. Run it and download the dataset. The run summary lands in the key-value store record SUMMARY.

maxItems caps the whole run, not each package.

Notes

  • Download counts come from pypistats.org, a third-party mirror of PyPI download logs. If it is unavailable the row is still saved, with null download fields.
  • Release history uses the release list of the current project document, so it covers all versions PyPI still lists, not only the current one.