Dataclasses for EDItEUR's ONIX standards
Project description
python-onix
A very simple module to provide dataclasses for EDItEUR's ONIX standards. Mostly generated using xsdata.
This module isn't even in the Alpha stage yet, and there may be breaking changes.
Currently, only ONIX for Books is covered; but I may add ONIX for Subscription Products in the near future.
Installation
Install using pip:
pip install python-onix
Getting Started
Parse an ONIX file
from onix.book.v3_0.short.strict import Onixmessage
from xsdata.formats.dataclass.parsers import XmlParser
parser = XmlParser()
message = parser.parse("/some/path/file.onx", Onixmessage)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_onix-0.0.3.tar.gz.
File metadata
- Download URL: python_onix-0.0.3.tar.gz
- Upload date:
- Size: 2.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c592184ceb1e1802cf3e0bd0ca97cf63f0f5faee3c0ca068b4a2ebf79463543
|
|
| MD5 |
3de85a37730194dd50c1cf425ca0b0fb
|
|
| BLAKE2b-256 |
414ee54ac200e17ae2d1d0fe4256b86cec529403b61de98003637c8f99aeba70
|
File details
Details for the file python_onix-0.0.3-py3-none-any.whl.
File metadata
- Download URL: python_onix-0.0.3-py3-none-any.whl
- Upload date:
- Size: 2.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17eec0ca8f74d1fe93c9b1b6950d3ef960e5424b6668e36cc43f936a7588cadc
|
|
| MD5 |
be05dd829ff4bf92fa4132ff78ada136
|
|
| BLAKE2b-256 |
349bbb7b2c333d9b18ca28d9ca5e5572b9d17350ac841a64c05195c8e4daecec
|