create-pyproj 2.2.0__tar.gz → 2.3.0__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.
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/PKG-INFO +6 -6
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/README.md +5 -5
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/pyproject.toml +2 -3
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/pyproject.toml.orig +2 -3
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/__init__.py +1 -1
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/AGENTS.md.tmpl +2 -2
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/README.md.tmpl +3 -3
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/docs/index.md.tmpl +1 -1
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/docs/references.md.tmpl +1 -1
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/mise.toml.tmpl +2 -2
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/pyproject.toml.tmpl +1 -2
- create_pyproj-2.3.0/src/create_pyproj/templates/base/zensical.toml.tmpl +15 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/versions.py +1 -2
- create_pyproj-2.2.0/src/create_pyproj/templates/base/mkdocs.yml.tmpl +0 -14
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/main.py +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/scaffold.py +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templater.py +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/.env.example.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/.gitignore.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/.pre-commit-config.yaml.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/.python-version.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/.vscode/extensions.json.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/.vscode/settings.json.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/docs/api.md.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/docs/approach.md.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/docs/data-models.md.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/docs/domain-map.yml.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/docs/domain-model.md.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/docs/implementation.md.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/docs/topology.md.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/docs/use-cases.md.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/renovate.json.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/src/${package_name}/__init__.py.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/src/${package_name}/application/__init__.py.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/src/${package_name}/domain/__init__.py.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/src/${package_name}/infrastructure/__init__.py.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/test/test_package.py.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/ci/github/.github/workflows/ci.yml.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/ci/gitlab/.gitlab-ci.yml.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/infra/terraform/terraform/README.md.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/infra/terraform/terraform/_config.tf.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/infra/terraform/terraform/main.tf.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/infra/terraform/terraform/outputs.tf.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/infra/terraform/terraform/variables.tf.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/interfaces/cli/src/${package_name}/cli.py.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/interfaces/cli/src/main.py.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/interfaces/cli/test/test_cli.py.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/interfaces/web/src/${package_name}/ui/__init__.py.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/interfaces/web/src/${package_name}/ui/static/app.css +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/interfaces/web/src/${package_name}/ui/templates/_greeting.html.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/interfaces/web/src/${package_name}/ui/templates/base.html.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/interfaces/web/src/${package_name}/ui/templates/index.html.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/interfaces/web/src/${package_name}/web.py.tmpl +0 -0
- {create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/interfaces/web/test/test_web.py.tmpl +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: create-pyproj
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.0
|
|
4
4
|
Summary: Scaffold uv-first Python projects with a DDD and hexagonal baseline.
|
|
5
5
|
Requires-Dist: mako>=1.3.5
|
|
6
6
|
Requires-Python: >=3.11
|
|
@@ -10,7 +10,7 @@ Description-Content-Type: text/markdown
|
|
|
10
10
|
|
|
11
11
|
`create-pyproj` scaffolds canonical Python projects with a `uv`-first workflow,
|
|
12
12
|
semantic-release, DDD and hexagonal defaults, optional CLI and web stubs,
|
|
13
|
-
starter
|
|
13
|
+
starter Zensical documentation, and an `AGENTS.md` tuned for the canonical
|
|
14
14
|
engineering skills.
|
|
15
15
|
|
|
16
16
|
## What It Generates
|
|
@@ -22,7 +22,7 @@ The default scaffold includes:
|
|
|
22
22
|
- `mise.toml` with pinned tools and common tasks; it is the one source for the Python and uv versions, locally and in GitHub CI
|
|
23
23
|
- semantic-release configuration for version stamping in `pyproject.toml` and `src/<package>/__init__.py`
|
|
24
24
|
- `src/<package>` with `domain`, `application`, and `infrastructure` package structure
|
|
25
|
-
- `docs/` plus `
|
|
25
|
+
- `docs/` plus `zensical.toml`
|
|
26
26
|
- `AGENTS.md`
|
|
27
27
|
- `.vscode/`, `.pre-commit-config.yaml`, and `.env.example`
|
|
28
28
|
- `test/` with starter tests for each generated adapter
|
|
@@ -83,7 +83,7 @@ The generated project is intended to:
|
|
|
83
83
|
- provide structure without inventing sample business behavior
|
|
84
84
|
- include the same semantic-release approach used elsewhere in this workspace
|
|
85
85
|
- add Terraform only when requested for a deployable service
|
|
86
|
-
- document the architecture and domain through
|
|
86
|
+
- document the architecture and domain through Zensical
|
|
87
87
|
- include an `AGENTS.md` that points contributors at the canonical skills
|
|
88
88
|
|
|
89
89
|
## Development
|
|
@@ -116,8 +116,8 @@ option and runs its own gates; it needs the network.
|
|
|
116
116
|
|
|
117
117
|
## Docs
|
|
118
118
|
|
|
119
|
-
This repo
|
|
120
|
-
|
|
119
|
+
This repo's own Zensical docs live under `docs/`, with navigation configured in
|
|
120
|
+
`zensical.toml`.
|
|
121
121
|
|
|
122
122
|
```bash
|
|
123
123
|
mise run docs
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
`create-pyproj` scaffolds canonical Python projects with a `uv`-first workflow,
|
|
4
4
|
semantic-release, DDD and hexagonal defaults, optional CLI and web stubs,
|
|
5
|
-
starter
|
|
5
|
+
starter Zensical documentation, and an `AGENTS.md` tuned for the canonical
|
|
6
6
|
engineering skills.
|
|
7
7
|
|
|
8
8
|
## What It Generates
|
|
@@ -14,7 +14,7 @@ The default scaffold includes:
|
|
|
14
14
|
- `mise.toml` with pinned tools and common tasks; it is the one source for the Python and uv versions, locally and in GitHub CI
|
|
15
15
|
- semantic-release configuration for version stamping in `pyproject.toml` and `src/<package>/__init__.py`
|
|
16
16
|
- `src/<package>` with `domain`, `application`, and `infrastructure` package structure
|
|
17
|
-
- `docs/` plus `
|
|
17
|
+
- `docs/` plus `zensical.toml`
|
|
18
18
|
- `AGENTS.md`
|
|
19
19
|
- `.vscode/`, `.pre-commit-config.yaml`, and `.env.example`
|
|
20
20
|
- `test/` with starter tests for each generated adapter
|
|
@@ -75,7 +75,7 @@ The generated project is intended to:
|
|
|
75
75
|
- provide structure without inventing sample business behavior
|
|
76
76
|
- include the same semantic-release approach used elsewhere in this workspace
|
|
77
77
|
- add Terraform only when requested for a deployable service
|
|
78
|
-
- document the architecture and domain through
|
|
78
|
+
- document the architecture and domain through Zensical
|
|
79
79
|
- include an `AGENTS.md` that points contributors at the canonical skills
|
|
80
80
|
|
|
81
81
|
## Development
|
|
@@ -108,8 +108,8 @@ option and runs its own gates; it needs the network.
|
|
|
108
108
|
|
|
109
109
|
## Docs
|
|
110
110
|
|
|
111
|
-
This repo
|
|
112
|
-
|
|
111
|
+
This repo's own Zensical docs live under `docs/`, with navigation configured in
|
|
112
|
+
`zensical.toml`.
|
|
113
113
|
|
|
114
114
|
```bash
|
|
115
115
|
mise run docs
|
|
@@ -4,7 +4,7 @@ build-backend = "uv_build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "create-pyproj"
|
|
7
|
-
version = "2.
|
|
7
|
+
version = "2.3.0"
|
|
8
8
|
description = "Scaffold uv-first Python projects with a DDD and hexagonal baseline."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
@@ -79,8 +79,7 @@ dev = [
|
|
|
79
79
|
"httpx2>=2.16.2",
|
|
80
80
|
"jinja2>=3.1.4",
|
|
81
81
|
"python-multipart>=0.0.9",
|
|
82
|
-
"
|
|
83
|
-
"mkdocs-material",
|
|
82
|
+
"zensical>=0.1.4",
|
|
84
83
|
"pre-commit>=4.0.1",
|
|
85
84
|
"python-semantic-release",
|
|
86
85
|
"pytest",
|
|
@@ -4,7 +4,7 @@ build-backend = "uv_build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "create-pyproj"
|
|
7
|
-
version = "2.
|
|
7
|
+
version = "2.3.0"
|
|
8
8
|
description = "Scaffold uv-first Python projects with a DDD and hexagonal baseline."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
@@ -60,8 +60,7 @@ dev = [
|
|
|
60
60
|
"httpx2>=2.16.2",
|
|
61
61
|
"jinja2>=3.1.4",
|
|
62
62
|
"python-multipart>=0.0.9",
|
|
63
|
-
"
|
|
64
|
-
"mkdocs-material",
|
|
63
|
+
"zensical>=0.1.4",
|
|
65
64
|
"pre-commit>=4.0.1",
|
|
66
65
|
"python-semantic-release",
|
|
67
66
|
"pytest",
|
|
@@ -10,7 +10,7 @@ Work on this repo with the canonical skill set. Pick by the outcome requested:
|
|
|
10
10
|
- `define-concept`: framing or validating a product, venture or project concept and its assumptions.
|
|
11
11
|
- `learn-from-users`: capturing and synthesising user evidence into records that feed product decisions.
|
|
12
12
|
- `create-engineering-artefact`: source-faithful PDF-to-Markdown conversion or Given/When/Then acceptance scenarios, only when explicitly requested.
|
|
13
|
-
- `deliver-repository`: README and
|
|
13
|
+
- `deliver-repository`: README and docs-site alignment, commit and MR/PR wording, release hygiene and secret handling.
|
|
14
14
|
- `style-editor`: prose-only edits to wording, register or voice of supplied text.
|
|
15
15
|
|
|
16
16
|
## Golden rule: notes to the machine
|
|
@@ -38,5 +38,5 @@ and similar material written for agents or contributors.
|
|
|
38
38
|
- UI handlers return a fragment when the request carries `HX-Request` and the full page otherwise. Keep that branch so forms work without JavaScript.
|
|
39
39
|
- Render user input through Jinja2 templates rather than assembling HTML in Python; autoescaping is what keeps submitted markup inert.
|
|
40
40
|
% endif
|
|
41
|
-
- Keep `docs/` and `
|
|
41
|
+
- Keep `docs/` and `zensical.toml` aligned with the implementation.
|
|
42
42
|
- Renovate (`renovate.json`) keeps dependencies, mise tools and hooks current. Pin new tools to an exact version, never `latest`. Move to a new Python minor by hand, once its x.y.1 release is out.
|
|
@@ -116,14 +116,14 @@ working offline and under a strict content-security policy.
|
|
|
116
116
|
|
|
117
117
|
- Keep new behavior behind the application layer and injected ports.
|
|
118
118
|
- Add infrastructure adapters without leaking framework details into the domain.
|
|
119
|
-
- Update `docs/` and `
|
|
119
|
+
- Update `docs/` and `zensical.toml` when the project structure or behavior changes.
|
|
120
120
|
- Use the guidance in `AGENTS.md` to keep implementation and documentation consistent.
|
|
121
121
|
|
|
122
122
|
## Documentation
|
|
123
123
|
|
|
124
|
-
This scaffold includes a starter
|
|
124
|
+
This scaffold includes a starter Zensical setup:
|
|
125
125
|
|
|
126
|
-
- `
|
|
126
|
+
- `zensical.toml` defines the site navigation.
|
|
127
127
|
- `docs/index.md` gives the project overview.
|
|
128
128
|
- `docs/topology.md` shows the architectural shape.
|
|
129
129
|
- `docs/domain-model.md` and `docs/domain-map.yml` document the DDD model.
|
{create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/docs/references.md.tmpl
RENAMED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
|
|
3
3
|
- `README.md` for setup and day-to-day development commands.
|
|
4
4
|
- `AGENTS.md` for the canonical skills and engineering workflow.
|
|
5
|
-
- `
|
|
5
|
+
- `zensical.toml` for documentation navigation and theme configuration.
|
|
6
6
|
- `pyproject.toml` for runtime and development dependencies.
|
|
@@ -41,8 +41,8 @@ description = "Run Python tests"
|
|
|
41
41
|
run = "uv run pytest"
|
|
42
42
|
|
|
43
43
|
[tasks.docs]
|
|
44
|
-
description = "Run
|
|
45
|
-
run = "uv run
|
|
44
|
+
description = "Run Zensical locally"
|
|
45
|
+
run = "uv run zensical serve"
|
|
46
46
|
% if has_cli:
|
|
47
47
|
|
|
48
48
|
[tasks.run-cli]
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
site_name = ${project_title | quoted}
|
|
3
|
+
site_description = ${description | quoted}
|
|
4
|
+
docs_dir = "docs"
|
|
5
|
+
nav = [
|
|
6
|
+
{ "Overview" = "index.md" },
|
|
7
|
+
{ "Approach" = "approach.md" },
|
|
8
|
+
{ "Topology" = "topology.md" },
|
|
9
|
+
{ "Domain Model" = "domain-model.md" },
|
|
10
|
+
{ "API" = "api.md" },
|
|
11
|
+
{ "Data Models" = "data-models.md" },
|
|
12
|
+
{ "Use Cases" = "use-cases.md" },
|
|
13
|
+
{ "Implementation" = "implementation.md" },
|
|
14
|
+
{ "References" = "references.md" },
|
|
15
|
+
]
|
|
@@ -51,8 +51,6 @@ REQUIREMENTS: Final[dict[str, str]] = {
|
|
|
51
51
|
"httpx2": "httpx2>=2.16.2",
|
|
52
52
|
"hypothesis": "hypothesis>=6.170.15",
|
|
53
53
|
"jinja2": "jinja2>=3.1.6",
|
|
54
|
-
"mkdocs": "mkdocs>=1.6.1",
|
|
55
|
-
"mkdocs-material": "mkdocs-material>=9.8.1",
|
|
56
54
|
"pre-commit": "pre-commit>=4.7.0",
|
|
57
55
|
"pydantic": "pydantic>=2.14.3",
|
|
58
56
|
"pytest": "pytest>=9.2.0",
|
|
@@ -64,5 +62,6 @@ REQUIREMENTS: Final[dict[str, str]] = {
|
|
|
64
62
|
"uvicorn": "uvicorn>=0.54.0",
|
|
65
63
|
# uv_build releases in lockstep with uv, so it follows the UV pin.
|
|
66
64
|
"uv_build": f"uv_build>={UV},<{_next_minor(UV)}",
|
|
65
|
+
"zensical": "zensical>=0.1.4",
|
|
67
66
|
}
|
|
68
67
|
"""PEP 508 requirement strings, keyed by distribution name."""
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
site_name: ${project_title | quoted}
|
|
2
|
-
site_description: ${description | quoted}
|
|
3
|
-
theme:
|
|
4
|
-
name: material
|
|
5
|
-
nav:
|
|
6
|
-
- Overview: index.md
|
|
7
|
-
- Approach: approach.md
|
|
8
|
-
- Topology: topology.md
|
|
9
|
-
- Domain Model: domain-model.md
|
|
10
|
-
- API: api.md
|
|
11
|
-
- Data Models: data-models.md
|
|
12
|
-
- Use Cases: use-cases.md
|
|
13
|
-
- Implementation: implementation.md
|
|
14
|
-
- References: references.md
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/.env.example.tmpl
RENAMED
|
File without changes
|
{create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/.gitignore.tmpl
RENAMED
|
File without changes
|
|
File without changes
|
{create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/.python-version.tmpl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/docs/api.md.tmpl
RENAMED
|
File without changes
|
{create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/docs/approach.md.tmpl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/docs/topology.md.tmpl
RENAMED
|
File without changes
|
{create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/docs/use-cases.md.tmpl
RENAMED
|
File without changes
|
{create_pyproj-2.2.0 → create_pyproj-2.3.0}/src/create_pyproj/templates/base/renovate.json.tmpl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|