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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypi-examiner-0.5.1.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.1.tar.gz
Algorithm Hash digest
SHA256 8be8216824a5b9c261425221f25d853c6d6edca767cdf086b07545bb47278f9d
MD5 dd1fd674ed63f5639bd3bd86c9d2c951
BLAKE2b-256 2a48df469a019b958f899fd7f1184997ca84195329e4d69b902ff116264b00fe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypi_examiner-0.5.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 16e439d05003398fc09b295346340da87033e3f8ce7efbb01d622f7ca9233581
MD5 eac103e5e2c15afeba48efde1af90bf0
BLAKE2b-256 6a8f03e92d625693de028c2feac40e96f2e6e12f9ce543ee074fafdb32bba491

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