Tech News
← Back to articles

PyOCI – Publish and install private Python packages using OCI/Docker registries

read original related products more articles

PyOCI

Publish and download (private) python packages using an OCI registry for storage.

Why PyOCI

To not have to rely on yet-another-cloud-provider for private Python packages, PyOCI, makes ghcr.io act like a python index.

In addition, this completely removes the need for separate access management as GitHub Packages access control applies.

Most subscriptions with cloud providers include an OCI (docker image) registry where private containers can be published and distributed from.

PyOCI allows using any (private) OCI registry as a python package index, as long as it implements the OCI distribution specification. It acts as a proxy between pip and the OCI registry.

An instance of PyOCI is available at https://pyoci.com, to use this proxy, please see the Getting started.

Tested registries:

Published packages will show up in the OCI registry UI:

... continue reading