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.2.tar.gz (19.7 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.2-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nab_index-0.0.2.tar.gz
  • Upload date:
  • Size: 19.7 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.2.tar.gz
Algorithm Hash digest
SHA256 39da2c5190fa0a5261cb2335efa640e99bdae52150d81a1c6e97a210c341d335
MD5 47b877912847bf4e088bbf0036b21804
BLAKE2b-256 38100d01148699925e49e7a397cef3b6d27b0d6e15c3ee2b56afd3b595448afb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nab_index-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 26.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 14b07babe2a09eb846a1c6fd8ec289dbcd62cfc2dcedab2f0bc616effebeb3e8
MD5 5fafb2d37096884b175d119c1df1ff28
BLAKE2b-256 fcb07fb455cd20ebcfa0503bd6e553c2ebf99bed84a5f25a152674cd4f716659

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