nab-resolver 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,56 @@
1
+ Metadata-Version: 2.4
2
+ Name: nab-resolver
3
+ Version: 0.0.1a0
4
+ Summary: Generic PubGrub dependency-resolver core
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
+ Description-Content-Type: text/markdown
22
+
23
+ # nab-resolver
24
+
25
+ Generic PubGrub dependency resolver, parameterised over a
26
+ `ResolverProvider` protocol. No Python-specific knowledge: this
27
+ package is a SAT-style solver core. The Python provider lives in
28
+ [`nab-python`](https://pypi.org/project/nab-python/) and the
29
+ user-facing CLI in [`nab`](https://pypi.org/project/nab/).
30
+
31
+ ## What is included
32
+
33
+ - Unit propagation with a cached decision-level lookup.
34
+ - Conflict-driven clause learning with non-chronological backjumping.
35
+ - Optimistic backjumping under culprit-count thresholds.
36
+ - Targeted backtracking that demotes the suspected culprit's priority.
37
+ - Dependency-clause merging across siblings of the same parent.
38
+ - A `Range` reference type and a `RangeProtocol` extension point so
39
+ callers can plug in a domain-specific version-set algebra.
40
+
41
+ ## When to use it
42
+
43
+ Pick `nab-resolver` if you are building a resolver for some
44
+ non-Python ecosystem and want a PubGrub core with a small surface
45
+ area. For Python package resolution use the higher levels of the
46
+ stack instead.
47
+
48
+ ## Status
49
+
50
+ Pre-1.0. The public API is the `Resolver` class plus the
51
+ `ResolverProvider` protocol, the `Range` and `Term` types, and the
52
+ `ResolutionError` exception. Everything else is internal.
53
+
54
+ ## License
55
+
56
+ MIT. See `LICENSE` in the workspace root.
@@ -0,0 +1,34 @@
1
+ # nab-resolver
2
+
3
+ Generic PubGrub dependency resolver, parameterised over a
4
+ `ResolverProvider` protocol. No Python-specific knowledge: this
5
+ package is a SAT-style solver core. The Python provider lives in
6
+ [`nab-python`](https://pypi.org/project/nab-python/) and the
7
+ user-facing CLI in [`nab`](https://pypi.org/project/nab/).
8
+
9
+ ## What is included
10
+
11
+ - Unit propagation with a cached decision-level lookup.
12
+ - Conflict-driven clause learning with non-chronological backjumping.
13
+ - Optimistic backjumping under culprit-count thresholds.
14
+ - Targeted backtracking that demotes the suspected culprit's priority.
15
+ - Dependency-clause merging across siblings of the same parent.
16
+ - A `Range` reference type and a `RangeProtocol` extension point so
17
+ callers can plug in a domain-specific version-set algebra.
18
+
19
+ ## When to use it
20
+
21
+ Pick `nab-resolver` if you are building a resolver for some
22
+ non-Python ecosystem and want a PubGrub core with a small surface
23
+ area. For Python package resolution use the higher levels of the
24
+ stack instead.
25
+
26
+ ## Status
27
+
28
+ Pre-1.0. The public API is the `Resolver` class plus the
29
+ `ResolverProvider` protocol, the `Range` and `Term` types, and the
30
+ `ResolutionError` exception. Everything else is internal.
31
+
32
+ ## License
33
+
34
+ MIT. See `LICENSE` in the workspace root.
@@ -0,0 +1,32 @@
1
+ [project]
2
+ name = "nab-resolver"
3
+ version = "0.0.1a0"
4
+ description = "Generic PubGrub dependency-resolver core"
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
+
23
+ [project.urls]
24
+ Homepage = "https://github.com/notatallshaw/nab"
25
+ Documentation = "https://nab.readthedocs.io/"
26
+ Issues = "https://github.com/notatallshaw/nab/issues"
27
+ Source = "https://github.com/notatallshaw/nab"
28
+ Changelog = "https://github.com/notatallshaw/nab/blob/main/CHANGELOG.md"
29
+
30
+ [build-system]
31
+ requires = ["hatchling"]
32
+ build-backend = "hatchling.build"
@@ -0,0 +1,3 @@
1
+ """nab-resolver: stub release 0.0.1a0."""
2
+
3
+ __version__ = "0.0.1a0"
File without changes