nab 0.0.1a0__py3-none-any.whl
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.
- nab/__init__.py +3 -0
- nab/__main__.py +6 -0
- nab/cli.py +10 -0
- nab/py.typed +0 -0
- nab-0.0.1a0.dist-info/METADATA +82 -0
- nab-0.0.1a0.dist-info/RECORD +9 -0
- nab-0.0.1a0.dist-info/WHEEL +4 -0
- nab-0.0.1a0.dist-info/entry_points.txt +2 -0
- nab-0.0.1a0.dist-info/licenses/LICENSE +21 -0
nab/__init__.py
ADDED
nab/__main__.py
ADDED
nab/cli.py
ADDED
nab/py.typed
ADDED
|
File without changes
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: nab
|
|
3
|
+
Version: 0.0.1a0
|
|
4
|
+
Summary: PubGrub-based dependency resolver for Python packages
|
|
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: nab-index==0.0.1a0
|
|
22
|
+
Requires-Dist: nab-python==0.0.1a0
|
|
23
|
+
Requires-Dist: nab-resolver==0.0.1a0
|
|
24
|
+
Requires-Dist: tyro>=1.0
|
|
25
|
+
Provides-Extra: httpx
|
|
26
|
+
Requires-Dist: nab-index[httpx]==0.0.1a0; extra == 'httpx'
|
|
27
|
+
Provides-Extra: niquests
|
|
28
|
+
Requires-Dist: nab-index[niquests]==0.0.1a0; extra == 'niquests'
|
|
29
|
+
Description-Content-Type: text/markdown
|
|
30
|
+
|
|
31
|
+
# nab
|
|
32
|
+
|
|
33
|
+
Experimental PubGrub-based dependency resolver for Python packages.
|
|
34
|
+
|
|
35
|
+
`nab` reads a `pyproject.toml`, resolves the dependency tree, and
|
|
36
|
+
writes a pinned set of versions or a PEP 751 lockfile. It does not
|
|
37
|
+
install. Hand the lockfile to whatever installer you trust.
|
|
38
|
+
|
|
39
|
+
## Install
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
uv tool install nab
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
`pipx install nab` is equivalent. See
|
|
46
|
+
[installation](docs/guides/installation.md) for HTTP backend choices,
|
|
47
|
+
throw-away invocations (`uvx nab`, `pipx run nab`), and a development
|
|
48
|
+
checkout.
|
|
49
|
+
|
|
50
|
+
## Quick start
|
|
51
|
+
|
|
52
|
+
```toml
|
|
53
|
+
# pyproject.toml
|
|
54
|
+
[project]
|
|
55
|
+
name = "example"
|
|
56
|
+
version = "0.1.0"
|
|
57
|
+
dependencies = [
|
|
58
|
+
"starlette<=0.36.0",
|
|
59
|
+
"fastapi<=0.115.2",
|
|
60
|
+
]
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
nab lock pyproject.toml
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Writes `pylock.toml` next to the project. For a sorted
|
|
68
|
+
`name==version` list instead, use
|
|
69
|
+
`nab lock --format requirements-without-hashes --output -`.
|
|
70
|
+
|
|
71
|
+
## Documentation
|
|
72
|
+
|
|
73
|
+
* [Getting started](docs/guides/getting-started.md)
|
|
74
|
+
* [Configuration](docs/guides/configuration.md)
|
|
75
|
+
* [CLI](docs/guides/cli.md)
|
|
76
|
+
* [Lockfile](docs/guides/lockfile.md)
|
|
77
|
+
* [Build policy](docs/guides/build-policy.md)
|
|
78
|
+
* [Local sources](docs/guides/local-sources.md)
|
|
79
|
+
* [VCS dependencies](docs/guides/vcs.md)
|
|
80
|
+
* [Multi-index routing](docs/guides/multi-index.md) (experimental)
|
|
81
|
+
* [Workspaces](docs/guides/workspaces.md) (experimental)
|
|
82
|
+
* [Universal resolution](docs/guides/universal.md) (experimental)
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
nab/__init__.py,sha256=TfYmTNpOA5hZ3eIElF21W2lMJ_1xSieoI-zKfyCWZTc,58
|
|
2
|
+
nab/__main__.py,sha256=8TDvp9Gt288ZZ0RtcgPQppyYMkdWXUuKEACK6G1mOec,103
|
|
3
|
+
nab/cli.py,sha256=WjMDUgPOV2KqAekUuYqDzdz-g5pd184lk3-qeclsq-s,229
|
|
4
|
+
nab/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
nab-0.0.1a0.dist-info/METADATA,sha256=xD6IFdb_HudqhfqpusI-3hYZ8Z1DH0FzZ5YZZppnHJU,2582
|
|
6
|
+
nab-0.0.1a0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
|
|
7
|
+
nab-0.0.1a0.dist-info/entry_points.txt,sha256=d8gnfTpdbf99HJRYjuO_8nklmE-gD9EStcYcLpM-Y9I,37
|
|
8
|
+
nab-0.0.1a0.dist-info/licenses/LICENSE,sha256=oec5WE-g9eYDBVwbDbyKHR7_zK67vUXRoikkrsZRuJ8,1068
|
|
9
|
+
nab-0.0.1a0.dist-info/RECORD,,
|
|
@@ -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.
|