nab-index 0.0.1a0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Damian Shaw
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: nab-index
|
|
3
|
+
Version: 0.0.1a0
|
|
4
|
+
Summary: PyPI Simple-API client and on-disk cache for nab
|
|
5
|
+
Project-URL: Homepage, https://github.com/notatallshaw/nab
|
|
6
|
+
Project-URL: Documentation, https://nab.readthedocs.io/
|
|
7
|
+
Project-URL: Issues, https://github.com/notatallshaw/nab/issues
|
|
8
|
+
Project-URL: Source, https://github.com/notatallshaw/nab
|
|
9
|
+
Project-URL: Changelog, https://github.com/notatallshaw/nab/blob/main/CHANGELOG.md
|
|
10
|
+
Author-email: Damian Shaw <damian.peter.shaw@gmail.com>
|
|
11
|
+
License-Expression: MIT
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Typing :: Typed
|
|
20
|
+
Requires-Python: >=3.10
|
|
21
|
+
Requires-Dist: packaging>=24.0
|
|
22
|
+
Requires-Dist: urllib3>=2.0
|
|
23
|
+
Provides-Extra: httpx
|
|
24
|
+
Requires-Dist: httpx[http2]>=0.28; extra == 'httpx'
|
|
25
|
+
Provides-Extra: niquests
|
|
26
|
+
Requires-Dist: niquests>=3.18; extra == 'niquests'
|
|
27
|
+
Description-Content-Type: text/markdown
|
|
28
|
+
|
|
29
|
+
# nab-index
|
|
30
|
+
|
|
31
|
+
PyPI Simple-API client and on-disk cache used by
|
|
32
|
+
[`nab-python`](https://pypi.org/project/nab-python/) and
|
|
33
|
+
[`nab`](https://pypi.org/project/nab/).
|
|
34
|
+
|
|
35
|
+
## What is included
|
|
36
|
+
|
|
37
|
+
- A small async transport interface with three drop-in backends:
|
|
38
|
+
- `urllib3` (default; pulled in by the base install).
|
|
39
|
+
- `httpx` (extra: `nab-index[httpx]`).
|
|
40
|
+
- `niquests` (extra: `nab-index[niquests]`).
|
|
41
|
+
- A PEP 503 / PEP 691 Simple-API client with JSON and HTML decoders.
|
|
42
|
+
- A content-addressed disk cache for project listings and file
|
|
43
|
+
metadata responses.
|
|
44
|
+
- A multi-index router (ordered named indexes plus per-package
|
|
45
|
+
overrides guarded by PEP 508 markers).
|
|
46
|
+
- A small VCS clone helper used by the higher-level VCS policy.
|
|
47
|
+
|
|
48
|
+
## When to use it
|
|
49
|
+
|
|
50
|
+
Use `nab-index` if you need a typed PyPI Simple-API client with an
|
|
51
|
+
on-disk cache. Most users want
|
|
52
|
+
[`nab`](https://pypi.org/project/nab/) instead.
|
|
53
|
+
|
|
54
|
+
## Status
|
|
55
|
+
|
|
56
|
+
Pre-1.0.
|
|
57
|
+
|
|
58
|
+
## License
|
|
59
|
+
|
|
60
|
+
MIT. See `LICENSE` in the workspace root.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# nab-index
|
|
2
|
+
|
|
3
|
+
PyPI Simple-API client and on-disk cache used by
|
|
4
|
+
[`nab-python`](https://pypi.org/project/nab-python/) and
|
|
5
|
+
[`nab`](https://pypi.org/project/nab/).
|
|
6
|
+
|
|
7
|
+
## What is included
|
|
8
|
+
|
|
9
|
+
- A small async transport interface with three drop-in backends:
|
|
10
|
+
- `urllib3` (default; pulled in by the base install).
|
|
11
|
+
- `httpx` (extra: `nab-index[httpx]`).
|
|
12
|
+
- `niquests` (extra: `nab-index[niquests]`).
|
|
13
|
+
- A PEP 503 / PEP 691 Simple-API client with JSON and HTML decoders.
|
|
14
|
+
- A content-addressed disk cache for project listings and file
|
|
15
|
+
metadata responses.
|
|
16
|
+
- A multi-index router (ordered named indexes plus per-package
|
|
17
|
+
overrides guarded by PEP 508 markers).
|
|
18
|
+
- A small VCS clone helper used by the higher-level VCS policy.
|
|
19
|
+
|
|
20
|
+
## When to use it
|
|
21
|
+
|
|
22
|
+
Use `nab-index` if you need a typed PyPI Simple-API client with an
|
|
23
|
+
on-disk cache. Most users want
|
|
24
|
+
[`nab`](https://pypi.org/project/nab/) instead.
|
|
25
|
+
|
|
26
|
+
## Status
|
|
27
|
+
|
|
28
|
+
Pre-1.0.
|
|
29
|
+
|
|
30
|
+
## License
|
|
31
|
+
|
|
32
|
+
MIT. See `LICENSE` in the workspace root.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "nab-index"
|
|
3
|
+
version = "0.0.1a0"
|
|
4
|
+
description = "PyPI Simple-API client and on-disk cache for nab"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
license-files = ["LICENSE"]
|
|
8
|
+
authors = [
|
|
9
|
+
{ name = "Damian Shaw", email = "damian.peter.shaw@gmail.com" },
|
|
10
|
+
]
|
|
11
|
+
requires-python = ">=3.10"
|
|
12
|
+
classifiers = [
|
|
13
|
+
"Development Status :: 4 - Beta",
|
|
14
|
+
"Programming Language :: Python :: 3",
|
|
15
|
+
"Programming Language :: Python :: 3.10",
|
|
16
|
+
"Programming Language :: Python :: 3.11",
|
|
17
|
+
"Programming Language :: Python :: 3.12",
|
|
18
|
+
"Programming Language :: Python :: 3.13",
|
|
19
|
+
"Typing :: Typed",
|
|
20
|
+
]
|
|
21
|
+
dependencies = [
|
|
22
|
+
"packaging>=24.0",
|
|
23
|
+
"urllib3>=2.0",
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
[project.optional-dependencies]
|
|
27
|
+
httpx = ["httpx[http2]>=0.28"]
|
|
28
|
+
niquests = ["niquests>=3.18"]
|
|
29
|
+
|
|
30
|
+
[project.urls]
|
|
31
|
+
Homepage = "https://github.com/notatallshaw/nab"
|
|
32
|
+
Documentation = "https://nab.readthedocs.io/"
|
|
33
|
+
Issues = "https://github.com/notatallshaw/nab/issues"
|
|
34
|
+
Source = "https://github.com/notatallshaw/nab"
|
|
35
|
+
Changelog = "https://github.com/notatallshaw/nab/blob/main/CHANGELOG.md"
|
|
36
|
+
|
|
37
|
+
[build-system]
|
|
38
|
+
requires = ["hatchling"]
|
|
39
|
+
build-backend = "hatchling.build"
|
|
File without changes
|