Skip to main content

nab-provider

Apply Python packaging rules during dependency resolution. This package supplies candidate versions and their dependency constraints to nab-resolver, including environment markers and build, distribution, and VCS policies.

It performs no networking, file access, or subprocess calls.

Package listings and metadata arrive through nab_provider.fetch_port.FetchPort, an interface implemented by the application using the provider. That application is called the host; nab-project supplies it for the nab CLI. nab_provider.testing supplies an in-memory implementation for tests.

When to use it

Use nab-provider to embed nab's resolution in a host that already owns its networking and caching, keeping nab-index out of the import graph. Most users want nab instead.

Use nab_provider.ranges.VersionRange for root constraints and as the resolver's range_type. Pass root_version="0" and format_range=provider.format_range when constructing the resolver.

The API is experimental. Pin an exact version when embedding it.

Wheel tags

wheel_tag_set(filename) caches repeated filename queries. parse_wheel_tag_set(filename) shares parsing by tag suffix for bulk listings.

Value records

Nab's record constructors declare their fields explicitly. nab_provider.value shares value comparison and copying across the provider, index and project layers. Fixed fields use Final annotations; assignment is not checked at runtime. replace() calls the concrete constructor, including validation and derived fields:

from nab_provider.tags import PlatformSpec
from nab_provider.value import replace

platform = PlatformSpec("linux_x86_64")
platform = replace(platform, runs_on_libc=(2, 28))

Metadata

Release files for nab-provider 0.0.31

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nab-provider 0.0.31
File Size Uploaded Provenance Actions
nab_provider-0.0.31.tar.gz 451.0 kB With provenance Details for nab_provider-0.0.31.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nab-provider 0.0.31
File Interpreter ABI Platform Actions
nab_provider-0.0.31-py3-none-any.whl Python 3 none any Details for nab_provider-0.0.31-py3-none-any.whl

Total release size: 682.3 kB

Release files / nab_provider-0.0.31.tar.gz

Download URL nab_provider-0.0.31.tar.gz
Size 451.0 kB
Tags Source
SHA-256 checksum
How to use checksums
861a889376a1f78791a7d3d811aa6761c60f65c02b417bf32eeb77ab8c154088
BLAKE2b-256 checksum
How to use checksums
f9ba434ea696ed518b074dcd500cefe759d818d2ef6e5f6c758711abcacc341b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 24, 2026.

Transparency log

Release files / nab_provider-0.0.31-py3-none-any.whl

Download URL nab_provider-0.0.31-py3-none-any.whl
Size 231.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba6dfbaa0beccf1c9de31b5012d231689b757b21e837584b26cfcb3e25aaca98
BLAKE2b-256 checksum
How to use checksums
d0da53da6633437343cb963a7b8f701efda4e96ac956f5022343e97625af6bfb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 24, 2026.

Transparency log

Security for nab-provider 0.0.31

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for nab_provider-0.0.31.tar.gz

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 Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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