pdfwright 0.2.0__tar.gz → 0.2.1__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.
- {pdfwright-0.2.0 → pdfwright-0.2.1}/PKG-INFO +3 -3
- {pdfwright-0.2.0 → pdfwright-0.2.1}/pyproject.toml +3 -3
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/__init__.py +1 -1
- {pdfwright-0.2.0 → pdfwright-0.2.1}/.gitignore +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/README.md +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/examples/contract.json +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/examples/cooperation_contract.json +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/examples/daily_report.json +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/examples/feature_tour.json +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/examples/font_mixing.json +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/examples/generate_all.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/examples/generate_demo.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/examples/invoice.json +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/examples/output.html +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/examples/output.pdf +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/examples/path_security.json +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/examples/sample_document.json +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/examples/service_contract.json +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/examples/staff_form.json +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/batch.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/converters/__init__.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/converters/docx.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/converters/html.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/converters/xlsx.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/errors.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/fonts/__init__.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/fonts/fallback.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/fonts/registry.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/fonts/scanner.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/fonts/sfnt.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/fonts/system_fonts.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/models/__init__.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/models/borders.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/models/constants.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/models/document.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/models/elements.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/models/style.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/postprocess/__init__.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/postprocess/metadata.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/postprocess/pdfa_verify.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/py.typed +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/render/__init__.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/render/base.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/render/codes.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/render/html/__init__.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/render/markup.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/render/pdf.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/render/pdfa.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/render/table.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/security.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/template/__init__.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/template/context.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/template/engine.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/template/filters.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/template/format.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/utils.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/src/pdfwright/validate/__init__.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/tests/test_docx_converter.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/tests/test_examples.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/tests/test_fonts.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/tests/test_html_converter.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/tests/test_models.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/tests/test_render_html.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/tests/test_render_pdf.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/tests/test_render_table.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/tests/test_security.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/tests/test_shared_vectors.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/tests/test_template.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/tests/test_validate.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/tests/test_xlsx_converter.py +0 -0
- {pdfwright-0.2.0 → pdfwright-0.2.1}/uv.lock +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: pdfwright
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: 配置驱动的 PDF 生成基础库:JSON 配置 → 模板求值(变量/循环/条件)→ 高保真 PDF。纯 Python 引擎(ReportLab + fontTools + Jinja2 + pikepdf),无外部软件依赖。
|
|
5
5
|
License: Proprietary
|
|
6
6
|
Requires-Python: >=3.12
|
|
@@ -9,11 +9,11 @@ Requires-Dist: httpx>=0.27
|
|
|
9
9
|
Requires-Dist: jinja2>=3.1
|
|
10
10
|
Requires-Dist: jsonschema>=4.23
|
|
11
11
|
Requires-Dist: openpyxl>=3.1
|
|
12
|
-
Requires-Dist: pikepdf
|
|
12
|
+
Requires-Dist: pikepdf>=8.0
|
|
13
13
|
Requires-Dist: pillow>=10.0
|
|
14
14
|
Requires-Dist: python-barcode>=0.16.1
|
|
15
15
|
Requires-Dist: python-docx>=1.1
|
|
16
|
-
Requires-Dist: reportlab<5
|
|
16
|
+
Requires-Dist: reportlab<6,>=5.0
|
|
17
17
|
Requires-Dist: segno>=1.6.6
|
|
18
18
|
Description-Content-Type: text/markdown
|
|
19
19
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pdfwright"
|
|
3
|
-
version = "0.2.
|
|
3
|
+
version = "0.2.1"
|
|
4
4
|
description = "配置驱动的 PDF 生成基础库:JSON 配置 → 模板求值(变量/循环/条件)→ 高保真 PDF。纯 Python 引擎(ReportLab + fontTools + Jinja2 + pikepdf),无外部软件依赖。"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.12"
|
|
7
7
|
license = { text = "Proprietary" }
|
|
8
8
|
dependencies = [
|
|
9
|
-
"reportlab>=
|
|
9
|
+
"reportlab>=5.0,<6",
|
|
10
10
|
"fonttools>=4.53",
|
|
11
11
|
"jinja2>=3.1",
|
|
12
|
-
"pikepdf>=8.0
|
|
12
|
+
"pikepdf>=8.0", # MPL-2.0:作为黑盒依赖使用(不改源码则无传染),用于 PDF/A 后处理
|
|
13
13
|
"httpx>=0.27",
|
|
14
14
|
"jsonschema>=4.23",
|
|
15
15
|
"python-docx>=1.1",
|
|
@@ -26,7 +26,7 @@ from pdfwright.postprocess import verify_pdfa
|
|
|
26
26
|
from pdfwright.render.html import render_html
|
|
27
27
|
from pdfwright.render.pdf import PdfRenderer, render_pdf, render_pdf_to_file
|
|
28
28
|
|
|
29
|
-
__version__ = "0.2.
|
|
29
|
+
__version__ = "0.2.1"
|
|
30
30
|
|
|
31
31
|
__all__ = [
|
|
32
32
|
"BatchItem",
|
|
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
|
|
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
|