Skip to main content

nab-resolver

Generic PubGrub dependency resolver, parameterised over a ResolverProvider protocol. No Python-specific knowledge: this package is a SAT-style solver core. 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
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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nab_resolver-0.0.15.tar.gz (162.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nab_resolver-0.0.15-py3-none-any.whl (57.6 kB view details)

Uploaded Python 3

File details

Details for the file nab_resolver-0.0.15.tar.gz.

File metadata

  • Download URL: nab_resolver-0.0.15.tar.gz
  • Upload date:
  • Size: 162.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for nab_resolver-0.0.15.tar.gz
Algorithm Hash digest
SHA256 5175f2b24ed4b5ed75e5e94186acb9958a580f855589eab47c4a7856114e349c
MD5 4de7f27cdf43b66cd4b00f0cb2b14fde
BLAKE2b-256 b28a8eb66a839991598a892a3c833903bab97ad85f630a8a58826e98552f88f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for nab_resolver-0.0.15.tar.gz:

Publisher: release.yml on notatallshaw/nab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nab_resolver-0.0.15-py3-none-any.whl.

File metadata

  • Download URL: nab_resolver-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 57.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for nab_resolver-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 22e6750be302739013bd6c388b731297da1ea71fb543e505703a997f1bf45cda
MD5 58a1efde3d28af788990247f367a6775
BLAKE2b-256 7d0120a70a2b1bf9c6c8a583410fa31729041dc322bf048cc76fcfa1a16116bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for nab_resolver-0.0.15-py3-none-any.whl:

Publisher: release.yml on notatallshaw/nab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.0.16

2 files

This release

0.0.15 This release

2 files

0.0.14

2 files

0.0.13

2 files

0.0.12

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page