Skip to main content

eCH xsdata dataclasses

Project description

eCH xsdata dataclasses

Provides xsdata dataclasses for swiss e-government standards defined by eCH.

! 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.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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xsdata_ech-0.3.0.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

xsdata_ech-0.3.0-py2.py3-none-any.whl (22.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file xsdata_ech-0.3.0.tar.gz.

File metadata

  • Download URL: xsdata_ech-0.3.0.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for xsdata_ech-0.3.0.tar.gz
Algorithm Hash digest
SHA256 05f13abae47eb3561f0150d3f51747f712c2ac6ee639aab686969fc1d7e5c29a
MD5 37e8e60c9d775acfe45a182b96d1e924
BLAKE2b-256 058fe5e4352c335684b580785b3cd37c2524956ae97cbb64a051e9e93d9cea1d

See more details on using hashes here.

File details

Details for the file xsdata_ech-0.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: xsdata_ech-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for xsdata_ech-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 278069fc92f1cdd6b105537ebdf865c33ce118a5275e1b87c00128cf29687397
MD5 fadf93c14bbc66f59930d1e451536b95
BLAKE2b-256 0f6054e47575ad9f80d9be11d6e7a9ac7a7cba5adb11a74c68d64cf560e6e85e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page