decretum 0.0.1__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.
- decretum-0.0.1/.github/workflows/publish.yml +36 -0
- decretum-0.0.1/.gitignore +7 -0
- decretum-0.0.1/LICENSE +14 -0
- decretum-0.0.1/PKG-INFO +27 -0
- decretum-0.0.1/README.md +10 -0
- decretum-0.0.1/TEMPLATE_GUIDE.md +141 -0
- decretum-0.0.1/pyproject.toml +31 -0
- decretum-0.0.1/src/decretum/__init__.py +3 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- 'v*'
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
publish:
|
|
10
|
+
name: Build and publish
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
environment: pypi
|
|
13
|
+
permissions:
|
|
14
|
+
id-token: write # Required for OIDC trusted publishing
|
|
15
|
+
|
|
16
|
+
steps:
|
|
17
|
+
- name: Checkout
|
|
18
|
+
uses: actions/checkout@v4
|
|
19
|
+
|
|
20
|
+
- name: Set up Python 3.11
|
|
21
|
+
uses: actions/setup-python@v5
|
|
22
|
+
with:
|
|
23
|
+
python-version: '3.11'
|
|
24
|
+
|
|
25
|
+
- name: Install build
|
|
26
|
+
run: pip install build hatchling
|
|
27
|
+
|
|
28
|
+
- name: Clean dist
|
|
29
|
+
run: rm -rf dist build *.egg-info
|
|
30
|
+
|
|
31
|
+
- name: Build package
|
|
32
|
+
run: python -m build
|
|
33
|
+
|
|
34
|
+
- name: Publish to PyPI
|
|
35
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
36
|
+
# No token needed — PyPI identity verified via OIDC
|
decretum-0.0.1/LICENSE
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Proprietary Software License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Strategos Pty Ltd. All rights reserved.
|
|
4
|
+
|
|
5
|
+
This software and associated documentation files are the proprietary and
|
|
6
|
+
confidential property of Strategos Pty Ltd. Unauthorised copying, distribution,
|
|
7
|
+
modification, public display, or public performance of this software, whether
|
|
8
|
+
in source or binary form, is strictly prohibited without the prior written
|
|
9
|
+
permission of Strategos Pty Ltd.
|
|
10
|
+
|
|
11
|
+
No licence, express or implied, to any intellectual property rights is granted
|
|
12
|
+
by this document.
|
|
13
|
+
|
|
14
|
+
For licensing enquiries: r@strategos.au
|
decretum-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: decretum
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Legal decree and regulatory analysis. by Strategos.
|
|
5
|
+
Project-URL: Source, https://github.com/ShadowStrike-CTF/decretum
|
|
6
|
+
Author-email: Strategos <r@strategos.au>
|
|
7
|
+
License: Proprietary
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Classifier: Development Status :: 1 - Planning
|
|
10
|
+
Classifier: License :: Other/Proprietary License
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Requires-Python: >=3.11
|
|
16
|
+
Description-Content-Type: text/markdown
|
|
17
|
+
|
|
18
|
+
# Decretum
|
|
19
|
+
|
|
20
|
+
Namespace stub. by Strategos.
|
|
21
|
+
|
|
22
|
+
GitHub: https://github.com/ShadowStrike-CTF/decretum
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
© 2026 Strategos Pty Ltd. All rights reserved.
|
|
27
|
+
Aut Viam Inveniam Aut Faciam
|
decretum-0.0.1/README.md
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
# stub_template_v1_0_12 — Substitution Guide
|
|
2
|
+
|
|
3
|
+
Replace all placeholders before use. Search-and-replace across all files.
|
|
4
|
+
|
|
5
|
+
| Placeholder | Replace with | Example |
|
|
6
|
+
|-------------|--------------------------------------------------|-------------------------------------------|
|
|
7
|
+
| PACKAGENAME | PyPI slug (ASCII, lowercase, hyphens if needed) | pechat |
|
|
8
|
+
| DISPLAYNAME | Display name with diacritics if applicable | Pečat |
|
|
9
|
+
| REPONAME | GitHub repo name (ASCII, lowercase, hyphens) | pechat |
|
|
10
|
+
| ONELINER | One-line description from Product Directory | Forensic file hashing and verification. |
|
|
11
|
+
| YEAR | Current year | 2026 |
|
|
12
|
+
|
|
13
|
+
## What the template provides
|
|
14
|
+
|
|
15
|
+
These files are pre-built and ready to use — substitution only, no new content required:
|
|
16
|
+
|
|
17
|
+
| File | What it does |
|
|
18
|
+
|------|--------------|
|
|
19
|
+
| `pyproject.toml` | hatchling build backend, Proprietary licence, Python 3.11 floor, 3.11 + 3.12 classifiers, src layout wheel target, GitHub source URL |
|
|
20
|
+
| `src/PACKAGENAME/__init__.py` | Package entry point with copyright + motto header |
|
|
21
|
+
| `README.md` | v1.6 format — one-liner, GitHub link, copyright footer, Aut Viam motto |
|
|
22
|
+
| `LICENSE` | Proprietary licence under Strategos Pty Ltd (ACN 699 862 078) |
|
|
23
|
+
| `.gitignore` | Standard Python ignores (dist/, build/, __pycache__, *.egg-info) |
|
|
24
|
+
| `TEMPLATE_GUIDE.md` | This file |
|
|
25
|
+
| `.github/workflows/publish.yml` | Trusted OIDC publishing — fires on `git tag v*` push |
|
|
26
|
+
|
|
27
|
+
## What you must customise
|
|
28
|
+
|
|
29
|
+
1. Search-and-replace all five PLACEHOLDERS (table above) across every file
|
|
30
|
+
2. Set YEAR to the current year (do not hardcode — check the year at time of use)
|
|
31
|
+
3. README line 2: use the exact one-liner from the Product Directory in the brand attribution doc — verbatim, not paraphrased
|
|
32
|
+
4. README attribution suffix — choose per tier:
|
|
33
|
+
- Tier 1 (Suite): `Part of the Strategos Suite.`
|
|
34
|
+
- Tier 2 (SA Tools): `by Strategos.`
|
|
35
|
+
- Tier 3 (CTF Line): `by ShadowStrike.`
|
|
36
|
+
- Tier 4 (Personal/Community): `by ShadowStrike.` + MIT footer (see BAC v1.17)
|
|
37
|
+
5. Copyright line — choose per tier:
|
|
38
|
+
- Tier 1 (Suite): `© YEAR Strategos Pty Ltd. All rights reserved.`
|
|
39
|
+
- Tier 2 (SA Tools): `© YEAR Strategos Pty Ltd. All rights reserved.`
|
|
40
|
+
- Tier 3 (CTF Line): `© YEAR ShadowStrike. All rights reserved.` ← update pyproject.toml, __init__.py, README, LICENSE
|
|
41
|
+
- Tier 4 (Personal/Community): `© YEAR ShadowStrike. Licensed under the MIT Licence.`
|
|
42
|
+
6. Licence — choose per tier:
|
|
43
|
+
- Tier 1 + 2: Proprietary (template default — no change needed)
|
|
44
|
+
- Tier 3 (standard CTF tools): Proprietary (template default — no change needed)
|
|
45
|
+
- Tier 3 (community CTF tools, MIT-designated): MIT — update pyproject.toml license field, replace LICENSE file, update copyright lines. B stream decision required per-tool. Zapis is the first MIT Tier 3 tool (B/1.1.37).
|
|
46
|
+
- Tier 4: MIT (template default does NOT apply — use bare open-source stub, not this template)
|
|
47
|
+
7. PyPI-side setup (one-time, per package): PyPI → Manage → Publishing → Add trusted publisher — Owner: ShadowStrike-CTF, Repository: REPONAME, Workflow: publish.yml, Environment: pypi
|
|
48
|
+
8. GitHub: create environment named `pypi` in repo Settings → Environments
|
|
49
|
+
|
|
50
|
+
## Classifier note — stubs vs live packages
|
|
51
|
+
|
|
52
|
+
**All stubs (all streams):** 3.11 + 3.12 classifiers are correct as shipped. Classifiers are metadata only — no runtime effect.
|
|
53
|
+
|
|
54
|
+
**Live SA tool packages (Phalanx, Prenos, Feniks, Pečat, Tolmač pyproject.toml):** hold 3.12 classifier until PyInstaller 3.12 Windows build verification is complete. Classifier must follow confirmed support, not advertise it in advance.
|
|
55
|
+
|
|
56
|
+
## What a valid stub is NOT
|
|
57
|
+
|
|
58
|
+
- Not a development package — no real code, no tests, no CLI
|
|
59
|
+
- Not a namespace redirect unless explicitly using the namespace-pointing README variant (svest→svest-unmark pattern)
|
|
60
|
+
- Not published with a pre-release version suffix (a, b, rc, .dev) — those go to TestPyPI only
|
|
61
|
+
|
|
62
|
+
## File structure
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
stub_template_v1_0_12/
|
|
66
|
+
├── pyproject.toml ← hatchling, src layout, Proprietary, 3.11 + 3.12 classifiers
|
|
67
|
+
├── README.md ← v1.6 format (GitHub link, one-liner, attribution, footer)
|
|
68
|
+
├── LICENSE ← Proprietary
|
|
69
|
+
├── .gitignore
|
|
70
|
+
├── TEMPLATE_GUIDE.md ← this file
|
|
71
|
+
├── src/
|
|
72
|
+
│ └── PACKAGENAME/
|
|
73
|
+
│ └── __init__.py ← copyright + motto header
|
|
74
|
+
└── .github/
|
|
75
|
+
└── workflows/
|
|
76
|
+
└── publish.yml ← trusted publishing via OIDC
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Suite-wide standards locked
|
|
80
|
+
|
|
81
|
+
- Build backend: hatchling (Suite-wide — D stream and SA stream)
|
|
82
|
+
- Package layout: src layout — `src/PACKAGENAME/`
|
|
83
|
+
- Licence: Proprietary (default); MIT permitted for Tier 3 community tools and Tier 4 (B stream decision required)
|
|
84
|
+
- Python floor: 3.11
|
|
85
|
+
- Python classifiers (stubs): 3.11 + 3.12
|
|
86
|
+
- Python classifiers (live SA tools): 3.11 only until PyInstaller 3.12 Windows verification done
|
|
87
|
+
- Publish method (target): trusted publishing via OIDC
|
|
88
|
+
- Publish method (interim): manual twine
|
|
89
|
+
- Commit trailer: `Co-Authored-By: Digger (Claude Opus 5.5) <noreply@anthropic.com>` (updated B/1.1.37)
|
|
90
|
+
- Commands reference: Strategos_PyPI_GitHub_Commands_B1131_v1_3.docx
|
|
91
|
+
- Brand attribution reference: Strategos_Brand_Attribution_Convention_B1134_v1_17_MASTER.docx
|
|
92
|
+
|
|
93
|
+
## PyPI-side setup (one-time per package)
|
|
94
|
+
|
|
95
|
+
PyPI → Manage → Publishing → Add a trusted publisher:
|
|
96
|
+
- Owner: ShadowStrike-CTF
|
|
97
|
+
- Repository: REPONAME
|
|
98
|
+
- Workflow: publish.yml
|
|
99
|
+
- Environment: pypi
|
|
100
|
+
|
|
101
|
+
## Trigger for publish
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
git tag v0.0.1
|
|
105
|
+
git push origin v0.0.1
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
## Version history
|
|
109
|
+
|
|
110
|
+
### v1.0.11 changes (B/1.1.37 — 25 Sep 2026)
|
|
111
|
+
- TEMPLATE_GUIDE.md: Tier 3 copyright corrected — ShadowStrike (not Strategos Pty Ltd) per BAC v1.17
|
|
112
|
+
- TEMPLATE_GUIDE.md: Tier 3 MIT exception documented — community CTF tools may use MIT licence at B stream discretion per-tool; Zapis is first MIT Tier 3 tool
|
|
113
|
+
- TEMPLATE_GUIDE.md: Commit trailer updated to Claude Opus 5.5
|
|
114
|
+
- TEMPLATE_GUIDE.md: Commands reference updated to v1.3; BAC reference updated to v1.17
|
|
115
|
+
- Suite-wide standards section: licence and commit trailer entries added
|
|
116
|
+
|
|
117
|
+
### v1.0.10 changes
|
|
118
|
+
- pyproject.toml: `Programming Language :: Python :: 3.12` added to classifiers
|
|
119
|
+
- TEMPLATE_GUIDE.md: classifier note corrected — all stubs get 3.11 + 3.12 (metadata only);
|
|
120
|
+
live SA tool packages defer 3.12 until PyInstaller 3.12 Windows verification complete
|
|
121
|
+
|
|
122
|
+
### v1.0.9 changes
|
|
123
|
+
- pyproject.toml: `Programming Language :: Python :: 3.11` added to classifiers
|
|
124
|
+
- TEMPLATE_GUIDE.md: stream-specific classifier note added (superseded by v1.0.10)
|
|
125
|
+
|
|
126
|
+
### v1.0.8 changes
|
|
127
|
+
- src layout: PACKAGENAME/ moved to src/PACKAGENAME/
|
|
128
|
+
- pyproject.toml: [tool.hatch.build.targets.wheel] added
|
|
129
|
+
|
|
130
|
+
### v1.0.7 changes
|
|
131
|
+
- pyproject.toml: copyright + motto comment added to top of file
|
|
132
|
+
|
|
133
|
+
### v1.0.6 changes (was v1.0.4 — versioning corrected)
|
|
134
|
+
- Build backend: hatchling; Licence: Proprietary; publish.yml added; Python 3.11 floor
|
|
135
|
+
|
|
136
|
+
### v1.0.12 changes (B/1.1.37 — 27 Sep 2026)
|
|
137
|
+
- LICENSE: removed ACN from Strategos Pty Ltd copyright line — now "Strategos Pty Ltd" only
|
|
138
|
+
- LICENSE (ShadowStrike substitution): "ShadowStrike" with no company identifier
|
|
139
|
+
- "ShadowStrike × Pumpkin 🎃" internal-only rule formalised (BAC v1.20):
|
|
140
|
+
must NOT appear in any externally visible content (GitHub README, PyPI descriptions,
|
|
141
|
+
commit messages, or any public-facing output — any stream, including M Pumpkin)
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# © 2026 Strategos Pty Ltd. All rights reserved.
|
|
2
|
+
# Aut Viam Inveniam Aut Faciam
|
|
3
|
+
|
|
4
|
+
[build-system]
|
|
5
|
+
requires = ["hatchling"]
|
|
6
|
+
build-backend = "hatchling.build"
|
|
7
|
+
|
|
8
|
+
[project]
|
|
9
|
+
name = "decretum"
|
|
10
|
+
version = "0.0.1"
|
|
11
|
+
description = "Legal decree and regulatory analysis. by Strategos."
|
|
12
|
+
readme = "README.md"
|
|
13
|
+
license = {text = "Proprietary"}
|
|
14
|
+
authors = [
|
|
15
|
+
{name = "Strategos", email = "r@strategos.au"}
|
|
16
|
+
]
|
|
17
|
+
requires-python = ">=3.11"
|
|
18
|
+
classifiers = [
|
|
19
|
+
"Development Status :: 1 - Planning",
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"Programming Language :: Python :: 3.11",
|
|
22
|
+
"Programming Language :: Python :: 3.12",
|
|
23
|
+
"License :: Other/Proprietary License",
|
|
24
|
+
"Operating System :: OS Independent",
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
[project.urls]
|
|
28
|
+
"Source" = "https://github.com/ShadowStrike-CTF/decretum"
|
|
29
|
+
|
|
30
|
+
[tool.hatch.build.targets.wheel]
|
|
31
|
+
packages = ["src/decretum"]
|