brandspec 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.
Files changed (33) hide show
  1. brandspec-0.1.0/.github/workflows/ci.yml +18 -0
  2. brandspec-0.1.0/.github/workflows/publish.yml +23 -0
  3. brandspec-0.1.0/.gitignore +8 -0
  4. brandspec-0.1.0/.python-version +1 -0
  5. brandspec-0.1.0/LICENSE +674 -0
  6. brandspec-0.1.0/PKG-INFO +171 -0
  7. brandspec-0.1.0/README.md +141 -0
  8. brandspec-0.1.0/brandspec-thumb.jpg +0 -0
  9. brandspec-0.1.0/pyproject.toml +57 -0
  10. brandspec-0.1.0/samples/kronos-chambers.json +230 -0
  11. brandspec-0.1.0/samples/solaris-aperture.json +68 -0
  12. brandspec-0.1.0/samples/vela-sails.json +74 -0
  13. brandspec-0.1.0/skills/brandspec/SKILL.md +60 -0
  14. brandspec-0.1.0/src/brandspec/__init__.py +3 -0
  15. brandspec-0.1.0/src/brandspec/cli.py +139 -0
  16. brandspec-0.1.0/src/brandspec/core/__init__.py +1 -0
  17. brandspec-0.1.0/src/brandspec/core/grid.py +112 -0
  18. brandspec-0.1.0/src/brandspec/core/paths.py +253 -0
  19. brandspec-0.1.0/src/brandspec/engines/__init__.py +1 -0
  20. brandspec-0.1.0/src/brandspec/engines/mark/__init__.py +1 -0
  21. brandspec-0.1.0/src/brandspec/engines/mark/archetypes/iso-impossible.json +36 -0
  22. brandspec-0.1.0/src/brandspec/engines/mark/archetypes/line-screen-disc.json +55 -0
  23. brandspec-0.1.0/src/brandspec/engines/mark/archetypes/radial-vortex.json +48 -0
  24. brandspec-0.1.0/src/brandspec/engines/mark/archetypes/ribbon-weave.json +63 -0
  25. brandspec-0.1.0/src/brandspec/engines/mark/archetypes/stencil-monogram.json +60 -0
  26. brandspec-0.1.0/src/brandspec/engines/mark/compiler.py +186 -0
  27. brandspec-0.1.0/src/brandspec/engines/mark/fields.py +181 -0
  28. brandspec-0.1.0/src/brandspec/engines/mark/geometry.py +157 -0
  29. brandspec-0.1.0/src/brandspec/engines/mark/schema.py +157 -0
  30. brandspec-0.1.0/src/brandspec/inspect/__init__.py +5 -0
  31. brandspec-0.1.0/src/brandspec/inspect/sheet.py +190 -0
  32. brandspec-0.1.0/tests/test_compiler.py +95 -0
  33. brandspec-0.1.0/uv.lock +429 -0
@@ -0,0 +1,18 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+
8
+ jobs:
9
+ test-and-build:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ - uses: astral-sh/setup-uv@v5
14
+ with:
15
+ enable-cache: true
16
+ - run: uv sync --locked --extra dev
17
+ - run: uv run pytest -v
18
+ - run: uv build
@@ -0,0 +1,23 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ build-and-publish:
13
+ runs-on: ubuntu-latest
14
+ permissions:
15
+ id-token: write
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: astral-sh/setup-uv@v5
19
+ - run: uv sync --locked --extra dev
20
+ - run: uv run pytest -v
21
+ - run: uv build
22
+ - name: Publish package to PyPI
23
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,8 @@
1
+ .venv/
2
+ .pytest_cache/
3
+ __pycache__/
4
+ *.pyc
5
+ out/
6
+ dist/
7
+ build/
8
+ *.egg-info/
@@ -0,0 +1 @@
1
+ 3.12