wellman 0.20.32__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.
- wellman-0.20.32/PKG-INFO +69 -0
- wellman-0.20.32/README.md +52 -0
- wellman-0.20.32/pyproject.toml +34 -0
- wellman-0.20.32/setup.cfg +4 -0
- wellman-0.20.32/src/wellman/__init__.py +16 -0
- wellman-0.20.32/src/wellman/__main__.py +4 -0
- wellman-0.20.32/src/wellman/_bundled/__init__.py +1 -0
- wellman-0.20.32/src/wellman/_bundled/governance_check.py +4648 -0
- wellman-0.20.32/src/wellman/check.py +52 -0
- wellman-0.20.32/src/wellman.egg-info/PKG-INFO +69 -0
- wellman-0.20.32/src/wellman.egg-info/SOURCES.txt +12 -0
- wellman-0.20.32/src/wellman.egg-info/dependency_links.txt +1 -0
- wellman-0.20.32/src/wellman.egg-info/entry_points.txt +2 -0
- wellman-0.20.32/src/wellman.egg-info/top_level.txt +1 -0
wellman-0.20.32/PKG-INFO
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: wellman
|
|
3
|
+
Version: 0.20.32
|
|
4
|
+
Summary: Wellmanifest governance gate runtime — deterministic policy-as-code checker
|
|
5
|
+
Author: wellmanifest
|
|
6
|
+
License: MIT
|
|
7
|
+
Keywords: governance,policy-as-code,wellmanifest,standard
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Requires-Python: >=3.11
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
|
|
18
|
+
# wellman
|
|
19
|
+
|
|
20
|
+
Wellmanifest governance gate runtime — deterministic policy-as-code checker.
|
|
21
|
+
|
|
22
|
+
Distributes `governance_check.py` as an installable Python package instead of
|
|
23
|
+
vendoring 187KB+ scripts into every adopting repository.
|
|
24
|
+
|
|
25
|
+
## Install
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
uv add --group governance wellman
|
|
29
|
+
# or
|
|
30
|
+
pip install wellman
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Usage
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
# CLI
|
|
37
|
+
wellman check --root /path/to/repo
|
|
38
|
+
|
|
39
|
+
# Module
|
|
40
|
+
python -m wellman check --root /path/to/repo
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
```python
|
|
44
|
+
# Programmatic
|
|
45
|
+
from wellman.check import run_check
|
|
46
|
+
exit_code = run_check(root="/path/to/repo")
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Pre-commit hook integration
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
# In .githooks/pre-commit:
|
|
53
|
+
REQUIRED=$(python3 -c "import tomllib; print(tomllib.load(open('pyproject.toml','rb'))['tool']['wellmanifest']['standard'])")
|
|
54
|
+
uv pip install "wellman==${REQUIRED}" --quiet
|
|
55
|
+
python -m wellman check --root . --preflight
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## CI reusable workflow
|
|
59
|
+
|
|
60
|
+
```yaml
|
|
61
|
+
# .github/workflows/governance.yml
|
|
62
|
+
jobs:
|
|
63
|
+
governance:
|
|
64
|
+
uses: wellmanifest/new-project/.github/workflows/governance-gate-reusable.yml@v0.20.32
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Source
|
|
68
|
+
|
|
69
|
+
Part of [wellmanifest/new-project](https://github.com/wellmanifest/new-project).
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# wellman
|
|
2
|
+
|
|
3
|
+
Wellmanifest governance gate runtime — deterministic policy-as-code checker.
|
|
4
|
+
|
|
5
|
+
Distributes `governance_check.py` as an installable Python package instead of
|
|
6
|
+
vendoring 187KB+ scripts into every adopting repository.
|
|
7
|
+
|
|
8
|
+
## Install
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
uv add --group governance wellman
|
|
12
|
+
# or
|
|
13
|
+
pip install wellman
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
# CLI
|
|
20
|
+
wellman check --root /path/to/repo
|
|
21
|
+
|
|
22
|
+
# Module
|
|
23
|
+
python -m wellman check --root /path/to/repo
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
```python
|
|
27
|
+
# Programmatic
|
|
28
|
+
from wellman.check import run_check
|
|
29
|
+
exit_code = run_check(root="/path/to/repo")
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Pre-commit hook integration
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
# In .githooks/pre-commit:
|
|
36
|
+
REQUIRED=$(python3 -c "import tomllib; print(tomllib.load(open('pyproject.toml','rb'))['tool']['wellmanifest']['standard'])")
|
|
37
|
+
uv pip install "wellman==${REQUIRED}" --quiet
|
|
38
|
+
python -m wellman check --root . --preflight
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## CI reusable workflow
|
|
42
|
+
|
|
43
|
+
```yaml
|
|
44
|
+
# .github/workflows/governance.yml
|
|
45
|
+
jobs:
|
|
46
|
+
governance:
|
|
47
|
+
uses: wellmanifest/new-project/.github/workflows/governance-gate-reusable.yml@v0.20.32
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Source
|
|
51
|
+
|
|
52
|
+
Part of [wellmanifest/new-project](https://github.com/wellmanifest/new-project).
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "wellman"
|
|
7
|
+
version = "0.20.32"
|
|
8
|
+
description = "Wellmanifest governance gate runtime — deterministic policy-as-code checker"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.11"
|
|
11
|
+
license = {text = "MIT"}
|
|
12
|
+
authors = [{name = "wellmanifest"}]
|
|
13
|
+
keywords = ["governance", "policy-as-code", "wellmanifest", "standard"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 4 - Beta",
|
|
16
|
+
"Intended Audience :: Developers",
|
|
17
|
+
"Topic :: Software Development :: Quality Assurance",
|
|
18
|
+
"Programming Language :: Python :: 3",
|
|
19
|
+
"Programming Language :: Python :: 3.11",
|
|
20
|
+
"Programming Language :: Python :: 3.12",
|
|
21
|
+
"Programming Language :: Python :: 3.13",
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
[project.scripts]
|
|
25
|
+
wellman = "wellman.check:main"
|
|
26
|
+
|
|
27
|
+
[tool.setuptools]
|
|
28
|
+
package-dir = {"" = "src"}
|
|
29
|
+
|
|
30
|
+
[tool.setuptools.packages.find]
|
|
31
|
+
where = ["src"]
|
|
32
|
+
|
|
33
|
+
[tool.setuptools.package-data]
|
|
34
|
+
wellman = ["_bundled/*.py"]
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"""Wellmanifest governance gate runtime — ``wellman``.
|
|
2
|
+
|
|
3
|
+
Distributes the deterministic governance checker as an installable package
|
|
4
|
+
instead of vendoring 187KB+ scripts into every adopting repository.
|
|
5
|
+
|
|
6
|
+
Usage::
|
|
7
|
+
|
|
8
|
+
python -m wellman check --root /path/to/repo
|
|
9
|
+
wellman check --root /path/to/repo
|
|
10
|
+
"""
|
|
11
|
+
from importlib.metadata import version as _version
|
|
12
|
+
|
|
13
|
+
try:
|
|
14
|
+
__version__ = _version("wellman")
|
|
15
|
+
except Exception:
|
|
16
|
+
__version__ = "0.0.0-dev"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Bundled governance scripts.
|