Skip to main content

PyPI Simple-API client and on-disk cache for nab

Project description

nab-index

PyPI Simple-API client and on-disk cache used by nab-python and nab.

It provides:

  • A small async transport interface with three drop-in backends:
    • urllib3 (default; pulled in by the base install).
    • httpx (extra: nab-index[httpx]).
    • niquests (extra: nab-index[niquests]).
  • A Simple-API client with JSON and HTML decoders.
  • A disk cache for project listings and file metadata responses.
  • A multi-index router (ordered named indexes plus per-package overrides guarded by PEP 508 markers).
  • A small VCS clone helper used by the higher-level VCS policy.

When to use it

Use nab-index if you need a typed PyPI Simple-API client with an on-disk cache. Most users want nab instead.

The API is currently under rapid experimentation, if you use it pin to an exact version.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nab_index-0.0.1.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nab_index-0.0.1-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

Details for the file nab_index-0.0.1.tar.gz.

File metadata

  • Download URL: nab_index-0.0.1.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.14.0 HTTPX/0.28.1

File hashes

Hashes for nab_index-0.0.1.tar.gz
Algorithm Hash digest
SHA256 2392c7604b8f936a44b1e97f3586dd8c434cd44153f38774bca4aee2f8dbcb8c
MD5 a9b2ee244af38efcfb3e9ba3ee55e7a0
BLAKE2b-256 fc785a73640c6499714cccbf9e68dac43ee55d56a306b089ad6a08490eb845da

See more details on using hashes here.

File details

Details for the file nab_index-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: nab_index-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.14.0 HTTPX/0.28.1

File hashes

Hashes for nab_index-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 99ece9ebd55451670866732fabf0a776a59e118812cec805fde6babef6ce00bd
MD5 5a6c801bbb9e241db5d70c98895b059d
BLAKE2b-256 309a36d002fc73ac2ca2a811ba852917fcd091ca2ee493cdc3ded6b53c751891

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page