decktile 0.2.0__py3-none-any.whl

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 (46) hide show
  1. decktile/__init__.py +5 -0
  2. decktile/__main__.py +3 -0
  3. decktile/assets/lucide/VENDORED.md +21 -0
  4. decktile/assets/lucide/lucide.css +2193 -0
  5. decktile/assets/lucide/lucide.ttf +3 -0
  6. decktile/cli.py +269 -0
  7. decktile/parser/__init__.py +0 -0
  8. decktile/parser/ast.py +191 -0
  9. decktile/parser/markdown.py +289 -0
  10. decktile/plugins/cards.py +25 -0
  11. decktile/plugins/directives.py +56 -0
  12. decktile/plugins/fenced.py +228 -0
  13. decktile/plugins/layouts.py +69 -0
  14. decktile/plugins/lucide.py +65 -0
  15. decktile/plugins/lucide_font.py +26 -0
  16. decktile/render/__init__.py +0 -0
  17. decktile/render/html.py +287 -0
  18. decktile/render/ir.py +536 -0
  19. decktile/render/odf/__init__.py +4 -0
  20. decktile/render/odf/geometry.py +510 -0
  21. decktile/render/odf/shapes.py +719 -0
  22. decktile/render/odf/styles.py +828 -0
  23. decktile/render/odp.py +380 -0
  24. decktile/render/pdf.py +17 -0
  25. decktile/render/pdg.py +72 -0
  26. decktile/render/seaborn.py +155 -0
  27. decktile/render/templates/base.css +741 -0
  28. decktile/render/templates/decktile.js +371 -0
  29. decktile/render/templates/shell.html +106 -0
  30. decktile/seaborn_styles/__init__.py +5 -0
  31. decktile/seaborn_styles/ossummit_europe.py +30 -0
  32. decktile/theme/__init__.py +0 -0
  33. decktile/theme/colors.py +53 -0
  34. decktile/theme/loader.py +22 -0
  35. decktile/theme/parser.py +264 -0
  36. decktile/themes/default.css +146 -0
  37. decktile/themes/kcd_vietnam.css +159 -0
  38. decktile/themes/kubecon_china.css +213 -0
  39. decktile/themes/kubecon_japan.css +156 -0
  40. decktile/themes/ossummit_europe.css +196 -0
  41. decktile/themes/ossummit_korea.css +196 -0
  42. decktile-0.2.0.dist-info/METADATA +625 -0
  43. decktile-0.2.0.dist-info/RECORD +46 -0
  44. decktile-0.2.0.dist-info/WHEEL +4 -0
  45. decktile-0.2.0.dist-info/entry_points.txt +6 -0
  46. decktile-0.2.0.dist-info/licenses/LICENSE +674 -0
decktile/__init__.py ADDED
@@ -0,0 +1,5 @@
1
+ """decktile -- markdown to styled PPTX + PDF."""
2
+
3
+ from decktile.cli import app
4
+
5
+ __all__ = ["app"]
decktile/__main__.py ADDED
@@ -0,0 +1,3 @@
1
+ from decktile.cli import app
2
+
3
+ app(prog_name="decktile")
@@ -0,0 +1,21 @@
1
+ # Vendored: Lucide icon font
2
+
3
+ Source: https://www.npmjs.com/package/lucide-static (npm), version 1.61.0.
4
+ License: ISC (same as Lucide itself).
5
+
6
+ Files:
7
+ - `lucide.ttf` -- icon glyphs, one Lucide icon per private-use-area Unicode
8
+ codepoint.
9
+ - `lucide.css` -- `.icon-<name>::before { content: "\eXXX"; }` codepoint
10
+ map, parsed at runtime to resolve an icon name to its glyph.
11
+
12
+ Fetched via `npm install lucide-static@1.61.0` and copied from
13
+ `node_modules/lucide-static/font/`. Tracked via git-lfs (`*.ttf` in
14
+ `.gitattributes`) to avoid bloating the regular git object store with the
15
+ ~900KB binary.
16
+
17
+ Used by the ODP renderer to embed lucide icons as colored font glyphs
18
+ (`style:font-face` + embedded font data in the package) instead of
19
+ per-icon SVG image frames -- a font glyph picks up `fo:color` like any
20
+ other text run, matching the HTML's themed icon color, and scales with
21
+ font-size instead of a fixed pixel box.