PyPI Python Package Scraper avatar

PyPI Python Package Scraper

Pricing

from $2.00 / 1,000 results

Go to Apify Store
PyPI Python Package Scraper

PyPI Python Package Scraper

Search and extract Python package data from PyPI. Get versions, dependencies, download stats, and classifiers. No API key needed.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

cloud9

cloud9

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

Search and extract Python package data from PyPI. Get versions, dependencies, download stats, and classifiers.

Features

  • Extract data from https://pypi.org
  • Multiple scraping modes: package, search
  • Automatic rate limiting
  • Proxy support via Apify Proxy

Input Configuration

Modes

  1. package: /pypi/{packageName}/json
  2. search: /simple/

Example Input

{
"mode": "package",
"packages": [
"example1",
"example2"
],
"maxResults": 20
}

Output

The actor stores results in the Apify dataset. Each item contains:

  • info.name
  • info.version
  • info.summary
  • info.author
  • info.license
  • info.requires_python
  • info.keywords
  • info.classifiers
  • info.project_urls
  • info.requires_dist

Usage Example

const input = {
"mode": "package",
"packages": [
"example1",
"example2"
],
"maxResults": 20
};
const run = await ApifyClient.actor('pypi-package-scraper').call(input);
const { items } = await ApifyClient.dataset(run.defaultDatasetId).listItems();
console.log(items);

Limits

  • Maximum results per run: 100
  • Rate limiting: 1 request per second (default)

Support

For issues or questions, contact the developer or open an issue on GitHub.

License

Apache-2.0