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.5.2.tar.gz (7.2 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.5.2-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypi-examiner-0.5.2.tar.gz
  • Upload date:
  • Size: 7.2 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.5.2.tar.gz
Algorithm Hash digest
SHA256 3b6976b493b5223cc04755c25b4468fd356ff1c1d308d1c6bda0ae293ce98b8e
MD5 133c223c5d5129499730eb48ec2479af
BLAKE2b-256 435224477dc0afd062ad08c0594a7a73954f9df6366c8faa81873c69add33699

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypi_examiner-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 7.4 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.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b527db400584b504378c039568a88a51d01e650087727cce7235f66294ff022a
MD5 8fa8089b366c013bd3eef48cb3fa88fe
BLAKE2b-256 2cad0dd4c7a8cb03dc3f05998819c6dcd47d2750bdfeef87d90f65f7b8aed53b

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