nab-python
Index-backed provider, lockfile emitter, and downloader for nab
What it is and what it does
nab-python is a Python package index provider that powers the nab resolver, handling all the mechanics of interaction with standards-based Python package indexes. It is designed for developers who want to embed package resolution and lockfile generation into their own tools without using the CLI. The package implements build and distribution policies that let you control how the resolver and installer behave.
The package is actively maintained and currently in beta. It depends on build, installer, nab-index, nab-resolver, pyproject-hooks, tomli-w, tomli, and typing-extensions. The maintainers explicitly warn that the API is under rapid experimentation, so you should pin to exact versions rather than ranges.
Use it for:
- Embed Python package resolution in a custom build or deployment tool
- Generate lockfiles programmatically for reproducible environments
- Build a package manager or dependency analysis tool on top of nab
- Integrate index-backed resolution into a CI/CD or infrastructure tool
- Control resolver behavior through custom build and distribution policies
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python package index integration for the nab resolver, handling package discovery, resolution, and lockfile generation without requiring the CLI.
Yes, if you need to embed package resolution in a tool and are willing to pin exact versions due to the API's experimental status. The active maintenance, low install friction, MIT license, and zero known vulnerabilities support adoption. Not suitable if you need a stable, long-term API guarantee.
Install
nab-python on PyPI
pip
pip install nab-pythonuv
uv add nab-pythonpoetry
poetry add nab-pythonInstalling nab-python
Before you install
Active maintenance with a release 3 days old. Low install friction from a pure-wheel distribution. Eight runtime dependencies including build, installer, and resolver components suggest a moderately complex dependency tree, though all are standard tooling packages.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for embedding in other tools.
Quickstart
pip install nab-python
from nab_python import <provider_or_resolver_class>
# Embed resolver in your tool without CLI
Requires Python 3.10 or later; API is under rapid experimentation, so exact version pinning is recommended.
Verify before relying
- Specific API surface and stability guarantees beyond 'under rapid experimentation'
- Whether the eight runtime dependencies are all required or some are optional
- Performance characteristics for large dependency graphs or index queries
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 8 — build, installer, nab-index, nab-resolver, pyproject-hooks, tomli-w, tomli, typing-extensions |
| Maintenance | actively maintained — 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 425,217/month — #6,760 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: nab_python-0.0.13-py3-none-any.whl
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
nab-indexA typed PyPI Simple-API client with on-disk…
permissive · top 15,000 on PyPI
nab-resolverA generic PubGrub-style dependency resolver…
permissive · top 15,000 on PyPI
resolvelibResolveLib provides a generic dependency…
permissive · top 1,000 on PyPI
abxpkgUnified interface for detecting, installing,…
permissive · top 15,000 on PyPI
requirementslibParses, builds, and converts between Pipfile…
permissive · top 15,000 on PyPI
pdmPDM is a modern Python package and dependency…
unclear · top 5,000 on PyPI
aiohttp-asyncmdnsresolverProvides an async resolver for aiohttp that…
permissive · top 15,000 on PyPI
aiodnsProvides asynchronous DNS resolution for…
permissive · top 5,000 on PyPI
resolve-robotics-uri-pyResolves ROS-style package:// and Gazebo-style…
permissive · top 15,000 on PyPI
pycarespycares provides a Python interface to c-ares,…
permissive · top 5,000 on PyPI