Skip to content

alpine-wheels/index

Repository files navigation

alpine-wheels/index

This is a PEP 503-compliant Python package index specifically providing wheels built for Alpine Linux.

If you want to use python:alpine Docker containers but you donʼt want to build Python packages yourself, you may find this index useful.

Usage examples

Pip

$ pip install --extra-index-url https://alpine-wheels.github.io/index pandas

Pip with a requirements file

# contents of requirements.txt

--extra-index-url https://alpine-wheels.github.io/index

pandas
$ pip install -r requirements.txt

pip-tools

# add this to the top of requirements.in

--extra-index-url https://alpine-wheels.github.io/index
$ pip-compile

Poetry

# add this section to pyproject.toml

[[tool.poetry.source]]
name = "alpine-wheels"
url = "https://alpine-wheels.github.io/index"
$ poetry add pandas

Pipenv

# add this section to Pipfile

[[source]]
name = "alpine-wheels"
url = "https://alpine-wheels.github.io/index"
verify_ssl = true
$ pipenv install pandas

Tools that require /simple

Some tools require a simple index URL to end with /simple. For this case, the index content is also available at https://alpine-wheels.github.io/index/-/simple.

  • Sonatype Nexus 1 2

Contributing

Is there a package you need that is missing from the index? Open an issue to suggest it. We only support packages that are available on PyPI but do not already have a wheel that is compatible with Alpine Linux.

To add a new package, do not fork this repository directly; make a new repository for the individual package using https://github.com/alpine-wheels/_template.