Skip to content

oboratav/python-onix

Repository files navigation

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)

About

Dataclasses for EDItEUR's ONIX standards

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages