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

This only works with pip 23.2 or later due to https://github.com/pypa/pip/issues/12038

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.5.1.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

index_503-2.5.1-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: index_503-2.5.1.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/42.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.5 tqdm/4.66.1 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.13

File hashes

Hashes for index_503-2.5.1.tar.gz
Algorithm Hash digest
SHA256 f7fd5f8c7a8dbda0417de2696158dac20788df0ff16a0344dfd4ce219a305b0c
MD5 66d6a282212f8f19af39aa9934116df0
BLAKE2b-256 1ef913497df929a485bb8a88e47335088a2fc4669927268ff12466a410839166

See more details on using hashes here.

File details

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

File metadata

  • Download URL: index_503-2.5.1-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/42.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.0.5 tqdm/4.66.1 importlib-metadata/6.8.0 keyring/24.2.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.13

File hashes

Hashes for index_503-2.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 499e2b49c3e72c749569c3dc0a6a7e6c81aefd059fc424a0e13bc25366314c6a
MD5 ffa54af4b2f1d6c1c71d7e34f3e6bb0c
BLAKE2b-256 f3d66c701bedb1f8994eeb52d991b322e25038e96d0570cfb40ea115d0d826bc

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