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.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-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pypi-examiner-0.5.tar.gz
Algorithm Hash digest
SHA256 a55c8ac4d5ade26211284340c715353027b393eb9ee197fbfac641acc55032fb
MD5 ed7c95afd3e0efc51daa7805632ad5a6
BLAKE2b-256 d8a81bd2975e1134e4b91c4d7202df57130c8ede1a30184e83a678cfb8a75360

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pypi_examiner-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3f385b55f5ce34c1fbc08d42e2f08af06343567d31bfa4e522771b34404e0b33
MD5 dae72c70be7087ad9e023ecb661402b0
BLAKE2b-256 f1ac326ba65101f7bb42ca785c4c8b5fd2ffadbe0aab24d570f7387e07dad74e

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