Metadata-Version: 2.4
Name: xsdata-ech
Version: 0.4.0
Summary: eCH xsdata dataclasses
Home-page: https://github.com/seantis/xsdata-ech
Author: Seantis GmbH
Author-email: info@seantis.ch
License: MIT
Project-URL: Bug Tracker, https://github.com/seantis/xsdata-ech/issues
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: xsdata
Provides-Extra: dev
Requires-Dist: pre-commit; extra == "dev"
Requires-Dist: bump2version; extra == "dev"
Requires-Dist: xsdata[cli]; extra == "dev"
Provides-Extra: test
Requires-Dist: bandit[toml]; extra == "test"
Requires-Dist: flake8; extra == "test"
Requires-Dist: flake8-bugbear; extra == "test"
Requires-Dist: flake8-pyi; extra == "test"
Requires-Dist: mypy; extra == "test"
Requires-Dist: pytest; extra == "test"
Requires-Dist: tox; extra == "test"
Dynamic: license-file

eCH xsdata dataclasses
======================

Provides [xsdata](https://xsdata.readthedocs.io) dataclasses for swiss
e-government standards defined by [eCH](https://ech.ch).


! JSON deserialization might return wrong classes, if they have the same structure.

Tests
-----

Run the tests

    pip install .[test]
    tox

Releasing
---------

Make sure, all recent changes are in HISTORY.md. Then bump the version:

    pip install .[dev]
    bump2version {major|minor|patch}
    git push && git push --tags

Then create a new release on GitHub using the new tag.

Update definitions
------------------

Generate files

    pip install .[dev]
    xsdata generate xxx.xsd

Then move the files and fix the imports.
History
=======
0.4.0 (16.03.2026)
------------------
- Update to official eCH-0252 v2.0.0 and eCH-0155 v5.2 schemas.
- Updates tox config.
- Drop support for Python 3.8 and 3.9.


0.3.0 (21.08.2024)
------------------

- Add support for Python 3.13.
- Drop support for Python 3.7.

0.2.0 (19.02.2024)
------------------

- Add experimental eCH-0252 version 2 support.

0.1.0 (18.06.2023)
------------------

- Initial release.

The MIT License (MIT)

Copyright © 2023 Seantis GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the “Software”), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
