Open Source / In Development
PX Registry
Upcoming Opensource Private Python Package Registry built on Go, NextJS, Mongo.
Sept 2026
Overview
PX Registry is a modern, self-hosted private Python package registry designed around one goal: do one thing, and do it well.
The Python ecosystem has plenty of tooling for building and consuming packages, but surprisingly few compelling options for privately hosting them. Existing solutions are often either lightweight development tools, expensive enterprise platforms, or broad artifact-management systems designed to support far more than Python.
PX is intended to sit in the middle: a focused Python package registry with a clean web interface, a purpose-built CLI, strong package management capabilities, and first-class support for modern tooling such as uv.
The project is built around simplicity. Rather than becoming another general-purpose artifact platform, PX focuses entirely on providing a reliable, secure and pleasant experience for publishing and consuming private Python packages.
The problem
Private Python package hosting is an oddly underserved area.
For many ecosystems, package hosting is already integrated directly into common developer platforms. GitHub, for example, provides package registries for ecosystems such as NuGet, npm and RubyGems. Python remains a notable exception, often requiring teams to introduce another service entirely.
There have been promising dedicated solutions. Astral's Pyx, for example, provided a hosted Python registry designed to integrate closely with uv, but the service was eventually discontinued. At the other end of the spectrum are platforms such as JFrog Artifactory, which are extremely capable but come with the complexity and cost of supporting many languages, artifact types and enterprise workflows.
For personal projects, small teams and even many production environments, that can be excessive. Hosting a handful of private Python packages should not require adopting an entire artifact-management platform.
Fundamentally, a Python package registry is relatively straightforward: store package artifacts, expose a predictable set of endpoints, manage package metadata and respond using formats understood by Python tooling.
The difficult part is everything surrounding that core functionality: authentication, permissions, tokens, auditing, package management, storage, administration and providing an interface developers actually enjoy using.
PX exists to solve that problem without introducing unnecessary complexity.
The solution
The goal with PX was to build a package registry that feels purpose-built rather than stripped down.
The backend is written in Go, providing a small, performant service responsible for package publishing, retrieval, authentication, metadata and registry APIs. Go was also a deliberate technical choice: it offered the performance and deployment characteristics the project needed while giving me an opportunity to build something substantial in a language I had comparatively little experience with.
A Next.js application provides the management interface, giving users a modern way to browse packages, inspect versions and package sizes, manage their account, generate or revoke access tokens, and perform administrative actions.
PostgreSQL acts as the system's metadata and application datastore, managing users, packages, releases, tokens, permissions and auditing information.
Package artifacts are handled through a storage abstraction rather than being coupled to a single provider. PX currently supports Azure Blob Storage and Google Cloud Storage, while Azurite provides a fully local, Docker-based Azure-compatible storage environment for development and testing. The storage layer is designed to accommodate additional providers over time without requiring the wider application to change.
The resulting system aims to provide the convenience of a hosted service while remaining straightforward to self-host and operate.
Rather than competing with large artifact-management platforms feature-for-feature, PX deliberately stays focused on Python. This allows its workflows, APIs and interface to be designed specifically around Python packaging instead of treating Python as one package format among dozens.
Architecture & technical approach
PX uses a deliberately simple, modular architecture that separates registry logic, application state and package storage.
At the centre of the system is a Go API service responsible for the registry protocol and core application logic. Python tooling such as pip and uv, the PX CLI, and the web interface all communicate through this backend.
The API handles package publishing and retrieval, authentication, token validation, package metadata, permissions and administrative operations.
A Next.js frontend provides the human-facing management layer. It allows developers and administrators to inspect packages and versions, manage users and credentials, and perform actions that would otherwise require direct API or CLI interaction.
PostgreSQL stores the persistent application state, including users, permissions, package metadata, versions, authentication tokens and audit information.
Package binaries are stored separately through a provider-agnostic object storage layer. Production deployments can currently use Azure Blob Storage or Google Cloud Storage, while local development uses Azurite running in Docker to emulate Azure Blob Storage without requiring external cloud infrastructure.
Keeping package storage behind a dedicated abstraction means registry logic remains independent from the underlying cloud provider. Additional object storage backends can therefore be introduced without fundamentally changing the API, CLI or frontend.
This separation keeps PX simple to deploy while preserving a clear path towards larger and more flexible installations.
Key features
- Private Python package publishing and installation
- First-class compatibility with uv and standard Python packaging tooling
- Dedicated CLI for package and registry management
- Modern web-based package browser and administration interface
- Package version and artifact management
- Package size and metadata visibility
- User and permission management
- Personal access token generation and revocation
- Role-based access controls
- Package deletion and administrative tooling
- Authentication and secured package access
- Audit trails for important registry actions
- Self-hosted deployment model
- Focused exclusively on the Python ecosystem
- Azure Blob Storage support
- Google Cloud Storage support
- Docker-based Azurite support for fully local development
- Extensible storage-provider architecture
Technical highlights
- Go backend designed for low overhead, concurrency and simple deployment
- Next.js management interface with a modern component-driven UI
- PostgreSQL for reliable relational application and package metadata
- Clear separation between package artifacts and registry metadata
- API-first architecture shared between the web UI and CLI
- Implementation of Python package registry protocols and expected endpoints
- Token-based authentication for developer tooling and automated environments
- Permission-aware package operations
- Architecture designed to support interchangeable or scalable artifact storage
- Container-friendly deployment and development workflow
- Built as a substantial production-style project while learning Go
- Deliberately narrow product scope to minimise operational complexity
- Azure Blob Storage and Google Cloud Storage production backends
- Azurite container for local, cloud-independent development and testing