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

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.23
File Size Uploaded Provenance Actions
nab_provider-0.0.23.tar.gz 441.0 kB With provenance Details for nab_provider-0.0.23.tar.gz

Built distribution (wheel)

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

Total release size: 794.1 kB

Release files / nab_provider-0.0.23.tar.gz

Download URL nab_provider-0.0.23.tar.gz
Size 441.0 kB
Tags Source
SHA-256 checksum
How to use checksums
be51639dd663708893a73692382a8d71c9b77fc5544a7ecddc9415b28d39d814
BLAKE2b-256 checksum
How to use checksums
fa539e3078e0974694e00843ad0bc97dc377553b9a8da6243bf4fe485d04c3f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 26, 2026.

Transparency log

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

Download URL nab_provider-0.0.23-py3-none-any.whl
Size 353.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a84682523946995165b216f4f089970445c3eb278db940899c2cda1ef21c175
BLAKE2b-256 checksum
How to use checksums
19cbea4d485920de5a2d5629a287043fd6d06e566dcb313772b5b1ccdb558e49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 26, 2026.

Transparency log

Security for nab-provider 0.0.23

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.23.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 Oct 26, 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