mjml-python 1.4.0__tar.gz → 1.4.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.
- mjml_python-1.4.2/.github/workflows/CI.yml +13 -0
- mjml_python-1.4.2/.github/workflows/Publish.yml +61 -0
- mjml_python-1.4.0/.github/workflows/CI.yml → mjml_python-1.4.2/.github/workflows/_build-wheels.yml +15 -65
- {mjml_python-1.4.0 → mjml_python-1.4.2}/.gitignore +1 -0
- {mjml_python-1.4.0 → mjml_python-1.4.2}/Cargo.lock +38 -28
- {mjml_python-1.4.0 → mjml_python-1.4.2}/Cargo.toml +3 -3
- {mjml_python-1.4.0 → mjml_python-1.4.2}/PKG-INFO +6 -8
- {mjml_python-1.4.0 → mjml_python-1.4.2}/README.md +5 -7
- {mjml_python-1.4.0 → mjml_python-1.4.2}/pyproject.toml +6 -0
- mjml_python-1.4.2/shell.nix +19 -0
- {mjml_python-1.4.0 → mjml_python-1.4.2}/tests/test_mjml2html.py +24 -0
- mjml_python-1.4.2/uv.lock +95 -0
- mjml_python-1.4.0/requirements.txt +0 -1
- mjml_python-1.4.0/shell.nix +0 -17
- {mjml_python-1.4.0 → mjml_python-1.4.2}/.github/FUNDING.yml +0 -0
- {mjml_python-1.4.0 → mjml_python-1.4.2}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {mjml_python-1.4.0 → mjml_python-1.4.2}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {mjml_python-1.4.0 → mjml_python-1.4.2}/CONTRIBUTING.md +0 -0
- {mjml_python-1.4.0 → mjml_python-1.4.2}/LICENSE +0 -0
- {mjml_python-1.4.0 → mjml_python-1.4.2}/SECURITY.md +0 -0
- {mjml_python-1.4.0 → mjml_python-1.4.2}/mjml.pyi +0 -0
- {mjml_python-1.4.0 → mjml_python-1.4.2}/src/lib.rs +0 -0
- {mjml_python-1.4.0 → mjml_python-1.4.2}/tests/__init__.py +0 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
name: Publish
|
|
2
|
+
permissions:
|
|
3
|
+
contents: read
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build:
|
|
10
|
+
uses: ./.github/workflows/_build-wheels.yml
|
|
11
|
+
with:
|
|
12
|
+
upload_artifacts: true
|
|
13
|
+
|
|
14
|
+
sdist:
|
|
15
|
+
needs: [ build ]
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v5
|
|
19
|
+
- name: Build source distribution
|
|
20
|
+
uses: PyO3/maturin-action@v1
|
|
21
|
+
with:
|
|
22
|
+
command: sdist
|
|
23
|
+
rust-toolchain: stable
|
|
24
|
+
args: -o dist
|
|
25
|
+
- name: Upload source distribution
|
|
26
|
+
uses: actions/upload-artifact@v6
|
|
27
|
+
with:
|
|
28
|
+
name: sdist
|
|
29
|
+
path: dist/*
|
|
30
|
+
retention-days: 1
|
|
31
|
+
|
|
32
|
+
publish_testpypi:
|
|
33
|
+
name: Publish to test.pypi.org
|
|
34
|
+
runs-on: ubuntu-latest
|
|
35
|
+
needs: [ build, sdist ]
|
|
36
|
+
permissions:
|
|
37
|
+
id-token: write
|
|
38
|
+
environment: testpypi
|
|
39
|
+
steps:
|
|
40
|
+
- uses: actions/download-artifact@v7
|
|
41
|
+
with:
|
|
42
|
+
path: dist
|
|
43
|
+
merge-multiple: true
|
|
44
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
45
|
+
with:
|
|
46
|
+
repository-url: https://test.pypi.org/legacy/
|
|
47
|
+
skip-existing: true
|
|
48
|
+
|
|
49
|
+
publish_pypi:
|
|
50
|
+
name: Publish to pypi.org
|
|
51
|
+
runs-on: ubuntu-latest
|
|
52
|
+
needs: [ build, sdist ]
|
|
53
|
+
permissions:
|
|
54
|
+
id-token: write
|
|
55
|
+
environment: pypi
|
|
56
|
+
steps:
|
|
57
|
+
- uses: actions/download-artifact@v7
|
|
58
|
+
with:
|
|
59
|
+
path: dist
|
|
60
|
+
merge-multiple: true
|
|
61
|
+
- uses: pypa/gh-action-pypi-publish@release/v1
|
mjml_python-1.4.0/.github/workflows/CI.yml → mjml_python-1.4.2/.github/workflows/_build-wheels.yml
RENAMED
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
name:
|
|
1
|
+
name: Build Wheels
|
|
2
2
|
permissions:
|
|
3
3
|
contents: read
|
|
4
4
|
|
|
5
5
|
on:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
workflow_call:
|
|
7
|
+
inputs:
|
|
8
|
+
upload_artifacts:
|
|
9
|
+
required: false
|
|
10
|
+
default: false
|
|
11
|
+
type: boolean
|
|
10
12
|
|
|
11
13
|
jobs:
|
|
12
14
|
tests:
|
|
13
15
|
runs-on: ubuntu-latest
|
|
14
16
|
steps:
|
|
15
17
|
- uses: actions/checkout@v5
|
|
18
|
+
- name: Install uv
|
|
19
|
+
uses: astral-sh/setup-uv@v8.2.0
|
|
16
20
|
- name: Run tests
|
|
17
21
|
run: |
|
|
18
22
|
set -euo pipefail
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
maturin develop
|
|
23
|
-
python -m unittest
|
|
23
|
+
uv sync --locked --no-install-project
|
|
24
|
+
uv run --locked --no-sync maturin develop
|
|
25
|
+
uv run --locked --no-sync python -m unittest
|
|
24
26
|
|
|
25
27
|
linux:
|
|
26
28
|
needs: [ tests ]
|
|
@@ -50,6 +52,7 @@ jobs:
|
|
|
50
52
|
container: ${{ matrix.platform.container }}
|
|
51
53
|
args: --release -o dist --find-interpreter
|
|
52
54
|
- name: Upload wheels
|
|
55
|
+
if: ${{ inputs.upload_artifacts }}
|
|
53
56
|
uses: actions/upload-artifact@v6
|
|
54
57
|
with:
|
|
55
58
|
name: wheel-linux-${{ matrix.platform.target }}
|
|
@@ -68,6 +71,7 @@ jobs:
|
|
|
68
71
|
rust-toolchain: stable
|
|
69
72
|
args: --release -o dist --find-interpreter
|
|
70
73
|
- name: Upload wheels
|
|
74
|
+
if: ${{ inputs.upload_artifacts }}
|
|
71
75
|
uses: actions/upload-artifact@v6
|
|
72
76
|
with:
|
|
73
77
|
name: wheel-windows
|
|
@@ -92,63 +96,9 @@ jobs:
|
|
|
92
96
|
rust-toolchain: stable
|
|
93
97
|
args: --release -o dist --find-interpreter --target ${{ matrix.target }}
|
|
94
98
|
- name: Upload wheels
|
|
99
|
+
if: ${{ inputs.upload_artifacts }}
|
|
95
100
|
uses: actions/upload-artifact@v6
|
|
96
101
|
with:
|
|
97
102
|
name: wheel-macos-${{ matrix.target }}
|
|
98
103
|
path: dist/*
|
|
99
104
|
retention-days: 1
|
|
100
|
-
|
|
101
|
-
sdist:
|
|
102
|
-
needs: [ tests ]
|
|
103
|
-
runs-on: ubuntu-latest
|
|
104
|
-
steps:
|
|
105
|
-
- uses: actions/checkout@v5
|
|
106
|
-
- name: Build source distribution
|
|
107
|
-
uses: PyO3/maturin-action@v1
|
|
108
|
-
with:
|
|
109
|
-
command: sdist
|
|
110
|
-
rust-toolchain: stable
|
|
111
|
-
args: -o dist
|
|
112
|
-
- name: Upload source distribution
|
|
113
|
-
uses: actions/upload-artifact@v6
|
|
114
|
-
with:
|
|
115
|
-
name: sdist
|
|
116
|
-
path: dist/*
|
|
117
|
-
retention-days: 1
|
|
118
|
-
|
|
119
|
-
publish_testpypi:
|
|
120
|
-
name: Publish to test.pypi.org
|
|
121
|
-
runs-on: ubuntu-latest
|
|
122
|
-
if: >
|
|
123
|
-
github.event_name == 'release' && github.event.action == 'published' && github.event.release.prerelease == true
|
|
124
|
-
needs: [ macos, windows, linux, sdist ]
|
|
125
|
-
permissions:
|
|
126
|
-
id-token: write
|
|
127
|
-
environment: testpypi
|
|
128
|
-
steps:
|
|
129
|
-
- uses: actions/download-artifact@v7
|
|
130
|
-
with:
|
|
131
|
-
path: dist
|
|
132
|
-
merge-multiple: true
|
|
133
|
-
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
134
|
-
with:
|
|
135
|
-
repository-url: https://test.pypi.org/legacy/
|
|
136
|
-
skip_existing: true
|
|
137
|
-
|
|
138
|
-
publish_pypi:
|
|
139
|
-
name: Publish to pypi.org
|
|
140
|
-
runs-on: ubuntu-latest
|
|
141
|
-
if: >
|
|
142
|
-
github.event_name == 'release' &&
|
|
143
|
-
(github.event.action == 'published' || github.event.action == 'released') &&
|
|
144
|
-
github.event.release.prerelease == false
|
|
145
|
-
needs: [ macos, windows, linux, sdist ]
|
|
146
|
-
permissions:
|
|
147
|
-
id-token: write
|
|
148
|
-
environment: pypi
|
|
149
|
-
steps:
|
|
150
|
-
- uses: actions/download-artifact@v7
|
|
151
|
-
with:
|
|
152
|
-
path: dist
|
|
153
|
-
merge-multiple: true
|
|
154
|
-
- uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -10,14 +10,14 @@ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
|
|
|
10
10
|
|
|
11
11
|
[[package]]
|
|
12
12
|
name = "enum-as-inner"
|
|
13
|
-
version = "0.
|
|
13
|
+
version = "0.7.0"
|
|
14
14
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
-
checksum = "
|
|
15
|
+
checksum = "0359ee92f81184d7985519e474bda2a5738476334edd3746c9b1265c067afe70"
|
|
16
16
|
dependencies = [
|
|
17
17
|
"heck",
|
|
18
18
|
"proc-macro2",
|
|
19
19
|
"quote",
|
|
20
|
-
"syn",
|
|
20
|
+
"syn 2.0.100",
|
|
21
21
|
]
|
|
22
22
|
|
|
23
23
|
[[package]]
|
|
@@ -29,7 +29,7 @@ dependencies = [
|
|
|
29
29
|
"once_cell",
|
|
30
30
|
"proc-macro2",
|
|
31
31
|
"quote",
|
|
32
|
-
"syn",
|
|
32
|
+
"syn 2.0.100",
|
|
33
33
|
]
|
|
34
34
|
|
|
35
35
|
[[package]]
|
|
@@ -69,9 +69,9 @@ dependencies = [
|
|
|
69
69
|
|
|
70
70
|
[[package]]
|
|
71
71
|
name = "itertools"
|
|
72
|
-
version = "0.
|
|
72
|
+
version = "0.14.0"
|
|
73
73
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
74
|
-
checksum = "
|
|
74
|
+
checksum = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285"
|
|
75
75
|
dependencies = [
|
|
76
76
|
"either",
|
|
77
77
|
]
|
|
@@ -96,7 +96,7 @@ checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"
|
|
|
96
96
|
|
|
97
97
|
[[package]]
|
|
98
98
|
name = "mjml-python"
|
|
99
|
-
version = "1.4.
|
|
99
|
+
version = "1.4.2"
|
|
100
100
|
dependencies = [
|
|
101
101
|
"mrml",
|
|
102
102
|
"pyo3",
|
|
@@ -104,9 +104,9 @@ dependencies = [
|
|
|
104
104
|
|
|
105
105
|
[[package]]
|
|
106
106
|
name = "mrml"
|
|
107
|
-
version = "
|
|
107
|
+
version = "6.0.1"
|
|
108
108
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
109
|
-
checksum = "
|
|
109
|
+
checksum = "3a92ff9ad398a7d556481a607b912370999bc6441537c90a979c16d73c91a832"
|
|
110
110
|
dependencies = [
|
|
111
111
|
"enum-as-inner",
|
|
112
112
|
"enum_dispatch",
|
|
@@ -142,9 +142,9 @@ dependencies = [
|
|
|
142
142
|
|
|
143
143
|
[[package]]
|
|
144
144
|
name = "pyo3"
|
|
145
|
-
version = "0.
|
|
145
|
+
version = "0.29.0"
|
|
146
146
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
147
|
-
checksum = "
|
|
147
|
+
checksum = "cd274650b21d4bfc26a0a47587962c1edb425f69287324355cd040c3ea66071c"
|
|
148
148
|
dependencies = [
|
|
149
149
|
"libc",
|
|
150
150
|
"once_cell",
|
|
@@ -156,18 +156,18 @@ dependencies = [
|
|
|
156
156
|
|
|
157
157
|
[[package]]
|
|
158
158
|
name = "pyo3-build-config"
|
|
159
|
-
version = "0.
|
|
159
|
+
version = "0.29.0"
|
|
160
160
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
161
|
-
checksum = "
|
|
161
|
+
checksum = "c5e2a7d2f0d013342f295c048ad19237add5154a55b1c5a254c0ec93d4109078"
|
|
162
162
|
dependencies = [
|
|
163
163
|
"target-lexicon",
|
|
164
164
|
]
|
|
165
165
|
|
|
166
166
|
[[package]]
|
|
167
167
|
name = "pyo3-ffi"
|
|
168
|
-
version = "0.
|
|
168
|
+
version = "0.29.0"
|
|
169
169
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
170
|
-
checksum = "
|
|
170
|
+
checksum = "ca85c467da1bbc8d866eea5deff9cf29ea5f7785054a17da36e65bda9c05845b"
|
|
171
171
|
dependencies = [
|
|
172
172
|
"libc",
|
|
173
173
|
"pyo3-build-config",
|
|
@@ -175,27 +175,26 @@ dependencies = [
|
|
|
175
175
|
|
|
176
176
|
[[package]]
|
|
177
177
|
name = "pyo3-macros"
|
|
178
|
-
version = "0.
|
|
178
|
+
version = "0.29.0"
|
|
179
179
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
180
|
-
checksum = "
|
|
180
|
+
checksum = "9ac53762fd065daa3194dd09337a38bd793a188100fd1a9304c4ab312d901771"
|
|
181
181
|
dependencies = [
|
|
182
182
|
"proc-macro2",
|
|
183
183
|
"pyo3-macros-backend",
|
|
184
184
|
"quote",
|
|
185
|
-
"syn",
|
|
185
|
+
"syn 2.0.100",
|
|
186
186
|
]
|
|
187
187
|
|
|
188
188
|
[[package]]
|
|
189
189
|
name = "pyo3-macros-backend"
|
|
190
|
-
version = "0.
|
|
190
|
+
version = "0.29.0"
|
|
191
191
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
192
|
-
checksum = "
|
|
192
|
+
checksum = "4ca3a1557399783172dc5bf39cfca835157732532cba56b71d2292161e53b362"
|
|
193
193
|
dependencies = [
|
|
194
194
|
"heck",
|
|
195
195
|
"proc-macro2",
|
|
196
|
-
"pyo3-build-config",
|
|
197
196
|
"quote",
|
|
198
|
-
"syn",
|
|
197
|
+
"syn 2.0.100",
|
|
199
198
|
]
|
|
200
199
|
|
|
201
200
|
[[package]]
|
|
@@ -236,7 +235,7 @@ checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
|
|
|
236
235
|
dependencies = [
|
|
237
236
|
"proc-macro2",
|
|
238
237
|
"quote",
|
|
239
|
-
"syn",
|
|
238
|
+
"syn 2.0.100",
|
|
240
239
|
]
|
|
241
240
|
|
|
242
241
|
[[package]]
|
|
@@ -262,6 +261,17 @@ dependencies = [
|
|
|
262
261
|
"unicode-ident",
|
|
263
262
|
]
|
|
264
263
|
|
|
264
|
+
[[package]]
|
|
265
|
+
name = "syn"
|
|
266
|
+
version = "3.0.4"
|
|
267
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
268
|
+
checksum = "e6275cddf4610d1775e6d1fe9469b2e77d0f39fd98fb7450901b821e0c53649f"
|
|
269
|
+
dependencies = [
|
|
270
|
+
"proc-macro2",
|
|
271
|
+
"quote",
|
|
272
|
+
"unicode-ident",
|
|
273
|
+
]
|
|
274
|
+
|
|
265
275
|
[[package]]
|
|
266
276
|
name = "target-lexicon"
|
|
267
277
|
version = "0.13.3"
|
|
@@ -270,22 +280,22 @@ checksum = "df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c"
|
|
|
270
280
|
|
|
271
281
|
[[package]]
|
|
272
282
|
name = "thiserror"
|
|
273
|
-
version = "
|
|
283
|
+
version = "2.0.20"
|
|
274
284
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
275
|
-
checksum = "
|
|
285
|
+
checksum = "ec86235f5fcc2a73650310756d2ac5b138a5780bbbdfae3eeccec992c435ba4f"
|
|
276
286
|
dependencies = [
|
|
277
287
|
"thiserror-impl",
|
|
278
288
|
]
|
|
279
289
|
|
|
280
290
|
[[package]]
|
|
281
291
|
name = "thiserror-impl"
|
|
282
|
-
version = "
|
|
292
|
+
version = "2.0.20"
|
|
283
293
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
284
|
-
checksum = "
|
|
294
|
+
checksum = "bc04cd3e1236dd4a98afca4569f2deb3f120e5422a4023be2cb683f8486292af"
|
|
285
295
|
dependencies = [
|
|
286
296
|
"proc-macro2",
|
|
287
297
|
"quote",
|
|
288
|
-
"syn",
|
|
298
|
+
"syn 3.0.4",
|
|
289
299
|
]
|
|
290
300
|
|
|
291
301
|
[[package]]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "mjml-python"
|
|
3
|
-
version = "1.4.
|
|
3
|
+
version = "1.4.2"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
|
|
@@ -10,5 +10,5 @@ name = "mjml"
|
|
|
10
10
|
crate-type = ["cdylib"]
|
|
11
11
|
|
|
12
12
|
[dependencies]
|
|
13
|
-
mrml = "
|
|
14
|
-
pyo3 = { version = "0.
|
|
13
|
+
mrml = { version = "6.0.0" }
|
|
14
|
+
pyo3 = { version = "~0.29.0", features = ["abi3-py38", "extension-module"] }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mjml-python
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.2
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -141,7 +141,7 @@ send_mail(
|
|
|
141
141
|
|
|
142
142
|
- **No external services or subprocesses required** – rendering is performed entirely inside the Python extension using the embedded Rust MJML engine. No Node.js installation, MJML CLI, or HTTP API needed.
|
|
143
143
|
|
|
144
|
-
- **Stable wheel builds** – lightweight ABI-3 wheels for all major platforms (CPython 3.
|
|
144
|
+
- **Stable wheel builds** – lightweight ABI-3 wheels for all major platforms (CPython 3.8+), fast installation, and no compilation required on typical environments.
|
|
145
145
|
|
|
146
146
|
**In short:** `mjml-python` is ideal when you want a straightforward, Python-friendly way to render MJML without dealing with the full MRML configuration surface or external tooling.
|
|
147
147
|
|
|
@@ -153,13 +153,11 @@ With [Nix](https://nixos.org/):
|
|
|
153
153
|
nix-shell
|
|
154
154
|
```
|
|
155
155
|
|
|
156
|
-
With Python 3.
|
|
156
|
+
With Python 3.8+, uv, Rust 1.83+ and Cargo installed:
|
|
157
157
|
|
|
158
158
|
```sh
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
maturin develop
|
|
163
|
-
python -m unittest
|
|
159
|
+
uv sync --locked --no-install-project
|
|
160
|
+
uv run --locked --no-sync maturin develop
|
|
161
|
+
uv run --locked --no-sync python -m unittest
|
|
164
162
|
```
|
|
165
163
|
|
|
@@ -127,7 +127,7 @@ send_mail(
|
|
|
127
127
|
|
|
128
128
|
- **No external services or subprocesses required** – rendering is performed entirely inside the Python extension using the embedded Rust MJML engine. No Node.js installation, MJML CLI, or HTTP API needed.
|
|
129
129
|
|
|
130
|
-
- **Stable wheel builds** – lightweight ABI-3 wheels for all major platforms (CPython 3.
|
|
130
|
+
- **Stable wheel builds** – lightweight ABI-3 wheels for all major platforms (CPython 3.8+), fast installation, and no compilation required on typical environments.
|
|
131
131
|
|
|
132
132
|
**In short:** `mjml-python` is ideal when you want a straightforward, Python-friendly way to render MJML without dealing with the full MRML configuration surface or external tooling.
|
|
133
133
|
|
|
@@ -139,12 +139,10 @@ With [Nix](https://nixos.org/):
|
|
|
139
139
|
nix-shell
|
|
140
140
|
```
|
|
141
141
|
|
|
142
|
-
With Python 3.
|
|
142
|
+
With Python 3.8+, uv, Rust 1.83+ and Cargo installed:
|
|
143
143
|
|
|
144
144
|
```sh
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
maturin develop
|
|
149
|
-
python -m unittest
|
|
145
|
+
uv sync --locked --no-install-project
|
|
146
|
+
uv run --locked --no-sync maturin develop
|
|
147
|
+
uv run --locked --no-sync python -m unittest
|
|
150
148
|
```
|
|
@@ -15,6 +15,12 @@ classifiers = [
|
|
|
15
15
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
16
16
|
"License :: OSI Approved :: MIT License",
|
|
17
17
|
]
|
|
18
|
+
dependencies = []
|
|
19
|
+
|
|
20
|
+
[dependency-groups]
|
|
21
|
+
dev = [
|
|
22
|
+
"maturin>=1.8.3,<2",
|
|
23
|
+
]
|
|
18
24
|
|
|
19
25
|
[project.urls]
|
|
20
26
|
"Homepage" = "https://github.com/mgd020/mjml-python"
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{ pkgs ? import (builtins.fetchTarball {
|
|
2
|
+
url = "https://github.com/NixOS/nixpkgs/archive/nixos-26.05.tar.gz";
|
|
3
|
+
sha256 = "0psddc9n3c56xzs235x1c5pzm1sfcvi2gf70d30c1c0q2vsg16cb";
|
|
4
|
+
}) {} }:
|
|
5
|
+
|
|
6
|
+
pkgs.mkShell {
|
|
7
|
+
nativeBuildInputs = with pkgs.buildPackages; [
|
|
8
|
+
# https://search.nixos.org/packages
|
|
9
|
+
cargo
|
|
10
|
+
python3
|
|
11
|
+
rustc
|
|
12
|
+
uv
|
|
13
|
+
] ++ lib.optional stdenv.isDarwin libiconv;
|
|
14
|
+
shellHook = ''
|
|
15
|
+
unset VIRTUAL_ENV
|
|
16
|
+
uv sync --locked --no-install-project
|
|
17
|
+
uv run --locked --no-sync maturin develop
|
|
18
|
+
'';
|
|
19
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import unittest
|
|
2
|
+
|
|
2
3
|
from mjml import mjml2html
|
|
3
4
|
|
|
4
5
|
|
|
@@ -171,3 +172,26 @@ class TestIncludeLoader(unittest.TestCase):
|
|
|
171
172
|
result,
|
|
172
173
|
r"<style type=\"text/css\">.some-class { font-family: monospace }</style>",
|
|
173
174
|
)
|
|
175
|
+
|
|
176
|
+
def test_include_at_root(self):
|
|
177
|
+
strings = {
|
|
178
|
+
"body.mjml": """
|
|
179
|
+
<mj-body>
|
|
180
|
+
<mj-section>
|
|
181
|
+
<mj-column>
|
|
182
|
+
<mj-text>Hello from the root include</mj-text>
|
|
183
|
+
</mj-column>
|
|
184
|
+
</mj-section>
|
|
185
|
+
</mj-body>
|
|
186
|
+
"""
|
|
187
|
+
}
|
|
188
|
+
result = mjml2html(
|
|
189
|
+
"""
|
|
190
|
+
<mjml>
|
|
191
|
+
<mj-include path="body.mjml" />
|
|
192
|
+
</mjml>
|
|
193
|
+
""",
|
|
194
|
+
include_loader=strings.__getitem__,
|
|
195
|
+
)
|
|
196
|
+
self.assertRegex(result, r"^<!doctype html>")
|
|
197
|
+
self.assertRegex(result, r">Hello from the root include<")
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
version = 1
|
|
2
|
+
revision = 3
|
|
3
|
+
requires-python = ">=3.8"
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "maturin"
|
|
7
|
+
version = "1.14.1"
|
|
8
|
+
source = { registry = "https://pypi.org/simple" }
|
|
9
|
+
dependencies = [
|
|
10
|
+
{ name = "tomli", marker = "python_full_version < '3.11'" },
|
|
11
|
+
]
|
|
12
|
+
sdist = { url = "https://files.pythonhosted.org/packages/e7/b3/addd877f871fb1860d46d3a4f206ecb10b946c85846805e6367631926fd3/maturin-1.14.1.tar.gz", hash = "sha256:9d6577a62cd08e0ceba7a0db06fb098e0c9b1b3429bad747a4f3a18215a1b3df", size = 369637, upload-time = "2026-06-19T05:19:49.774Z" }
|
|
13
|
+
wheels = [
|
|
14
|
+
{ url = "https://files.pythonhosted.org/packages/f4/f0/97c5a5bd9c71653a066c0976a484eaaae50b9369557838a4176b7b0bdaa5/maturin-1.14.1-py3-none-linux_armv6l.whl", hash = "sha256:522292398945442cdafa9daeb2271b2340fbde57027b818f923f88eab04174f8", size = 10207496, upload-time = "2026-06-19T05:19:09.321Z" },
|
|
15
|
+
{ url = "https://files.pythonhosted.org/packages/fe/83/294bca639b0e052f1e2f65199b3db258780c7d4e31408b934c9c974a1379/maturin-1.14.1-py3-none-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl", hash = "sha256:ffe5ad71f21d1e6603c4dd75f7fee34adf5ed5ebcebb692886549888ebb329ed", size = 19680113, upload-time = "2026-06-19T05:19:13.43Z" },
|
|
16
|
+
{ url = "https://files.pythonhosted.org/packages/43/b6/79c881410a3b1c187f7eb3d407aecae646c6a4433d630d72200359015e83/maturin-1.14.1-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:f3306078070c1508fd715b9116070cbcaff5959024272a9f1e6f5cb29768b86c", size = 10169205, upload-time = "2026-06-19T05:19:16.615Z" },
|
|
17
|
+
{ url = "https://files.pythonhosted.org/packages/93/9d/44b6f26dcb7f7a04c5501ac2dbb6ca1490150682baa525ca5860504f9eab/maturin-1.14.1-py3-none-manylinux_2_12_i686.manylinux2010_i686.musllinux_1_1_i686.whl", hash = "sha256:cd457cd88961156e26379e1155bd287cc0ec1c8b2f1582b0660fb31b87c8842d", size = 10188098, upload-time = "2026-06-19T05:19:19.736Z" },
|
|
18
|
+
{ url = "https://files.pythonhosted.org/packages/1a/bd/9c0d5d6983905ce2c9edaa073a7e89355a9cf7f396988e05d32f1c37785d/maturin-1.14.1-py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.musllinux_1_1_x86_64.whl", hash = "sha256:dfc54ae32e6fcb18302193ab9a30b0b25eefffba994ae13238974805533ef75e", size = 10627576, upload-time = "2026-06-19T05:19:22.713Z" },
|
|
19
|
+
{ url = "https://files.pythonhosted.org/packages/e5/33/b096412bd6a7cb399652b260666f901adf88a687181a6dbd6a3f89f0a94e/maturin-1.14.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.whl", hash = "sha256:a131d912b5267e640bc96d70f4914e10590aed64082ec9abacba7cea52004224", size = 10085181, upload-time = "2026-06-19T05:19:25.69Z" },
|
|
20
|
+
{ url = "https://files.pythonhosted.org/packages/56/8d/08c3bf469c38a23c9e6c877e338193001eb604d010fedc08341974e38528/maturin-1.14.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.musllinux_1_1_armv7l.whl", hash = "sha256:be18fc568fb76884c0205456336892a75105ec398e6b667cd777c6268bd06d69", size = 10026363, upload-time = "2026-06-19T05:19:28.904Z" },
|
|
21
|
+
{ url = "https://files.pythonhosted.org/packages/3a/a4/c4d1a92839f8745ab4aab988a7db884a79d6d710bd3b286fcf9316dece1a/maturin-1.14.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.musllinux_1_1_ppc64le.whl", hash = "sha256:994a0c8ba3ad8a92b3a9ee1b02645d200d610216b15cff5102b0fe65e8e08666", size = 13321347, upload-time = "2026-06-19T05:19:32.411Z" },
|
|
22
|
+
{ url = "https://files.pythonhosted.org/packages/b3/fa/170f04624d03fd07d2a8b1b67de83a127af93aef9eaa425839553347297b/maturin-1.14.1-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:be80866363e605d137991b491a741a84cde9ae350183c4c85f49690ca9aaaa65", size = 10877609, upload-time = "2026-06-19T05:19:35.448Z" },
|
|
23
|
+
{ url = "https://files.pythonhosted.org/packages/61/ad/1ae2e1d0ded282bf2c55ac13f0811d87deb425e200ae64a15785675dede9/maturin-1.14.1-py3-none-manylinux_2_31_riscv64.musllinux_1_1_riscv64.whl", hash = "sha256:5282dffd4b539d2be245f4e5b1a5ab6bc1033b58f4a4872f5833f9d43c954aa4", size = 10417316, upload-time = "2026-06-19T05:19:38.28Z" },
|
|
24
|
+
{ url = "https://files.pythonhosted.org/packages/fb/27/bf677183920718da49cd7982d6a3ffc440aad8919329f571d189f81b7bdf/maturin-1.14.1-py3-none-win32.whl", hash = "sha256:1a04de0a20188f95c721b5702eed18140bdcccb28c386797093eca3f62f4d4e0", size = 8931293, upload-time = "2026-06-19T05:19:41.183Z" },
|
|
25
|
+
{ url = "https://files.pythonhosted.org/packages/63/4b/585adeb9167b08d3cdff0032a938b0e72655c92003df4f52c3f696a1bcc2/maturin-1.14.1-py3-none-win_amd64.whl", hash = "sha256:3c9f94640ecc4895e94abaf834a0684430032c865b2748a36c12461fd9252fdd", size = 10314067, upload-time = "2026-06-19T05:19:44.389Z" },
|
|
26
|
+
{ url = "https://files.pythonhosted.org/packages/51/d4/dac8c0720ae246be1700afb6fbdbbea20fe35b13f6570b2f70faa005df77/maturin-1.14.1-py3-none-win_arm64.whl", hash = "sha256:15cea8fcb3ba47dd636f50092bb34baea8b04ac777392f23e6bf8a9a61efb894", size = 9718943, upload-time = "2026-06-19T05:19:47.49Z" },
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
[[package]]
|
|
30
|
+
name = "mjml-python"
|
|
31
|
+
source = { editable = "." }
|
|
32
|
+
|
|
33
|
+
[package.dev-dependencies]
|
|
34
|
+
dev = [
|
|
35
|
+
{ name = "maturin" },
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
[package.metadata]
|
|
39
|
+
|
|
40
|
+
[package.metadata.requires-dev]
|
|
41
|
+
dev = [{ name = "maturin", specifier = ">=1.8.3,<2" }]
|
|
42
|
+
|
|
43
|
+
[[package]]
|
|
44
|
+
name = "tomli"
|
|
45
|
+
version = "2.4.1"
|
|
46
|
+
source = { registry = "https://pypi.org/simple" }
|
|
47
|
+
sdist = { url = "https://files.pythonhosted.org/packages/22/de/48c59722572767841493b26183a0d1cc411d54fd759c5607c4590b6563a6/tomli-2.4.1.tar.gz", hash = "sha256:7c7e1a961a0b2f2472c1ac5b69affa0ae1132c39adcb67aba98568702b9cc23f", size = 17543, upload-time = "2026-03-25T20:22:03.828Z" }
|
|
48
|
+
wheels = [
|
|
49
|
+
{ url = "https://files.pythonhosted.org/packages/f4/11/db3d5885d8528263d8adc260bb2d28ebf1270b96e98f0e0268d32b8d9900/tomli-2.4.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:f8f0fc26ec2cc2b965b7a3b87cd19c5c6b8c5e5f436b984e85f486d652285c30", size = 154704, upload-time = "2026-03-25T20:21:10.473Z" },
|
|
50
|
+
{ url = "https://files.pythonhosted.org/packages/6d/f7/675db52c7e46064a9aa928885a9b20f4124ecb9bc2e1ce74c9106648d202/tomli-2.4.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:4ab97e64ccda8756376892c53a72bd1f964e519c77236368527f758fbc36a53a", size = 149454, upload-time = "2026-03-25T20:21:12.036Z" },
|
|
51
|
+
{ url = "https://files.pythonhosted.org/packages/61/71/81c50943cf953efa35bce7646caab3cf457a7d8c030b27cfb40d7235f9ee/tomli-2.4.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:96481a5786729fd470164b47cdb3e0e58062a496f455ee41b4403be77cb5a076", size = 237561, upload-time = "2026-03-25T20:21:13.098Z" },
|
|
52
|
+
{ url = "https://files.pythonhosted.org/packages/48/c1/f41d9cb618acccca7df82aaf682f9b49013c9397212cb9f53219e3abac37/tomli-2.4.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:5a881ab208c0baf688221f8cecc5401bd291d67e38a1ac884d6736cbcd8247e9", size = 243824, upload-time = "2026-03-25T20:21:14.569Z" },
|
|
53
|
+
{ url = "https://files.pythonhosted.org/packages/22/e4/5a816ecdd1f8ca51fb756ef684b90f2780afc52fc67f987e3c61d800a46d/tomli-2.4.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:47149d5bd38761ac8be13a84864bf0b7b70bc051806bc3669ab1cbc56216b23c", size = 242227, upload-time = "2026-03-25T20:21:15.712Z" },
|
|
54
|
+
{ url = "https://files.pythonhosted.org/packages/6b/49/2b2a0ef529aa6eec245d25f0c703e020a73955ad7edf73e7f54ddc608aa5/tomli-2.4.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:ec9bfaf3ad2df51ace80688143a6a4ebc09a248f6ff781a9945e51937008fcbc", size = 247859, upload-time = "2026-03-25T20:21:17.001Z" },
|
|
55
|
+
{ url = "https://files.pythonhosted.org/packages/83/bd/6c1a630eaca337e1e78c5903104f831bda934c426f9231429396ce3c3467/tomli-2.4.1-cp311-cp311-win32.whl", hash = "sha256:ff2983983d34813c1aeb0fa89091e76c3a22889ee83ab27c5eeb45100560c049", size = 97204, upload-time = "2026-03-25T20:21:18.079Z" },
|
|
56
|
+
{ url = "https://files.pythonhosted.org/packages/42/59/71461df1a885647e10b6bb7802d0b8e66480c61f3f43079e0dcd315b3954/tomli-2.4.1-cp311-cp311-win_amd64.whl", hash = "sha256:5ee18d9ebdb417e384b58fe414e8d6af9f4e7a0ae761519fb50f721de398dd4e", size = 108084, upload-time = "2026-03-25T20:21:18.978Z" },
|
|
57
|
+
{ url = "https://files.pythonhosted.org/packages/b8/83/dceca96142499c069475b790e7913b1044c1a4337e700751f48ed723f883/tomli-2.4.1-cp311-cp311-win_arm64.whl", hash = "sha256:c2541745709bad0264b7d4705ad453b76ccd191e64aa6f0fc66b69a293a45ece", size = 95285, upload-time = "2026-03-25T20:21:20.309Z" },
|
|
58
|
+
{ url = "https://files.pythonhosted.org/packages/c1/ba/42f134a3fe2b370f555f44b1d72feebb94debcab01676bf918d0cb70e9aa/tomli-2.4.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:c742f741d58a28940ce01d58f0ab2ea3ced8b12402f162f4d534dfe18ba1cd6a", size = 155924, upload-time = "2026-03-25T20:21:21.626Z" },
|
|
59
|
+
{ url = "https://files.pythonhosted.org/packages/dc/c7/62d7a17c26487ade21c5422b646110f2162f1fcc95980ef7f63e73c68f14/tomli-2.4.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:7f86fd587c4ed9dd76f318225e7d9b29cfc5a9d43de44e5754db8d1128487085", size = 150018, upload-time = "2026-03-25T20:21:23.002Z" },
|
|
60
|
+
{ url = "https://files.pythonhosted.org/packages/5c/05/79d13d7c15f13bdef410bdd49a6485b1c37d28968314eabee452c22a7fda/tomli-2.4.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ff18e6a727ee0ab0388507b89d1bc6a22b138d1e2fa56d1ad494586d61d2eae9", size = 244948, upload-time = "2026-03-25T20:21:24.04Z" },
|
|
61
|
+
{ url = "https://files.pythonhosted.org/packages/10/90/d62ce007a1c80d0b2c93e02cab211224756240884751b94ca72df8a875ca/tomli-2.4.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:136443dbd7e1dee43c68ac2694fde36b2849865fa258d39bf822c10e8068eac5", size = 253341, upload-time = "2026-03-25T20:21:25.177Z" },
|
|
62
|
+
{ url = "https://files.pythonhosted.org/packages/1a/7e/caf6496d60152ad4ed09282c1885cca4eea150bfd007da84aea07bcc0a3e/tomli-2.4.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:5e262d41726bc187e69af7825504c933b6794dc3fbd5945e41a79bb14c31f585", size = 248159, upload-time = "2026-03-25T20:21:26.364Z" },
|
|
63
|
+
{ url = "https://files.pythonhosted.org/packages/99/e7/c6f69c3120de34bbd882c6fba7975f3d7a746e9218e56ab46a1bc4b42552/tomli-2.4.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:5cb41aa38891e073ee49d55fbc7839cfdb2bc0e600add13874d048c94aadddd1", size = 253290, upload-time = "2026-03-25T20:21:27.46Z" },
|
|
64
|
+
{ url = "https://files.pythonhosted.org/packages/d6/2f/4a3c322f22c5c66c4b836ec58211641a4067364f5dcdd7b974b4c5da300c/tomli-2.4.1-cp312-cp312-win32.whl", hash = "sha256:da25dc3563bff5965356133435b757a795a17b17d01dbc0f42fb32447ddfd917", size = 98141, upload-time = "2026-03-25T20:21:28.492Z" },
|
|
65
|
+
{ url = "https://files.pythonhosted.org/packages/24/22/4daacd05391b92c55759d55eaee21e1dfaea86ce5c571f10083360adf534/tomli-2.4.1-cp312-cp312-win_amd64.whl", hash = "sha256:52c8ef851d9a240f11a88c003eacb03c31fc1c9c4ec64a99a0f922b93874fda9", size = 108847, upload-time = "2026-03-25T20:21:29.386Z" },
|
|
66
|
+
{ url = "https://files.pythonhosted.org/packages/68/fd/70e768887666ddd9e9f5d85129e84910f2db2796f9096aa02b721a53098d/tomli-2.4.1-cp312-cp312-win_arm64.whl", hash = "sha256:f758f1b9299d059cc3f6546ae2af89670cb1c4d48ea29c3cacc4fe7de3058257", size = 95088, upload-time = "2026-03-25T20:21:30.677Z" },
|
|
67
|
+
{ url = "https://files.pythonhosted.org/packages/07/06/b823a7e818c756d9a7123ba2cda7d07bc2dd32835648d1a7b7b7a05d848d/tomli-2.4.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:36d2bd2ad5fb9eaddba5226aa02c8ec3fa4f192631e347b3ed28186d43be6b54", size = 155866, upload-time = "2026-03-25T20:21:31.65Z" },
|
|
68
|
+
{ url = "https://files.pythonhosted.org/packages/14/6f/12645cf7f08e1a20c7eb8c297c6f11d31c1b50f316a7e7e1e1de6e2e7b7e/tomli-2.4.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:eb0dc4e38e6a1fd579e5d50369aa2e10acfc9cace504579b2faabb478e76941a", size = 149887, upload-time = "2026-03-25T20:21:33.028Z" },
|
|
69
|
+
{ url = "https://files.pythonhosted.org/packages/5c/e0/90637574e5e7212c09099c67ad349b04ec4d6020324539297b634a0192b0/tomli-2.4.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c7f2c7f2b9ca6bdeef8f0fa897f8e05085923eb091721675170254cbc5b02897", size = 243704, upload-time = "2026-03-25T20:21:34.51Z" },
|
|
70
|
+
{ url = "https://files.pythonhosted.org/packages/10/8f/d3ddb16c5a4befdf31a23307f72828686ab2096f068eaf56631e136c1fdd/tomli-2.4.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:f3c6818a1a86dd6dca7ddcaaf76947d5ba31aecc28cb1b67009a5877c9a64f3f", size = 251628, upload-time = "2026-03-25T20:21:36.012Z" },
|
|
71
|
+
{ url = "https://files.pythonhosted.org/packages/e3/f1/dbeeb9116715abee2485bf0a12d07a8f31af94d71608c171c45f64c0469d/tomli-2.4.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:d312ef37c91508b0ab2cee7da26ec0b3ed2f03ce12bd87a588d771ae15dcf82d", size = 247180, upload-time = "2026-03-25T20:21:37.136Z" },
|
|
72
|
+
{ url = "https://files.pythonhosted.org/packages/d3/74/16336ffd19ed4da28a70959f92f506233bd7cfc2332b20bdb01591e8b1d1/tomli-2.4.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:51529d40e3ca50046d7606fa99ce3956a617f9b36380da3b7f0dd3dd28e68cb5", size = 251674, upload-time = "2026-03-25T20:21:38.298Z" },
|
|
73
|
+
{ url = "https://files.pythonhosted.org/packages/16/f9/229fa3434c590ddf6c0aa9af64d3af4b752540686cace29e6281e3458469/tomli-2.4.1-cp313-cp313-win32.whl", hash = "sha256:2190f2e9dd7508d2a90ded5ed369255980a1bcdd58e52f7fe24b8162bf9fedbd", size = 97976, upload-time = "2026-03-25T20:21:39.316Z" },
|
|
74
|
+
{ url = "https://files.pythonhosted.org/packages/6a/1e/71dfd96bcc1c775420cb8befe7a9d35f2e5b1309798f009dca17b7708c1e/tomli-2.4.1-cp313-cp313-win_amd64.whl", hash = "sha256:8d65a2fbf9d2f8352685bc1364177ee3923d6baf5e7f43ea4959d7d8bc326a36", size = 108755, upload-time = "2026-03-25T20:21:40.248Z" },
|
|
75
|
+
{ url = "https://files.pythonhosted.org/packages/83/7a/d34f422a021d62420b78f5c538e5b102f62bea616d1d75a13f0a88acb04a/tomli-2.4.1-cp313-cp313-win_arm64.whl", hash = "sha256:4b605484e43cdc43f0954ddae319fb75f04cc10dd80d830540060ee7cd0243cd", size = 95265, upload-time = "2026-03-25T20:21:41.219Z" },
|
|
76
|
+
{ url = "https://files.pythonhosted.org/packages/3c/fb/9a5c8d27dbab540869f7c1f8eb0abb3244189ce780ba9cd73f3770662072/tomli-2.4.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:fd0409a3653af6c147209d267a0e4243f0ae46b011aa978b1080359fddc9b6cf", size = 155726, upload-time = "2026-03-25T20:21:42.23Z" },
|
|
77
|
+
{ url = "https://files.pythonhosted.org/packages/62/05/d2f816630cc771ad836af54f5001f47a6f611d2d39535364f148b6a92d6b/tomli-2.4.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:a120733b01c45e9a0c34aeef92bf0cf1d56cfe81ed9d47d562f9ed591a9828ac", size = 149859, upload-time = "2026-03-25T20:21:43.386Z" },
|
|
78
|
+
{ url = "https://files.pythonhosted.org/packages/ce/48/66341bdb858ad9bd0ceab5a86f90eddab127cf8b046418009f2125630ecb/tomli-2.4.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:559db847dc486944896521f68d8190be1c9e719fced785720d2216fe7022b662", size = 244713, upload-time = "2026-03-25T20:21:44.474Z" },
|
|
79
|
+
{ url = "https://files.pythonhosted.org/packages/df/6d/c5fad00d82b3c7a3ab6189bd4b10e60466f22cfe8a08a9394185c8a8111c/tomli-2.4.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:01f520d4f53ef97964a240a035ec2a869fe1a37dde002b57ebc4417a27ccd853", size = 252084, upload-time = "2026-03-25T20:21:45.62Z" },
|
|
80
|
+
{ url = "https://files.pythonhosted.org/packages/00/71/3a69e86f3eafe8c7a59d008d245888051005bd657760e96d5fbfb0b740c2/tomli-2.4.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:7f94b27a62cfad8496c8d2513e1a222dd446f095fca8987fceef261225538a15", size = 247973, upload-time = "2026-03-25T20:21:46.937Z" },
|
|
81
|
+
{ url = "https://files.pythonhosted.org/packages/67/50/361e986652847fec4bd5e4a0208752fbe64689c603c7ae5ea7cb16b1c0ca/tomli-2.4.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:ede3e6487c5ef5d28634ba3f31f989030ad6af71edfb0055cbbd14189ff240ba", size = 256223, upload-time = "2026-03-25T20:21:48.467Z" },
|
|
82
|
+
{ url = "https://files.pythonhosted.org/packages/8c/9a/b4173689a9203472e5467217e0154b00e260621caa227b6fa01feab16998/tomli-2.4.1-cp314-cp314-win32.whl", hash = "sha256:3d48a93ee1c9b79c04bb38772ee1b64dcf18ff43085896ea460ca8dec96f35f6", size = 98973, upload-time = "2026-03-25T20:21:49.526Z" },
|
|
83
|
+
{ url = "https://files.pythonhosted.org/packages/14/58/640ac93bf230cd27d002462c9af0d837779f8773bc03dee06b5835208214/tomli-2.4.1-cp314-cp314-win_amd64.whl", hash = "sha256:88dceee75c2c63af144e456745e10101eb67361050196b0b6af5d717254dddf7", size = 109082, upload-time = "2026-03-25T20:21:50.506Z" },
|
|
84
|
+
{ url = "https://files.pythonhosted.org/packages/d5/2f/702d5e05b227401c1068f0d386d79a589bb12bf64c3d2c72ce0631e3bc49/tomli-2.4.1-cp314-cp314-win_arm64.whl", hash = "sha256:b8c198f8c1805dc42708689ed6864951fd2494f924149d3e4bce7710f8eb5232", size = 96490, upload-time = "2026-03-25T20:21:51.474Z" },
|
|
85
|
+
{ url = "https://files.pythonhosted.org/packages/45/4b/b877b05c8ba62927d9865dd980e34a755de541eb65fffba52b4cc495d4d2/tomli-2.4.1-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:d4d8fe59808a54658fcc0160ecfb1b30f9089906c50b23bcb4c69eddc19ec2b4", size = 164263, upload-time = "2026-03-25T20:21:52.543Z" },
|
|
86
|
+
{ url = "https://files.pythonhosted.org/packages/24/79/6ab420d37a270b89f7195dec5448f79400d9e9c1826df982f3f8e97b24fd/tomli-2.4.1-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7008df2e7655c495dd12d2a4ad038ff878d4ca4b81fccaf82b714e07eae4402c", size = 160736, upload-time = "2026-03-25T20:21:53.674Z" },
|
|
87
|
+
{ url = "https://files.pythonhosted.org/packages/02/e0/3630057d8eb170310785723ed5adcdfb7d50cb7e6455f85ba8a3deed642b/tomli-2.4.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1d8591993e228b0c930c4bb0db464bdad97b3289fb981255d6c9a41aedc84b2d", size = 270717, upload-time = "2026-03-25T20:21:55.129Z" },
|
|
88
|
+
{ url = "https://files.pythonhosted.org/packages/7a/b4/1613716072e544d1a7891f548d8f9ec6ce2faf42ca65acae01d76ea06bb0/tomli-2.4.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:734e20b57ba95624ecf1841e72b53f6e186355e216e5412de414e3c51e5e3c41", size = 278461, upload-time = "2026-03-25T20:21:56.228Z" },
|
|
89
|
+
{ url = "https://files.pythonhosted.org/packages/05/38/30f541baf6a3f6df77b3df16b01ba319221389e2da59427e221ef417ac0c/tomli-2.4.1-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:8a650c2dbafa08d42e51ba0b62740dae4ecb9338eefa093aa5c78ceb546fcd5c", size = 274855, upload-time = "2026-03-25T20:21:57.653Z" },
|
|
90
|
+
{ url = "https://files.pythonhosted.org/packages/77/a3/ec9dd4fd2c38e98de34223b995a3b34813e6bdadf86c75314c928350ed14/tomli-2.4.1-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:504aa796fe0569bb43171066009ead363de03675276d2d121ac1a4572397870f", size = 283144, upload-time = "2026-03-25T20:21:59.089Z" },
|
|
91
|
+
{ url = "https://files.pythonhosted.org/packages/ef/be/605a6261cac79fba2ec0c9827e986e00323a1945700969b8ee0b30d85453/tomli-2.4.1-cp314-cp314t-win32.whl", hash = "sha256:b1d22e6e9387bf4739fbe23bfa80e93f6b0373a7f1b96c6227c32bef95a4d7a8", size = 108683, upload-time = "2026-03-25T20:22:00.214Z" },
|
|
92
|
+
{ url = "https://files.pythonhosted.org/packages/12/64/da524626d3b9cc40c168a13da8335fe1c51be12c0a63685cc6db7308daae/tomli-2.4.1-cp314-cp314t-win_amd64.whl", hash = "sha256:2c1c351919aca02858f740c6d33adea0c5deea37f9ecca1cc1ef9e884a619d26", size = 121196, upload-time = "2026-03-25T20:22:01.169Z" },
|
|
93
|
+
{ url = "https://files.pythonhosted.org/packages/5a/cd/e80b62269fc78fc36c9af5a6b89c835baa8af28ff5ad28c7028d60860320/tomli-2.4.1-cp314-cp314t-win_arm64.whl", hash = "sha256:eab21f45c7f66c13f2a9e0e1535309cee140182a9cdae1e041d02e47291e8396", size = 100393, upload-time = "2026-03-25T20:22:02.137Z" },
|
|
94
|
+
{ url = "https://files.pythonhosted.org/packages/7b/61/cceae43728b7de99d9b847560c262873a1f6c98202171fd5ed62640b494b/tomli-2.4.1-py3-none-any.whl", hash = "sha256:0d85819802132122da43cb86656f8d1f8c6587d54ae7dcaf30e90533028b49fe", size = 14583, upload-time = "2026-03-25T20:22:03.012Z" },
|
|
95
|
+
]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
maturin>=1.8.3,<2
|
mjml_python-1.4.0/shell.nix
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{ pkgs ? import <nixpkgs> {} }:
|
|
2
|
-
|
|
3
|
-
pkgs.mkShell {
|
|
4
|
-
nativeBuildInputs = with pkgs.buildPackages; [
|
|
5
|
-
# https://search.nixos.org/packages
|
|
6
|
-
python3
|
|
7
|
-
rustc
|
|
8
|
-
cargo
|
|
9
|
-
] ++ lib.optional stdenv.isDarwin libiconv;
|
|
10
|
-
shellHook = ''
|
|
11
|
-
export VIRTUAL_ENV_DISABLE_PROMPT=1
|
|
12
|
-
python3 -m venv .env
|
|
13
|
-
. .env/bin/activate
|
|
14
|
-
pip install -r requirements.txt
|
|
15
|
-
maturin develop
|
|
16
|
-
'';
|
|
17
|
-
}
|
|
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
|