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.

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.26

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.26
File Size Uploaded Provenance Actions
nab_provider-0.0.26.tar.gz 444.0 kB With provenance Details for nab_provider-0.0.26.tar.gz

Built distribution (wheel)

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

Total release size: 797.4 kB

Release files / nab_provider-0.0.26.tar.gz

Download URL nab_provider-0.0.26.tar.gz
Size 444.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a843aa86943797fd48652bf9379a27ae0e7b36fb015c66e33d7021578fbd1d74
BLAKE2b-256 checksum
How to use checksums
db9273da7c6a3fbf1049b15084a886b6c91546c24955ff816c2f60fddf33bb04
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 5, 2026.

Transparency log

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

Download URL nab_provider-0.0.26-py3-none-any.whl
Size 353.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1bbd52ae14815edee45ae845c97af3802ce742f3f146b52104648e77f52d5bea
BLAKE2b-256 checksum
How to use checksums
c191c5ab368f828ea6260005912e311a4e9f2f57c7aa335d448853a7f69c38ab
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 5, 2026.

Transparency log

Security for nab-provider 0.0.26

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.26.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 5, 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