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

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.30
File Size Uploaded Provenance Actions
nab_provider-0.0.30.tar.gz 474.7 kB With provenance Details for nab_provider-0.0.30.tar.gz

Built distribution (wheel)

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

Total release size: 838.6 kB

Release files / nab_provider-0.0.30.tar.gz

Download URL nab_provider-0.0.30.tar.gz
Size 474.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4bcb3b3687896484d6d824a0345b66293423fd074dd7f6815d9535a52017cffd
BLAKE2b-256 checksum
How to use checksums
49df7f27b3a2e33e26bc662ed322e123af86ff79a33a849fd35e5217264e17b4
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 15, 2026.

Transparency log

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

Download URL nab_provider-0.0.30-py3-none-any.whl
Size 363.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c78f36f626b5548ec01fc944e4e2894a2c1c66d678462474d92d7e928773893
BLAKE2b-256 checksum
How to use checksums
c8beb2b67f3abb76b5c18d164b36c5afbd852247bb173d7fd5d689df2f82dcce
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 15, 2026.

Transparency log

Security for nab-provider 0.0.30

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.30.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 15, 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