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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: index_503-2.6.0.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for index_503-2.6.0.tar.gz
Algorithm Hash digest
SHA256 47b84980ad95a2c8bb4b0735cb06480573b6f3d61e13397d4cad5309323f9676
MD5 8ab1aebe2badcbae270a03f7ebbaafbe
BLAKE2b-256 72a9180fd64bbcc1d2109fda3c6475ce9be341a1bb656d3cbdab2b4ff4b1cfb0

See more details on using hashes here.

Provenance

The following attestation bundles were made for index_503-2.6.0.tar.gz:

Publisher: ci.yml on bdraco/index-503

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: index_503-2.6.0-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for index_503-2.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d42019bdc9907d09e6e6c7a4a409c34205c85f9760c42de0a2a19cd6a23fa663
MD5 bca3e4228a3c4bdaf03967ad03adb34e
BLAKE2b-256 f856ea6aa95c8ac807a552bad5e9717db2a4a7a03a15d1c791958e8c17239017

See more details on using hashes here.

Provenance

The following attestation bundles were made for index_503-2.6.0-py3-none-any.whl:

Publisher: ci.yml on bdraco/index-503

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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