Skip to main content

A simple client to fetch the few things PyPI does not expose via API

Project description

pypi-examiner

Package Works? License Downloads Code Style

PyPI Examiner scrapes PyPI for a few things the JSON API doesn't provide. Currently, this supports:

  • Finding the current maintainers' usernames for any package
  • Finding all packages that a given user maintains

This package should not be considered especially stable at this time, and may cease to function or may be heavily revised without notice.

Please be responsible when scraping PyPI, as PyPI maintainers have been forced to block bots and bot-like behavior starting Dec 4th-6th 2024, due to millions of uncached requests being made in a short timeframe which took PyPI down. All requests made by this package now include a 5-second wait - both to ensure politeness, and to ensure Fastly lets our browser through (Chromium, via requests-html, which includes pyppeteer).

Usage

from pypi_examiner import examiner

pypi = examiner()
who = pypi.who_maintains("unishox2_py3")
# who is: ["tweedge"]

maint = pypi.maintained_by("tweedge")
# maint is: ["unishox2-py3", "pypi-examiner", "dns-mollusc"]

If the package does not exist, the maintainer owns no packages, or another error has arose: expect the result to be []

Support

This package is built/tested for Ubuntu, per CI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pypi-examiner-0.6.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypi_examiner-0.6-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file pypi-examiner-0.6.tar.gz.

File metadata

  • Download URL: pypi-examiner-0.6.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.16

File hashes

Hashes for pypi-examiner-0.6.tar.gz
Algorithm Hash digest
SHA256 a382f8c385285339e90b99b1319ffe00e00ed38e3e78991e8200d763f1bbd8af
MD5 e3f6d56747b44660e41bc05a9ff9020b
BLAKE2b-256 ab950c80a2b1f5fd394f45308cbd1be106c7dbffa5522cafbf86bc1490b3f09a

See more details on using hashes here.

File details

Details for the file pypi_examiner-0.6-py3-none-any.whl.

File metadata

  • Download URL: pypi_examiner-0.6-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.16

File hashes

Hashes for pypi_examiner-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 12b6cdc93e80465fd2aacf567158df12816c85fc547b962c1016efa474186767
MD5 263c336105cd4bd8f8512854a9e98f3b
BLAKE2b-256 942f2d311e44c89686789378758c5fc307f85540724c7723bb165eca542ae591

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page