nab-resolver
Find a combination of package versions that satisfies their dependency constraints, using the
PubGrub algorithm. A ResolverProvider supplies the package rules, so the solver needs no
Python-specific knowledge. The Python provider lives in
nab-provider and the user-facing CLI in
nab.
It has no runtime dependencies: the standard library is all it needs.
When to use it
Use nab-resolver when you are building some kind of package resolver, Python or otherwise. There
is a worked example in the docs:
https://nab.readthedocs.io/en/stable/how-to/embed-the-resolver.html
The public API
The supported API is the module paths below. They will not move without a major version bump. Everything else in the package is internal and may be renamed or relocated in any release.
nab_resolver.errors ResolutionError, ResolutionInvariantError,
ResolutionLimitError, ResolutionStalledError,
ResolutionTerminatedError
nab_resolver.ranges Range
nab_resolver.resolver BaseProvider, DEFAULT_MAX_ITERATIONS, Resolver,
ResolverObserver, ResolverProvider, Solution
nab_resolver.root ROOT
nab_resolver.types Incompatibility, IncompatibilityCause,
RangeProtocol, RootRequirement, Term
The package root binds no names, so importing nab_resolver pulls in no submodules and a caller
loads only what it imports.
Metadata
Release files for nab-resolver 0.0.21
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nab_resolver-0.0.21.tar.gz | 167.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nab_resolver-0.0.21-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 226.2 kB
Release files / nab_resolver-0.0.21.tar.gz
| Download URL | nab_resolver-0.0.21.tar.gz |
|---|---|
| Size | 167.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f44391325dbde953ca7309572659e9d0f4afd9a1dafdf55cfa6e79b77c852897
|
|
BLAKE2b-256 checksum How to use checksums |
e1a4b2bf789fd6d6b33cdf7200cd373f27e4a2b7457bfb787a1d37009e2de372
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.
Transparency logRelease files / nab_resolver-0.0.21-py3-none-any.whl
| Download URL | nab_resolver-0.0.21-py3-none-any.whl |
|---|---|
| Size | 58.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9554a5c4244d875f8093f41364b2cd103214f4a21932de9f1181c8b455687ec3
|
|
BLAKE2b-256 checksum How to use checksums |
c1dd0c439a14d99c78f01f67ddb488ad37f8b66146fdb5873953f7e3496d30d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.
Transparency log