flaskteroids-lexxy 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 (28) hide show
  1. flaskteroids_lexxy-0.1.0/CHANGELOG.md +7 -0
  2. flaskteroids_lexxy-0.1.0/LICENSE +21 -0
  3. flaskteroids_lexxy-0.1.0/MANIFEST.in +5 -0
  4. flaskteroids_lexxy-0.1.0/PKG-INFO +56 -0
  5. flaskteroids_lexxy-0.1.0/README.md +36 -0
  6. flaskteroids_lexxy-0.1.0/RELEASING.md +27 -0
  7. flaskteroids_lexxy-0.1.0/flaskteroids_lexxy/__init__.py +12 -0
  8. flaskteroids_lexxy-0.1.0/flaskteroids_lexxy/assets/DOMPURIFY-LICENSE +568 -0
  9. flaskteroids_lexxy-0.1.0/flaskteroids_lexxy/assets/LEXICAL-LICENSE +21 -0
  10. flaskteroids_lexxy-0.1.0/flaskteroids_lexxy/assets/LEXXY-LICENSE +20 -0
  11. flaskteroids_lexxy-0.1.0/flaskteroids_lexxy/assets/MARKED-LICENSE +44 -0
  12. flaskteroids_lexxy-0.1.0/flaskteroids_lexxy/assets/PRISM-LICENSE +21 -0
  13. flaskteroids_lexxy-0.1.0/flaskteroids_lexxy/assets/README.md +19 -0
  14. flaskteroids_lexxy-0.1.0/flaskteroids_lexxy/assets/lexxy-content.css +530 -0
  15. flaskteroids_lexxy-0.1.0/flaskteroids_lexxy/assets/lexxy-editor.css +1331 -0
  16. flaskteroids_lexxy-0.1.0/flaskteroids_lexxy/assets/lexxy-variables.css +89 -0
  17. flaskteroids_lexxy-0.1.0/flaskteroids_lexxy/assets/lexxy.css +2 -0
  18. flaskteroids_lexxy-0.1.0/flaskteroids_lexxy/assets/lexxy.js +11 -0
  19. flaskteroids_lexxy-0.1.0/flaskteroids_lexxy.egg-info/PKG-INFO +56 -0
  20. flaskteroids_lexxy-0.1.0/flaskteroids_lexxy.egg-info/SOURCES.txt +26 -0
  21. flaskteroids_lexxy-0.1.0/flaskteroids_lexxy.egg-info/dependency_links.txt +1 -0
  22. flaskteroids_lexxy-0.1.0/flaskteroids_lexxy.egg-info/entry_points.txt +2 -0
  23. flaskteroids_lexxy-0.1.0/flaskteroids_lexxy.egg-info/top_level.txt +1 -0
  24. flaskteroids_lexxy-0.1.0/pyproject.toml +48 -0
  25. flaskteroids_lexxy-0.1.0/scripts/check_release.py +36 -0
  26. flaskteroids_lexxy-0.1.0/setup.cfg +4 -0
  27. flaskteroids_lexxy-0.1.0/tests/test_release.py +47 -0
  28. flaskteroids_lexxy-0.1.0/uv.lock +108 -0
@@ -0,0 +1,7 @@
1
+ # Changelog
2
+
3
+ ## 0.1.0
4
+
5
+ - Package the upstream Lexxy 1.0.2 editor runtime and four stylesheets with their
6
+ licenses and provenance.
7
+ - Register the assets with Flaskteroids' asset pipeline.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Juan Sebastian Quintero
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.
@@ -0,0 +1,5 @@
1
+ include CHANGELOG.md
2
+ include uv.lock
3
+ include RELEASING.md
4
+ recursive-include scripts *.py
5
+ recursive-include tests *.py
@@ -0,0 +1,56 @@
1
+ Metadata-Version: 2.4
2
+ Name: flaskteroids-lexxy
3
+ Version: 0.1.0
4
+ Summary: Packaged upstream Lexxy editor runtime and stylesheets
5
+ Author: Juan Sebastian Quintero
6
+ License-Expression: MIT AND (Apache-2.0 OR MPL-2.0)
7
+ Classifier: Programming Language :: Python :: 3
8
+ Classifier: Programming Language :: Python :: 3.14
9
+ Classifier: Programming Language :: Python :: 3.15
10
+ Classifier: Operating System :: OS Independent
11
+ Requires-Python: >=3.14
12
+ Description-Content-Type: text/markdown
13
+ License-File: LICENSE
14
+ License-File: flaskteroids_lexxy/assets/DOMPURIFY-LICENSE
15
+ License-File: flaskteroids_lexxy/assets/LEXICAL-LICENSE
16
+ License-File: flaskteroids_lexxy/assets/LEXXY-LICENSE
17
+ License-File: flaskteroids_lexxy/assets/MARKED-LICENSE
18
+ License-File: flaskteroids_lexxy/assets/PRISM-LICENSE
19
+ Dynamic: license-file
20
+
21
+ # Flaskteroids Lexxy
22
+
23
+ The upstream Lexxy **1.0.2** editor runtime and stylesheets, packaged with their
24
+ licenses and provenance. This package has **no runtime dependencies**.
25
+ Rich-text integration remains in Flaskteroids.
26
+
27
+ New browser applications include this package. To add it to an existing app:
28
+
29
+ ```sh
30
+ uv add 'flaskteroids-lexxy>=0.1.0,<0.2'
31
+ bin/flask rich_text:install
32
+ bin/flask db:migrate
33
+ ```
34
+
35
+ To upgrade:
36
+
37
+ ```sh
38
+ uv lock --upgrade-package flaskteroids-lexxy
39
+ uv sync --locked
40
+ bin/flask assets:precompile
41
+ ```
42
+
43
+ Applications load the editor through import maps without copying assets or
44
+ requiring Node, npm, or an editor CDN.
45
+
46
+ ## Development
47
+
48
+ ```sh
49
+ uv sync --locked --dev
50
+ uv run pytest
51
+ uv run ruff check .
52
+ uv run ruff format --check .
53
+ ```
54
+
55
+ See [RELEASING.md](RELEASING.md) for publishing and
56
+ [asset provenance](flaskteroids_lexxy/assets/README.md) for upstream details.
@@ -0,0 +1,36 @@
1
+ # Flaskteroids Lexxy
2
+
3
+ The upstream Lexxy **1.0.2** editor runtime and stylesheets, packaged with their
4
+ licenses and provenance. This package has **no runtime dependencies**.
5
+ Rich-text integration remains in Flaskteroids.
6
+
7
+ New browser applications include this package. To add it to an existing app:
8
+
9
+ ```sh
10
+ uv add 'flaskteroids-lexxy>=0.1.0,<0.2'
11
+ bin/flask rich_text:install
12
+ bin/flask db:migrate
13
+ ```
14
+
15
+ To upgrade:
16
+
17
+ ```sh
18
+ uv lock --upgrade-package flaskteroids-lexxy
19
+ uv sync --locked
20
+ bin/flask assets:precompile
21
+ ```
22
+
23
+ Applications load the editor through import maps without copying assets or
24
+ requiring Node, npm, or an editor CDN.
25
+
26
+ ## Development
27
+
28
+ ```sh
29
+ uv sync --locked --dev
30
+ uv run pytest
31
+ uv run ruff check .
32
+ uv run ruff format --check .
33
+ ```
34
+
35
+ See [RELEASING.md](RELEASING.md) for publishing and
36
+ [asset provenance](flaskteroids_lexxy/assets/README.md) for upstream details.
@@ -0,0 +1,27 @@
1
+ # Releasing
2
+
3
+ This asset-only package can be published independently of Flaskteroids.
4
+ Its Python package version is independent of the bundled Lexxy version.
5
+
6
+ ## One-time setup
7
+
8
+ Create the `nullco/flaskteroids-lexxy` GitHub repository and a `pypi` environment.
9
+ Configure a PyPI pending trusted publisher with:
10
+
11
+ - Project: `flaskteroids-lexxy`
12
+ - Owner: `nullco`
13
+ - Repository: `flaskteroids-lexxy`
14
+ - Workflow: `publish.yml`
15
+ - Environment: `pypi`
16
+
17
+ ## Each release
18
+
19
+ 1. Update `pyproject.toml`, `CHANGELOG.md`, and `uv.lock`.
20
+ 2. For runtime updates, replace the upstream runtime and stylesheets and update
21
+ their licenses/provenance. Verify the official release gem checksum.
22
+ 3. Run locked tests, lint, formatting, `uv build`, and
23
+ `uvx twine check --strict dist/*`.
24
+ 4. Publish a GitHub release tagged `vX.Y.Z`. The workflow validates metadata,
25
+ tests and builds the package, and uploads the artifacts through trusted publishing.
26
+
27
+ No Flaskteroids checkout or release is required. Published versions are immutable.
@@ -0,0 +1,12 @@
1
+ """Packaged upstream Lexxy assets; rich-text integration belongs to Flaskteroids."""
2
+
3
+ PUBLIC_ASSETS = {
4
+ name: ("flaskteroids_lexxy", f"assets/{name}")
5
+ for name in (
6
+ "lexxy.js",
7
+ "lexxy.css",
8
+ "lexxy-content.css",
9
+ "lexxy-editor.css",
10
+ "lexxy-variables.css",
11
+ )
12
+ }