A simple client to fetch the few things PyPI does not expose via API
Project description
pypi-examiner
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a55c8ac4d5ade26211284340c715353027b393eb9ee197fbfac641acc55032fb
|
|
| MD5 |
ed7c95afd3e0efc51daa7805632ad5a6
|
|
| BLAKE2b-256 |
d8a81bd2975e1134e4b91c4d7202df57130c8ede1a30184e83a678cfb8a75360
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f385b55f5ce34c1fbc08d42e2f08af06343567d31bfa4e522771b34404e0b33
|
|
| MD5 |
dae72c70be7087ad9e023ecb661402b0
|
|
| BLAKE2b-256 |
f1ac326ba65101f7bb42ca785c4c8b5fd2ffadbe0aab24d570f7387e07dad74e
|