decktile 0.3.0__tar.gz → 0.3.2__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.
- {decktile-0.3.0 → decktile-0.3.2}/PKG-INFO +7 -2
- {decktile-0.3.0 → decktile-0.3.2}/README.md +3 -1
- {decktile-0.3.0 → decktile-0.3.2}/pyproject.toml +5 -5
- decktile-0.3.2/src/decktile/seaborn_styles/kubecon_na.py +35 -0
- decktile-0.3.2/src/decktile/themes/kubecon_na.css +172 -0
- {decktile-0.3.0 → decktile-0.3.2}/LICENSE +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/NOTICE +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/__init__.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/__main__.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/assets/lucide/VENDORED.md +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/assets/lucide/lucide.css +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/assets/lucide/lucide.ttf +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/cli.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/parser/__init__.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/parser/ast.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/parser/markdown.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/plugins/cards.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/plugins/directives.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/plugins/fenced.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/plugins/layouts.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/plugins/lucide.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/plugins/lucide_font.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/render/__init__.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/render/html.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/render/ir.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/render/odf/__init__.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/render/odf/geometry.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/render/odf/shapes.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/render/odf/styles.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/render/odp.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/render/pdf.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/render/pdg.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/render/seaborn.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/render/templates/base.css +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/render/templates/decktile.js +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/render/templates/shell.html +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/seaborn_styles/__init__.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/seaborn_styles/ossummit_europe.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/theme/__init__.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/theme/loader.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/theme/parser.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/themes/default.css +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/themes/kcd_vietnam.css +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/themes/kubecon_china.css +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/themes/kubecon_japan.css +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/themes/ossummit_europe.css +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/src/decktile/themes/ossummit_korea.css +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/tests/__init__.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/tests/test_cli.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/tests/test_geometry.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/tests/test_html.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/tests/test_ir.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/tests/test_odf_shapes.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/tests/test_odp.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/tests/test_parser.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/tests/test_pdg.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/tests/test_seaborn_styles.py +0 -0
- {decktile-0.3.0 → decktile-0.3.2}/tests/test_video.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: decktile
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: Markdown to designed slides: HTML, PDF and editable ODP
|
|
5
5
|
Author-Email: Reza Jelveh <git@jelveh.me>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -21,6 +21,9 @@ Requires-Dist: odfdo>=3.27.2
|
|
|
21
21
|
Requires-Dist: mermaidx>=0.8.1
|
|
22
22
|
Requires-Dist: python-lucide>=0.5.0
|
|
23
23
|
Requires-Dist: predictygraph>=0.3.0
|
|
24
|
+
Provides-Extra: plot
|
|
25
|
+
Requires-Dist: pillow>=11.0.0; extra == "plot"
|
|
26
|
+
Requires-Dist: seaborn>=0.13.2; extra == "plot"
|
|
24
27
|
Provides-Extra: docs
|
|
25
28
|
Requires-Dist: sphinx>=9.0.4; extra == "docs"
|
|
26
29
|
Requires-Dist: furo>=2025.12.19; extra == "docs"
|
|
@@ -71,9 +74,11 @@ style: | # raw CSS override
|
|
|
71
74
|
## Install
|
|
72
75
|
|
|
73
76
|
```bash
|
|
74
|
-
|
|
77
|
+
uv tool install 'decktile[plot]' # or: pipx install 'decktile[plot]'
|
|
75
78
|
```
|
|
76
79
|
|
|
80
|
+
`[plot]` adds seaborn/matplotlib for ```` ```seaborn ```` charts; drop it if you don't need them.
|
|
81
|
+
|
|
77
82
|
HTML output works everywhere. PDF and ODP output use WeasyPrint, which needs Pango
|
|
78
83
|
from your system:
|
|
79
84
|
|
|
@@ -42,9 +42,11 @@ style: | # raw CSS override
|
|
|
42
42
|
## Install
|
|
43
43
|
|
|
44
44
|
```bash
|
|
45
|
-
|
|
45
|
+
uv tool install 'decktile[plot]' # or: pipx install 'decktile[plot]'
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
+
`[plot]` adds seaborn/matplotlib for ```` ```seaborn ```` charts; drop it if you don't need them.
|
|
49
|
+
|
|
48
50
|
HTML output works everywhere. PDF and ODP output use WeasyPrint, which needs Pango
|
|
49
51
|
from your system:
|
|
50
52
|
|
|
@@ -23,7 +23,7 @@ dependencies = [
|
|
|
23
23
|
]
|
|
24
24
|
requires-python = ">=3.11"
|
|
25
25
|
readme = "README.md"
|
|
26
|
-
version = "0.3.
|
|
26
|
+
version = "0.3.2"
|
|
27
27
|
|
|
28
28
|
[project.license]
|
|
29
29
|
text = "Apache-2.0"
|
|
@@ -37,6 +37,10 @@ Homepage = "https://github.com/decktile/decktile"
|
|
|
37
37
|
Source = "https://github.com/decktile/decktile"
|
|
38
38
|
|
|
39
39
|
[project.optional-dependencies]
|
|
40
|
+
plot = [
|
|
41
|
+
"pillow>=11.0.0",
|
|
42
|
+
"seaborn>=0.13.2",
|
|
43
|
+
]
|
|
40
44
|
docs = [
|
|
41
45
|
"sphinx>=9.0.4",
|
|
42
46
|
"furo>=2025.12.19",
|
|
@@ -54,10 +58,6 @@ dev = [
|
|
|
54
58
|
"pytest>=9.1.1",
|
|
55
59
|
"pytest-cov>=7.1.0",
|
|
56
60
|
]
|
|
57
|
-
plot = [
|
|
58
|
-
"pillow>=11.0.0",
|
|
59
|
-
"seaborn>=0.13.2",
|
|
60
|
-
]
|
|
61
61
|
|
|
62
62
|
[tool.pytest.ini_options]
|
|
63
63
|
testpaths = [
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2026 Reza Jelveh
|
|
2
|
+
#
|
|
3
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
|
|
5
|
+
"""Seaborn/matplotlib style for the KubeCon NA 2026 theme.
|
|
6
|
+
|
|
7
|
+
Colors from the Title slide: blue #113E82, magenta #D62293, green #2E9C68,
|
|
8
|
+
yellow #E8C400 (darkened #FFEE88 so it reads on white), navy #052243.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
PALETTE = [
|
|
12
|
+
"#113E82", # blue, primary
|
|
13
|
+
"#D62293", # magenta
|
|
14
|
+
"#2E9C68", # green
|
|
15
|
+
"#E8C400", # yellow
|
|
16
|
+
"#40BE95", # mint
|
|
17
|
+
"#052243", # navy
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
STYLE = {
|
|
21
|
+
"seaborn_palette": PALETTE,
|
|
22
|
+
"font.family": "sans-serif",
|
|
23
|
+
"font.sans-serif": ["Roboto", "Arial", "Helvetica Neue", "sans-serif"],
|
|
24
|
+
"axes.facecolor": "#ffffff",
|
|
25
|
+
"axes.edgecolor": "#052243",
|
|
26
|
+
"axes.labelcolor": "#052243",
|
|
27
|
+
"axes.titlecolor": "#052243",
|
|
28
|
+
"text.color": "#052243",
|
|
29
|
+
"figure.facecolor": "#ffffff",
|
|
30
|
+
"xtick.color": "#5A6F8E",
|
|
31
|
+
"ytick.color": "#5A6F8E",
|
|
32
|
+
"grid.color": "#E3F6FF",
|
|
33
|
+
"patch.edgecolor": "#ffffff",
|
|
34
|
+
"patch.force_edgecolor": True,
|
|
35
|
+
}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/* decktile KubeCon CloudNativeCon North America 2026 theme
|
|
2
|
+
Colors from the official Title slide: blue #113E82, navy #052243,
|
|
3
|
+
magenta #D62293, green #2E9C68/#40BE95, yellow #FFEE88, ice #E3F6FF */
|
|
4
|
+
|
|
5
|
+
:root {
|
|
6
|
+
--color-background: #ffffff;
|
|
7
|
+
--color-background-stripe: #E3F6FF;
|
|
8
|
+
--color-foreground: #052243;
|
|
9
|
+
--color-dimmed: #5A6F8E;
|
|
10
|
+
--color-accent: #113E82;
|
|
11
|
+
--color-accent-bg: rgba(17, 62, 130, 0.10);
|
|
12
|
+
--color-border: #ADC5EF;
|
|
13
|
+
--color-card-bg: #F3F8FF;
|
|
14
|
+
--bg-image: url("assets/brand/kubecon_na/background.png");
|
|
15
|
+
--bg-overlay: rgba(255,255,255,0.88);
|
|
16
|
+
--logo-dark: url("assets/brand/dynamia-logo-white.png");
|
|
17
|
+
--tag-green-bg: #E6F5EE;
|
|
18
|
+
--tag-cyan-bg: #E3F6FF;
|
|
19
|
+
--tag-yellow-bg: #FFF9DB;
|
|
20
|
+
--tag-red-bg: #FBE6F2;
|
|
21
|
+
--tag-default-bg: #F3F8FF;
|
|
22
|
+
--tag-green-border: #2E9C68;
|
|
23
|
+
--tag-cyan-border: #113E82;
|
|
24
|
+
--tag-yellow-border: #D9B800;
|
|
25
|
+
--tag-red-border: #D62293;
|
|
26
|
+
--tag-default-border: #ADC5EF;
|
|
27
|
+
|
|
28
|
+
--color-accent-primary: #113E82;
|
|
29
|
+
--color-accent-secondary: #D62293;
|
|
30
|
+
--color-accent-contrast: #2E9C68;
|
|
31
|
+
--list-style: "\25B8 ";
|
|
32
|
+
--card-border: 1px solid #ADC5EF;
|
|
33
|
+
--title-h1-size: 2em;
|
|
34
|
+
--title-subtitle-size: 1em;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
body {
|
|
38
|
+
background: #113E82;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[data-theme="dark"] {
|
|
42
|
+
--color-background: #052243;
|
|
43
|
+
--color-background-stripe: #0B2E57;
|
|
44
|
+
--color-foreground: #E3F6FF;
|
|
45
|
+
--color-dimmed: #ADC5EF;
|
|
46
|
+
--color-accent: #FFEE88;
|
|
47
|
+
--color-accent-bg: rgba(255, 238, 136, 0.12);
|
|
48
|
+
--color-border: #1E4B8A;
|
|
49
|
+
--color-card-bg: #0B2E57;
|
|
50
|
+
--bg-overlay: rgba(5, 34, 67, 0.88);
|
|
51
|
+
--tag-green-bg: #0E3A3A;
|
|
52
|
+
--tag-cyan-bg: #0E3360;
|
|
53
|
+
--tag-yellow-bg: #3A3A20;
|
|
54
|
+
--tag-red-bg: #3D1640;
|
|
55
|
+
--tag-default-bg: #0B2E57;
|
|
56
|
+
--tag-green-border: #40BE95;
|
|
57
|
+
--tag-cyan-border: #ADC5EF;
|
|
58
|
+
--tag-yellow-border: #FFEE88;
|
|
59
|
+
--tag-red-border: #E85BB4;
|
|
60
|
+
--tag-default-border: #1E4B8A;
|
|
61
|
+
|
|
62
|
+
--color-accent-primary: #FFEE88;
|
|
63
|
+
--color-accent-secondary: #E85BB4;
|
|
64
|
+
--color-accent-contrast: #40BE95;
|
|
65
|
+
--card-border: 1px solid #1E4B8A;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
section {
|
|
69
|
+
background: linear-gradient(var(--bg-overlay), var(--bg-overlay)), var(--bg-image) left top / cover no-repeat;
|
|
70
|
+
color: var(--color-foreground);
|
|
71
|
+
font-family: Roboto, Arial, "Helvetica Neue", sans-serif;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
section::after {
|
|
75
|
+
opacity: 0.9;
|
|
76
|
+
}
|
|
77
|
+
.layout-title::after {
|
|
78
|
+
background-image: none;
|
|
79
|
+
}
|
|
80
|
+
/* Title: the pptx Title slide as is, blue with the illustration strip along the bottom;
|
|
81
|
+
content sits in the blue upper half like the pptx title box */
|
|
82
|
+
.layout-title {
|
|
83
|
+
background: var(--bg-image) left top / cover no-repeat;
|
|
84
|
+
color: #ffffff;
|
|
85
|
+
justify-content: flex-start;
|
|
86
|
+
padding-top: 1.6em;
|
|
87
|
+
}
|
|
88
|
+
.layout-title h1,
|
|
89
|
+
.layout-title .subtitle { max-width: 72%; }
|
|
90
|
+
.layout-title h1 { margin-bottom: 0.1em; }
|
|
91
|
+
.layout-title .speaker { margin-top: 0.2em; text-shadow: 0 1px 3px rgba(5,34,67,0.9); }
|
|
92
|
+
/* Several speakers sit side by side so they stay above the illustration */
|
|
93
|
+
.layout-title .speaker:has(+ .speaker),
|
|
94
|
+
.layout-title .speaker + .speaker { display: inline-block; vertical-align: top; width: 30%; margin-right: 2%; font-size: 0.85em; }
|
|
95
|
+
.layout-title h1,
|
|
96
|
+
.layout-title h2,
|
|
97
|
+
.layout-title h3,
|
|
98
|
+
.layout-title h4,
|
|
99
|
+
.layout-title h5,
|
|
100
|
+
.layout-title h6 { color: #ffffff; }
|
|
101
|
+
.layout-title .kicker { color: #FFEE88; }
|
|
102
|
+
.layout-title .subtitle { color: #E3F6FF; }
|
|
103
|
+
.layout-title .speaker { color: rgba(255,255,255,0.9); }
|
|
104
|
+
.layout-title .speaker .role { color: #ADC5EF; }
|
|
105
|
+
.layout-title .speaker-links a { color: rgba(255,255,255,0.8); }
|
|
106
|
+
.layout-title .speaker-links svg { stroke: rgba(255,255,255,0.8); }
|
|
107
|
+
|
|
108
|
+
.layout-title { --logo: var(--logo-dark); }
|
|
109
|
+
|
|
110
|
+
h1, h2, h3, h4, h5, h6 {
|
|
111
|
+
color: var(--color-foreground);
|
|
112
|
+
font-family: Roboto, Arial, "Helvetica Neue", sans-serif;
|
|
113
|
+
}
|
|
114
|
+
h1 { font-size: 2.5em; font-weight: 700; }
|
|
115
|
+
h2 { font-size: 1.8em; padding-top: 0; margin-bottom: 0.15em; }
|
|
116
|
+
h3 { font-size: 1.15em; }
|
|
117
|
+
h4 { font-size: 0.85em; }
|
|
118
|
+
h3::after {
|
|
119
|
+
display: block;
|
|
120
|
+
content: "";
|
|
121
|
+
width: 100%;
|
|
122
|
+
height: 0;
|
|
123
|
+
border-bottom: 2px solid var(--color-accent-secondary);
|
|
124
|
+
margin-top: 0.3em;
|
|
125
|
+
opacity: 0.5;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
li { font-size: 0.9em; padding-left: 0.3em; }
|
|
129
|
+
ul li::marker { color: var(--color-accent-secondary); font-weight: bold; }
|
|
130
|
+
|
|
131
|
+
blockquote {
|
|
132
|
+
border-left-color: var(--color-accent-secondary);
|
|
133
|
+
color: var(--color-dimmed);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
th { background: var(--color-accent-bg); color: var(--color-foreground); font-weight: 700; }
|
|
137
|
+
th, td { border: 1px solid var(--color-border); }
|
|
138
|
+
tr:nth-child(even) { background: var(--color-background-stripe); }
|
|
139
|
+
|
|
140
|
+
a { color: var(--color-accent-secondary); }
|
|
141
|
+
|
|
142
|
+
.card {
|
|
143
|
+
background: var(--color-card-bg);
|
|
144
|
+
border: var(--card-border);
|
|
145
|
+
}
|
|
146
|
+
.card p { font-size: 0.9em; }
|
|
147
|
+
|
|
148
|
+
.quote { border-left-color: var(--color-accent-secondary); color: var(--color-accent-primary); }
|
|
149
|
+
|
|
150
|
+
.kicker { color: var(--color-accent-secondary); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.75em; }
|
|
151
|
+
.speaker { color: var(--color-foreground); }
|
|
152
|
+
.speaker .role { color: var(--color-dimmed); }
|
|
153
|
+
|
|
154
|
+
footer { color: var(--color-dimmed); }
|
|
155
|
+
.slide-num { color: var(--color-dimmed); }
|
|
156
|
+
.layout-title footer,
|
|
157
|
+
.layout-title .slide-num { color: #E3F6FF; }
|
|
158
|
+
|
|
159
|
+
.subtitle { color: var(--color-dimmed); }
|
|
160
|
+
h2 + .subtitle { font-size: 0.85em; }
|
|
161
|
+
.tiny { font-size: 0.7em; color: var(--color-dimmed); }
|
|
162
|
+
.muted { color: var(--color-dimmed); }
|
|
163
|
+
|
|
164
|
+
.accent-primary { color: var(--color-accent-primary); fill: var(--color-accent-primary); stroke: var(--color-accent-primary); }
|
|
165
|
+
.accent-secondary { color: var(--color-accent-secondary); fill: var(--color-accent-secondary); stroke: var(--color-accent-secondary); }
|
|
166
|
+
.accent-contrast { color: var(--color-accent-contrast); fill: var(--color-accent-contrast); stroke: var(--color-accent-contrast); }
|
|
167
|
+
|
|
168
|
+
.tag-green { border-color: var(--tag-green-border); background: var(--tag-green-bg); }
|
|
169
|
+
.tag-cyan { border-color: var(--tag-cyan-border); background: var(--tag-cyan-bg); }
|
|
170
|
+
.tag-yellow { border-color: var(--tag-yellow-border); background: var(--tag-yellow-bg); }
|
|
171
|
+
.tag-red { border-color: var(--tag-red-border); background: var(--tag-red-bg); }
|
|
172
|
+
.tag-quote { border-left: 0.25em solid var(--color-accent-secondary); font-style: italic; background: none; }
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|