amark 0.1.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.
- amark-0.1.0/LICENSE +21 -0
- amark-0.1.0/MANIFEST.in +2 -0
- amark-0.1.0/PKG-INFO +82 -0
- amark-0.1.0/README.md +63 -0
- amark-0.1.0/pyproject.toml +36 -0
- amark-0.1.0/setup.cfg +4 -0
- amark-0.1.0/src/amark/__init__.py +768 -0
- amark-0.1.0/src/amark/cli.py +1734 -0
- amark-0.1.0/src/amark.egg-info/PKG-INFO +82 -0
- amark-0.1.0/src/amark.egg-info/SOURCES.txt +12 -0
- amark-0.1.0/src/amark.egg-info/dependency_links.txt +1 -0
- amark-0.1.0/src/amark.egg-info/entry_points.txt +2 -0
- amark-0.1.0/src/amark.egg-info/requires.txt +4 -0
- amark-0.1.0/src/amark.egg-info/top_level.txt +1 -0
amark-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Wolfberry AB
|
|
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.
|
amark-0.1.0/MANIFEST.in
ADDED
amark-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: amark
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A lightweight metadata layer for making repositories self-describing
|
|
5
|
+
Author: Wolfberry AB
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://architecture-markup.org
|
|
8
|
+
Project-URL: Source, https://github.com/architecture-markup/amark
|
|
9
|
+
Project-URL: Documentation, https://github.com/architecture-markup/amark/blob/main/docs/architecture-markup-spec.md
|
|
10
|
+
Project-URL: Issues, https://github.com/architecture-markup/amark/issues
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Requires-Python: >=3.11
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
License-File: LICENSE
|
|
15
|
+
Requires-Dist: PyYAML>=6.0
|
|
16
|
+
Provides-Extra: build
|
|
17
|
+
Requires-Dist: pyinstaller<7,>=6; extra == "build"
|
|
18
|
+
Dynamic: license-file
|
|
19
|
+
|
|
20
|
+
# Architecture Markup
|
|
21
|
+
|
|
22
|
+
Architecture Markup (AMARK) is a lightweight specification for making a Git
|
|
23
|
+
repository self-describing. It adds small pieces of metadata to existing files
|
|
24
|
+
so humans and AI agents can understand architecture, relationships, and
|
|
25
|
+
ownership.
|
|
26
|
+
|
|
27
|
+
## Install
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
pipx install amark
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
You can also run `python -m pip install amark` in a virtual environment. Then try
|
|
34
|
+
it:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
amark init /tmp/amark-demo
|
|
38
|
+
amark validate --strict /tmp/amark-demo
|
|
39
|
+
amark c4 /tmp/amark-demo -o /tmp/amark-demo/architecture.md
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
On Windows, choose a local demo directory instead of `/tmp/amark-demo`. `init`
|
|
43
|
+
preserves existing files. Replace the sample system description and add component
|
|
44
|
+
definitions and `contains:` links as the model grows. See the
|
|
45
|
+
[CLI guide](https://github.com/architecture-markup/amark/blob/main/docs/cli-guide.md) for exit codes, output locations, imports, and
|
|
46
|
+
the multi-repository validation workflow. To run in Docker or build a standalone
|
|
47
|
+
binary, see [CONTRIBUTING.md](https://github.com/architecture-markup/amark/blob/main/CONTRIBUTING.md).
|
|
48
|
+
|
|
49
|
+
To install from a source checkout instead, with the pinned dependencies:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
python3 -m venv .venv
|
|
53
|
+
. .venv/bin/activate
|
|
54
|
+
python -m pip install -r requirements-pinned.txt
|
|
55
|
+
python -m pip install --no-deps .
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
On Windows, activate with `.venv\Scripts\Activate.ps1`.
|
|
59
|
+
|
|
60
|
+
The validator checks the declared metadata. It cannot prove that the metadata
|
|
61
|
+
matches running code or discover dependencies that have not been declared.
|
|
62
|
+
|
|
63
|
+
## What this repository contains
|
|
64
|
+
- The normative specification: [docs/architecture-markup-spec.md](https://github.com/architecture-markup/amark/blob/main/docs/architecture-markup-spec.md)
|
|
65
|
+
- A friendly, non-normative introduction: [docs/architecture-markup-primer.md](https://github.com/architecture-markup/amark/blob/main/docs/architecture-markup-primer.md)
|
|
66
|
+
- How AMARK relates to Backstage, EA tools, C4 tooling, and AI agents ("don't we already have this?"): [docs/architecture-markup-positioning.md](https://github.com/architecture-markup/amark/blob/main/docs/architecture-markup-positioning.md)
|
|
67
|
+
- Task instructions for an AI agent (point your agent at the raw URL in the file's header): [docs/architecture-markup-agent-instructions.md](https://github.com/architecture-markup/amark/blob/main/docs/architecture-markup-agent-instructions.md), or the one-page [cheat sheet](https://github.com/architecture-markup/amark/blob/main/docs/architecture-markup-cheatsheet.md). These two paths are stable and will not move.
|
|
68
|
+
- A practical guide for marking up many repositories: [docs/multi-repo-adoption-guide.md](https://github.com/architecture-markup/amark/blob/main/docs/multi-repo-adoption-guide.md)
|
|
69
|
+
- A Claude Code skill that onboards a repo, or a directory of cloned repos, onto AMARK and generates a C4 document: [skills/introduce-amark/SKILL.md](https://github.com/architecture-markup/amark/blob/main/skills/introduce-amark/SKILL.md). Install it as a plugin with `/plugin install amark --marketplace architecture-markup/amark`, then run `/amark:introduce-amark`.
|
|
70
|
+
- A starter template for a central catalog repository (external & shared artifacts): [templates/architecture-catalog/](https://github.com/architecture-markup/amark/blob/main/templates/architecture-catalog/)
|
|
71
|
+
- Domain profiles mapping AMARK onto TOGAF, ArchiMate, C4, 4+1, SysML, Azure, AWS, GCP, and Backstage: [docs/profiles/](https://github.com/architecture-markup/amark/blob/main/docs/profiles/)
|
|
72
|
+
- How to contribute, build, and run the tests: [CONTRIBUTING.md](https://github.com/architecture-markup/amark/blob/main/CONTRIBUTING.md). Agent guidance: [AGENTS.md](https://github.com/architecture-markup/amark/blob/main/AGENTS.md)
|
|
73
|
+
|
|
74
|
+
## Status
|
|
75
|
+
- Specification: v1.55 (Stable).
|
|
76
|
+
- Reference CLI (`amark`): `init`, `scan`, `validate`, `graph`, `c4`, `impact` (what breaks if this changes?), `tech` (technology inventory from `amark-technology`), cross-repo `merge`, `export` (ArchiMate Model Exchange File or a Backstage catalog), and `import` (an existing Backstage catalog). Published on PyPI as `amark`.
|
|
77
|
+
|
|
78
|
+
## Backing
|
|
79
|
+
Architecture Markup is backed by [Wolfberry AB](https://wolfberry.se).
|
|
80
|
+
|
|
81
|
+
## License
|
|
82
|
+
MIT. See [LICENSE](https://github.com/architecture-markup/amark/blob/main/LICENSE). Copyright (c) 2026 Wolfberry AB.
|
amark-0.1.0/README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Architecture Markup
|
|
2
|
+
|
|
3
|
+
Architecture Markup (AMARK) is a lightweight specification for making a Git
|
|
4
|
+
repository self-describing. It adds small pieces of metadata to existing files
|
|
5
|
+
so humans and AI agents can understand architecture, relationships, and
|
|
6
|
+
ownership.
|
|
7
|
+
|
|
8
|
+
## Install
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
pipx install amark
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
You can also run `python -m pip install amark` in a virtual environment. Then try
|
|
15
|
+
it:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
amark init /tmp/amark-demo
|
|
19
|
+
amark validate --strict /tmp/amark-demo
|
|
20
|
+
amark c4 /tmp/amark-demo -o /tmp/amark-demo/architecture.md
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
On Windows, choose a local demo directory instead of `/tmp/amark-demo`. `init`
|
|
24
|
+
preserves existing files. Replace the sample system description and add component
|
|
25
|
+
definitions and `contains:` links as the model grows. See the
|
|
26
|
+
[CLI guide](https://github.com/architecture-markup/amark/blob/main/docs/cli-guide.md) for exit codes, output locations, imports, and
|
|
27
|
+
the multi-repository validation workflow. To run in Docker or build a standalone
|
|
28
|
+
binary, see [CONTRIBUTING.md](https://github.com/architecture-markup/amark/blob/main/CONTRIBUTING.md).
|
|
29
|
+
|
|
30
|
+
To install from a source checkout instead, with the pinned dependencies:
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
python3 -m venv .venv
|
|
34
|
+
. .venv/bin/activate
|
|
35
|
+
python -m pip install -r requirements-pinned.txt
|
|
36
|
+
python -m pip install --no-deps .
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
On Windows, activate with `.venv\Scripts\Activate.ps1`.
|
|
40
|
+
|
|
41
|
+
The validator checks the declared metadata. It cannot prove that the metadata
|
|
42
|
+
matches running code or discover dependencies that have not been declared.
|
|
43
|
+
|
|
44
|
+
## What this repository contains
|
|
45
|
+
- The normative specification: [docs/architecture-markup-spec.md](https://github.com/architecture-markup/amark/blob/main/docs/architecture-markup-spec.md)
|
|
46
|
+
- A friendly, non-normative introduction: [docs/architecture-markup-primer.md](https://github.com/architecture-markup/amark/blob/main/docs/architecture-markup-primer.md)
|
|
47
|
+
- How AMARK relates to Backstage, EA tools, C4 tooling, and AI agents ("don't we already have this?"): [docs/architecture-markup-positioning.md](https://github.com/architecture-markup/amark/blob/main/docs/architecture-markup-positioning.md)
|
|
48
|
+
- Task instructions for an AI agent (point your agent at the raw URL in the file's header): [docs/architecture-markup-agent-instructions.md](https://github.com/architecture-markup/amark/blob/main/docs/architecture-markup-agent-instructions.md), or the one-page [cheat sheet](https://github.com/architecture-markup/amark/blob/main/docs/architecture-markup-cheatsheet.md). These two paths are stable and will not move.
|
|
49
|
+
- A practical guide for marking up many repositories: [docs/multi-repo-adoption-guide.md](https://github.com/architecture-markup/amark/blob/main/docs/multi-repo-adoption-guide.md)
|
|
50
|
+
- A Claude Code skill that onboards a repo, or a directory of cloned repos, onto AMARK and generates a C4 document: [skills/introduce-amark/SKILL.md](https://github.com/architecture-markup/amark/blob/main/skills/introduce-amark/SKILL.md). Install it as a plugin with `/plugin install amark --marketplace architecture-markup/amark`, then run `/amark:introduce-amark`.
|
|
51
|
+
- A starter template for a central catalog repository (external & shared artifacts): [templates/architecture-catalog/](https://github.com/architecture-markup/amark/blob/main/templates/architecture-catalog/)
|
|
52
|
+
- Domain profiles mapping AMARK onto TOGAF, ArchiMate, C4, 4+1, SysML, Azure, AWS, GCP, and Backstage: [docs/profiles/](https://github.com/architecture-markup/amark/blob/main/docs/profiles/)
|
|
53
|
+
- How to contribute, build, and run the tests: [CONTRIBUTING.md](https://github.com/architecture-markup/amark/blob/main/CONTRIBUTING.md). Agent guidance: [AGENTS.md](https://github.com/architecture-markup/amark/blob/main/AGENTS.md)
|
|
54
|
+
|
|
55
|
+
## Status
|
|
56
|
+
- Specification: v1.55 (Stable).
|
|
57
|
+
- Reference CLI (`amark`): `init`, `scan`, `validate`, `graph`, `c4`, `impact` (what breaks if this changes?), `tech` (technology inventory from `amark-technology`), cross-repo `merge`, `export` (ArchiMate Model Exchange File or a Backstage catalog), and `import` (an existing Backstage catalog). Published on PyPI as `amark`.
|
|
58
|
+
|
|
59
|
+
## Backing
|
|
60
|
+
Architecture Markup is backed by [Wolfberry AB](https://wolfberry.se).
|
|
61
|
+
|
|
62
|
+
## License
|
|
63
|
+
MIT. See [LICENSE](https://github.com/architecture-markup/amark/blob/main/LICENSE). Copyright (c) 2026 Wolfberry AB.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "amark"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "A lightweight metadata layer for making repositories self-describing"
|
|
5
|
+
requires-python = ">=3.11"
|
|
6
|
+
dependencies = ["PyYAML>=6.0"]
|
|
7
|
+
readme = "README.md"
|
|
8
|
+
license = "MIT"
|
|
9
|
+
authors = [{name = "Wolfberry AB"}]
|
|
10
|
+
classifiers = [
|
|
11
|
+
"Programming Language :: Python :: 3",
|
|
12
|
+
]
|
|
13
|
+
|
|
14
|
+
[project.urls]
|
|
15
|
+
Homepage = "https://architecture-markup.org"
|
|
16
|
+
Source = "https://github.com/architecture-markup/amark"
|
|
17
|
+
Documentation = "https://github.com/architecture-markup/amark/blob/main/docs/architecture-markup-spec.md"
|
|
18
|
+
Issues = "https://github.com/architecture-markup/amark/issues"
|
|
19
|
+
|
|
20
|
+
[project.scripts]
|
|
21
|
+
amark = "amark.cli:main"
|
|
22
|
+
|
|
23
|
+
[project.optional-dependencies]
|
|
24
|
+
build = ["pyinstaller>=6,<7"]
|
|
25
|
+
|
|
26
|
+
[build-system]
|
|
27
|
+
# Pinned with hashes in requirements-dist.txt; 77 is the first with SPDX `license`.
|
|
28
|
+
requires = ["setuptools>=77"]
|
|
29
|
+
build-backend = "setuptools.build_meta"
|
|
30
|
+
|
|
31
|
+
[tool.setuptools]
|
|
32
|
+
package-dir = {"" = "src"}
|
|
33
|
+
|
|
34
|
+
[tool.setuptools.packages.find]
|
|
35
|
+
where = ["src"]
|
|
36
|
+
include = ["amark*"]
|
amark-0.1.0/setup.cfg
ADDED