zugferd 0.1.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.
zugferd/__init__.py ADDED
@@ -0,0 +1,8 @@
1
+ """ZUGFeRD / Factur-X client for the xrechnung.dev API. Alias of the `xrechnung` package.
2
+
3
+ import zugferd
4
+ pdf = zugferd.generate(invoice, format="zugferd")
5
+ print(zugferd.validate("rechnung.pdf").valid)
6
+ """
7
+ from xrechnung import * # noqa: F401,F403
8
+ from xrechnung import __all__, __version__ # noqa: F401
zugferd/py.typed ADDED
File without changes
@@ -0,0 +1,45 @@
1
+ Metadata-Version: 2.5
2
+ Name: zugferd
3
+ Version: 0.1.0
4
+ Summary: Generate, validate (official KoSIT rules) and parse ZUGFeRD / Factur-X e-invoices via the xrechnung.dev API. Alias of the `xrechnung` package. No JVM required.
5
+ Project-URL: Homepage, https://xrechnung.dev
6
+ Project-URL: Documentation, https://xrechnung.dev/zugferd-python/
7
+ Author-email: "xrechnung.dev" <dev@xrechnung.dev>
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Keywords: e-rechnung,einvoice,en16931,factur-x,pdf/a-3,xrechnung,zugferd
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Topic :: Office/Business :: Financial :: Accounting
15
+ Classifier: Typing :: Typed
16
+ Requires-Python: >=3.9
17
+ Requires-Dist: xrechnung<1,>=0.1.0
18
+ Description-Content-Type: text/markdown
19
+
20
+ # zugferd
21
+
22
+ Generate, validate and parse **ZUGFeRD 2.x / Factur-X** (PDF/A-3) and **XRechnung** e-invoices from Python
23
+ through the [xrechnung.dev](https://xrechnung.dev) API.
24
+
25
+ This package is a thin alias of [`xrechnung`](https://pypi.org/project/xrechnung/) — same API, same code.
26
+ Zero dependencies beyond it, **no JVM required**, and every document is always validated with the current
27
+ official KoSIT rules (XRechnung 3.0.2, Schematron 2.6.0).
28
+
29
+ ```bash
30
+ pip install zugferd
31
+ ```
32
+
33
+ ```python
34
+ import zugferd
35
+
36
+ pdf = zugferd.generate(invoice, format="zugferd", language="de") # PDF/A-3 with embedded EN 16931 XML
37
+ open("rechnung.pdf", "wb").write(pdf)
38
+
39
+ result = zugferd.validate("rechnung.pdf")
40
+ for e in result.errors:
41
+ print(e.code, e.message, e.doc_url)
42
+ ```
43
+
44
+ Free tier: 10 documents per month without an API key. See the full documentation in the
45
+ [`xrechnung` README](https://pypi.org/project/xrechnung/). MIT licensed.
@@ -0,0 +1,6 @@
1
+ zugferd/__init__.py,sha256=E6eps9sHpfth2GVPKJ1w5lhtO8PMog2nnzwnf6wbol0,318
2
+ zugferd/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ zugferd-0.1.0.dist-info/METADATA,sha256=BkCR77nL-r-8Kzm0lW1nFS6Eh4AxM0QsiDZQZur3QHU,1748
4
+ zugferd-0.1.0.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
5
+ zugferd-0.1.0.dist-info/licenses/LICENSE,sha256=DFMPANs0RVSDssxiAsStTmkJeXmM0M3NDHQjtUW4tQY,1070
6
+ zugferd-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 xrechnung.dev
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.