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.14.tar.gz (135.9 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.14-py3-none-any.whl (46.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nab_resolver-0.0.14.tar.gz
  • Upload date:
  • Size: 135.9 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.14.tar.gz
Algorithm Hash digest
SHA256 52afb09bbae754733f2880cb6a6d51cdbbb278694b7d8ca27d6bea934ab9388b
MD5 fcbf159949f07a3b7a9edfadd31c2f6c
BLAKE2b-256 788c7a1ed494a94778c0b8a52c6c22d273a6e54916e1768f73f0502818d56e6a

See more details on using hashes here.

Provenance

The following attestation bundles were made for nab_resolver-0.0.14.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.14-py3-none-any.whl.

File metadata

  • Download URL: nab_resolver-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 46.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.14-py3-none-any.whl
Algorithm Hash digest
SHA256 7af10b447c336bf23c5e77e1eb82184a63555c9efb8939e92d1e51413c4f2a81
MD5 7150c90055b53a0d3fa510217bbc9a61
BLAKE2b-256 9cc6b22d821f2e42870596c272519f2aa7a4b0ae75f774cc84706e7cb7bcdeda

See more details on using hashes here.

Provenance

The following attestation bundles were made for nab_resolver-0.0.14-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

0.0.15

2 files

This release

0.0.14 This release

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