python-nab-provider
Port variant v13
Summary IO-free resolution core for nab (3.13)
Package version 0.0.28
Homepage https://github.com/notatallshaw/nab
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v14
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 11 NOV 2026, 00:33:11 UTC
Port created 19 AUG 2026, 18:47:48 UTC
Subpackage Descriptions
single # 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: ```python 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)) ```
Configuration Switches (platform-specific settings discarded)
PY313 ON Build using Python 3.13 PY314 OFF Build using Python 3.14
Package Dependencies by Type
Build (only) python313:dev:std
python-pip:single:v13
autoselect-python:single:std
Build and Runtime python313:primary:std
Runtime (only) python-nab-markersets:single:v13
python-nab-resolver:single:v13
python-typing-extensions:single:v13
Download groups
main mirror://PYPIWHL/b7/ed/ae7eb4312ddc30ead7324ce19a8433c981cc55ebce0329e2077eb7772939
Distribution File Information
2831e530e59d660ede4139c18d4e440918ee53e14d97fd6ffa277ffd85803aa8 359690 python-src/nab_provider-0.0.28-py3-none-any.whl
Ports that require python-nab-provider:v13
python-nab-index:v13 Simple-API client and on-disk cache (3.13)