{"id":19671684,"url":"https://github.com/titusz/onixcheck","last_synced_at":"2026-01-27T21:25:41.765Z","repository":{"id":46700100,"uuid":"39294961","full_name":"titusz/onixcheck","owner":"titusz","description":"ONIX validation library and commandline tool","archived":false,"fork":false,"pushed_at":"2025-03-24T15:42:53.000Z","size":1701,"stargazers_count":23,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-05T12:04:06.962Z","etag":null,"topics":["onix","validation","xml"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/titusz.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":"CONTRIBUTING.rst","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"titusz"}},"created_at":"2015-07-18T10:38:26.000Z","updated_at":"2025-03-24T15:42:57.000Z","dependencies_parsed_at":"2022-09-26T17:31:41.267Z","dependency_job_id":null,"html_url":"https://github.com/titusz/onixcheck","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titusz%2Fonixcheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titusz%2Fonixcheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titusz%2Fonixcheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/titusz%2Fonixcheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/titusz","download_url":"https://codeload.github.com/titusz/onixcheck/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251415577,"owners_count":21585856,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["onix","validation","xml"],"created_at":"2024-11-11T17:09:28.402Z","updated_at":"2026-01-27T21:25:41.715Z","avatar_url":"https://github.com/titusz.png","language":"Python","funding_links":["https://github.com/sponsors/titusz"],"categories":[],"sub_categories":[],"readme":"==========================================\nOnixcheck - Book Trade Metadata Validation\n==========================================\n\n\n.. image:: https://readthedocs.org/projects/onixcheck/badge/?style=flat-square\n    :target: https://readthedocs.org/projects/onixcheck\n    :alt: Documentation Status\n\n.. image:: http://img.shields.io/travis/titusz/onixcheck/master.svg?style=flat-square\u0026label=Travis\n    :target: https://travis-ci.org/titusz/onixcheck\n    :alt: Travis-CI Build Status\n\n\n.. image:: https://img.shields.io/appveyor/ci/titusz/onixcheck/master.svg?style=flat-square\u0026label=AppVeyor\n    :target: https://ci.appveyor.com/project/titusz/onixcheck\n    :alt: AppVeyor Build Status\n\n\n.. image:: http://img.shields.io/pypi/v/onixcheck.svg?style=flat-square\n    :target: https://pypi.python.org/pypi/onixcheck\n    :alt: PyPI Package latest release\n\n\n.. image:: http://img.shields.io/pypi/dm/onixcheck.svg?style=flat-square\n    :target: https://pypi.python.org/pypi/onixcheck\n    :alt: PyPI Package monthly downloads\n\n\n============\nIntroduction\n============\n\n`ONIX for Books \u003chttp://www.editeur.org/11/Books/\u003e`_ is an international XML\nstandard for the publishing and book trade industry.\n\n``onixcheck`` is a Python library and command line tool for validating ONIX\nmetadata. It allows you to validate ONIX versions 2.1 and 3.0.8 against the\nofficial XML Schema.\n\n\n* Free software: BSD license\n\n============\nInstallation\n============\n\nOn Windows you can download the standalone binary command line tool:\n`onixcheck-0.9.7_win.zip \u003chttps://github.com/titusz/onixcheck/releases/download/v0.9.7/onixcheck-0.9.7_win.zip\u003e`_\n\nIf you have Python or PyPy installed on your system you can do the usual::\n\n    pip install onixcheck\n\n\n==========\nQuickstart\n==========\n\nCommand line usage examples\n---------------------------\n\nValidate all .xml, .onx, .onix files in current directory::\n\n    onixcheck\n\n\nValidate a single onix file::\n\n    onixcheck myonixfile.xml\n\n\nValidate all .xml files in /onixdata and its subdirectories::\n\n    onixcheck --path /onixdata --ext xml --recursive\n\n\nShow help::\n\n    onixcheck -h\n\n\nUsing onixcheck as a python lib\n-------------------------------\n\nSimple usage with `onixcheck.validate`:\n\n.. code-block:: pycon\n\n    \u003e\u003e\u003e import onixcheck\n    \u003e\u003e\u003e errors = onixcheck.validate('src/onixcheck/data/invalid_onix3_ref.xml')\n    \u003e\u003e\u003e print(errors[0].short)\n    ERROR - SCHEMASV - invalid_onix3_ref.xml:4:0 - Element 'SentDateTime': This element is not expected. Expected is ( Sender ).\n\n`errors` is either a list of `Message` objects (INVALID file) or an empty list (VALID file)\n\n=============\nDocumentation\n=============\n\nhttps://onixcheck.readthedocs.org/\n\n===========\nDevelopment\n===========\n\nTo run the all tests run::\n\n    tox\n\nContributions/suggestions are welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftitusz%2Fonixcheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftitusz%2Fonixcheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftitusz%2Fonixcheck/lists"}