Bandersnatch documentation¶
bandersnatch is a PyPI mirror client according to PEP 381 https://www.python.org/dev/peps/pep-0381/.
Bandersnatch hits the XMLRPC API of pypi.org to get all packages with serial or packages since the last run’s serial. bandersnatch then uses the JSON API of PyPI to get shasums and release file paths to download and workout where to layout the package files on a POSIX file system.
As of 4.0 bandersnatch: - Is fully asyncio based (mainly via aiohttp) - Only stores PEP503 nomalized packages names for the /simple API - Only stores JSON in normailzed package name path too
Contents:
- Installation
- Mirror configuration
- Mirror filtering
- Serving your Mirror
- Contributing
- bandersnatch
- bandersnatch package
- Package contents
- Submodules
- bandersnatch.configuration module
- bandersnatch.delete module
- bandersnatch.filter module
- bandersnatch.log module
- bandersnatch.main module
- bandersnatch.master module
- bandersnatch.mirror module
- bandersnatch.package module
- bandersnatch.storage module
- bandersnatch.utils module
- bandersnatch.verify module
- bandersnatch_filter_plugins package
- Package contents
- Submodules
- bandersnatch_filter_plugins.blocklist_name module
- bandersnatch_filter_plugins.filename_name module
- bandersnatch_filter_plugins.latest_name module
- bandersnatch_filter_plugins.metadata_filter module
- bandersnatch_filter_plugins.prerelease_name module
- bandersnatch_filter_plugins.regex_name module
- bandersnatch_filter_plugins.allowlist_name module
- bandersnatch_storage_plugins package
- bandersnatch package