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.16.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.16-py3-none-any.whl (57.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nab_resolver-0.0.16.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.16.tar.gz
Algorithm Hash digest
SHA256 540316b26d92ba891adcc0c54c0dec2d79f859a3cc4a416aabd36d5fc5278c3e
MD5 5ab9fd9718833a3cfe41c0701ac43a24
BLAKE2b-256 8affcef63ba1c7d47d9be040ae81f1bdae251dd906b7cd34b6fed616566deca7

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: nab_resolver-0.0.16-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.16-py3-none-any.whl
Algorithm Hash digest
SHA256 efcd7800c2f0661daaade7ee820be65ba943d6314fe35fb07b855be6c0fb2141
MD5 9e2763929cfdda5d444852b305c628ba
BLAKE2b-256 578b51f0e68dd3ef56c509c08e573083316aad5c3be7e03de05dfaebde79c555

See more details on using hashes here.

Provenance

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

This release

0.0.16 This release

2 files

0.0.15

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