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

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.28
File Size Uploaded Provenance Actions
nab_provider-0.0.28.tar.gz 465.8 kB With provenance Details for nab_provider-0.0.28.tar.gz

Built distribution (wheel)

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

Total release size: 825.5 kB

Release files / nab_provider-0.0.28.tar.gz

Download URL nab_provider-0.0.28.tar.gz
Size 465.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e8ea091425697fbf12b5066145e2a30d4dbce83dbe161afbdc957821612d7bf3
BLAKE2b-256 checksum
How to use checksums
9c7a79de8d2ed20b84088b00d349205205ab973635a1b648330890a06ddd863f
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 10, 2026.

Transparency log

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

Download URL nab_provider-0.0.28-py3-none-any.whl
Size 359.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2831e530e59d660ede4139c18d4e440918ee53e14d97fd6ffa277ffd85803aa8
BLAKE2b-256 checksum
How to use checksums
b7edae7eb4312ddc30ead7324ce19a8433c981cc55ebce0329e2077eb7772939
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 10, 2026.

Transparency log

Security for nab-provider 0.0.28

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.28.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 10, 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