Skip to main content

PEP 503 index builder

Project description

Index 503

CI Status Documentation Status Test coverage percentage

Poetry black pre-commit

PyPI Version Supported Python versions License

PEP 503 index builder

Usage

If you have a directory full of wheels like musllinux:

index-503 musllinux

This will produce a musllinux-index directory with a PEP 503 index symlinked to the original directory without disturbing the original directory.

Running this again will replace the original index and delete the old index in an atomic manner.

A lock will be held in the parent directory to prevent concurrent executions.

Example

For image builds pip3 install --no-cache-dir --dry-run --only-binary=:all: --index-url "https://wheels.koston.org/musllinux-index/" -r requirements.txt

For run time installs pip3 install --no-cache-dir --dry-run --only-binary=:all: --extra-index-url "https://wheels.koston.org/musllinux-index/" -r requirements.txt

Known issues

If you see Discarding https://wheels.koston.org/musllinux-index/intelhex-2.3.0-py2.py3-none-any.whl#sha256=87cc5225657524ec6361354be928adfd56bcf2a3dcc646c40f8f094c39c07db4 (from https://wheels.koston.org/musllinux-index/intelhex/): Requested IntelHex>=2.2.1 from https://wheels.koston.org/musllinux-index/intelhex-2.3.0-py2.py3-none-any.whl#sha256=87cc5225657524ec6361354be928adfd56bcf2a3dcc646c40f8f094c39c07db4 (from pymysensors==0.24.0->-r requirements_and.txt (line 1853)) has inconsistent Name: expected 'IntelHex', but metadata has 'intelhex' upgrade pip as its fixed via https://github.com/pypa/pip/pull/12044

Installation

Install this via pip (or your favourite package manager):

pip install index-503

Credits

This package was created with Copier and the browniebroke/pypackage-template project template.

This project borrows heavily from Dominic Davis-Foster's simple503 https://github.com/repo-helper/simple503

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

index_503-2.3.1.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

index_503-2.3.1-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file index_503-2.3.1.tar.gz.

File metadata

  • Download URL: index_503-2.3.1.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.2 tqdm/4.65.0 importlib-metadata/6.6.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.11

File hashes

Hashes for index_503-2.3.1.tar.gz
Algorithm Hash digest
SHA256 995cee322dcf25f45dec0e62156c792e1a0ba45c170e91918f71a565bea401ff
MD5 90d85023873284d916dda10ca3a7a319
BLAKE2b-256 9c497d276b70d5dbda20238168e3f46a159b106aad1648e5e683a7d3e9a7125f

See more details on using hashes here.

File details

Details for the file index_503-2.3.1-py3-none-any.whl.

File metadata

  • Download URL: index_503-2.3.1-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.2 tqdm/4.65.0 importlib-metadata/6.6.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.11

File hashes

Hashes for index_503-2.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e40f1524aaef1919f240d790e6af79190864ded66c34e0712d6baebc144c7f5e
MD5 b2d47262a44ffbfce3cfa5d1c45832b5
BLAKE2b-256 50d1c6956004114671e5b4224bf7556f6151b8f92397bcec3a5296c6e613572c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page