All Projects → titusz → onixcheck

titusz / onixcheck

Licence: BSD-2-Clause License
ONIX validation library and commandline tool

Programming Languages

python
139335 projects - #7 most used programming language
powershell
5483 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to onixcheck

xrechnung-schematron
Schematron rules for the German CIUS (XRechnung) of EN16931:2017
Stars: ✭ 19 (-5%)
Mutual labels:  validation, xml
odin
Data-structure definition/validation/traversal, mapping and serialisation toolkit for Python
Stars: ✭ 24 (+20%)
Mutual labels:  validation, xml
Fhir.js
Node.JS library for serializing/deserializing FHIR resources between JS/JSON and XML using various node.js XML libraries
Stars: ✭ 61 (+205%)
Mutual labels:  validation, xml
Fore
Fore - declarative programming with web components
Stars: ✭ 34 (+70%)
Mutual labels:  validation, xml
Validation
validation api extracted from play
Stars: ✭ 194 (+870%)
Mutual labels:  validation, xml
granitic
Web/micro-services and IoC framework for Golang developers
Stars: ✭ 32 (+60%)
Mutual labels:  validation, xml
fastq utils
Validation and manipulation of FASTQ files, scRNA-seq barcode pre-processing and UMI quantification.
Stars: ✭ 25 (+25%)
Mutual labels:  validation
i18n-tag-schema
Generates a json schema for all i18n tagged template literals in your project
Stars: ✭ 15 (-25%)
Mutual labels:  validation
edireader
EDIReader is a flexible and lightweight EDI parser, written in pure Java with many integration options. It has handled millions of transactions in a wide variety of products, services, industries, platforms, and custom integrations. Available as the open source Community Edition and the Premium Edition with added-value modules.
Stars: ✭ 80 (+300%)
Mutual labels:  xml
flaskerk
A flask extension for api doc and validation of request&response.
Stars: ✭ 24 (+20%)
Mutual labels:  validation
thai-citizen-id-validator
🦉 Validate Thai Citizen ID with 0 dependencies 🇹🇭
Stars: ✭ 35 (+75%)
Mutual labels:  validation
validation
Validation in Ruby objects
Stars: ✭ 18 (-10%)
Mutual labels:  validation
validation-components
A collection of common validation predicates for ValidationToolkit framework
Stars: ✭ 26 (+30%)
Mutual labels:  validation
php-assert
Fast flexible php assert
Stars: ✭ 18 (-10%)
Mutual labels:  validation
js
Validate Swedish personal identity numbers
Stars: ✭ 43 (+115%)
Mutual labels:  validation
magic-api-spring-boot-starter
magic-api的spring-boot-starter版本
Stars: ✭ 30 (+50%)
Mutual labels:  xml
robotframework-aristalibrary
Robot Framework library for Arista EOS
Stars: ✭ 14 (-30%)
Mutual labels:  validation
trx2junit
Transforms XML from trx-Testresults to JUnit-Testresults / trx to JUnit XML and the other way round
Stars: ✭ 42 (+110%)
Mutual labels:  xml
checktestdata
checks integrity of test data in programming contests like the ACM ICPC
Stars: ✭ 19 (-5%)
Mutual labels:  validation
checker
Golang parameter validation, which can replace go-playground/validator, includes ncluding Cross Field, Map, Slice and Array diving, provides readable,flexible, configurable validation.
Stars: ✭ 62 (+210%)
Mutual labels:  validation

Onixcheck - Book Trade Metadata Validation

Documentation Status Travis-CI Build Status AppVeyor Build Status PyPI Package latest release PyPI Package monthly downloads

Introduction

ONIX for Books is an international XML standard for the publishing and book trade industry.

onixcheck is a Python library and command line tool for validating ONIX metadata. It allows you to validate ONIX versions 2.1 and 3.0.8 against the official XML Schema.

  • Free software: BSD license

Installation

On Windows you can download the standalone binary command line tool: onixcheck-0.9.7_win.zip

If you have Python or PyPy installed on your system you can do the usual:

pip install onixcheck

Quickstart

Command line usage examples

Validate all .xml, .onx, .onix files in current directory:

onixcheck

Validate a single onix file:

onixcheck myonixfile.xml

Validate all .xml files in /onixdata and its subdirectories:

onixcheck --path /onixdata --ext xml --recursive

Show help:

onixcheck -h

Using onixcheck as a python lib

Simple usage with onixcheck.validate:

>>> import onixcheck
>>> errors = onixcheck.validate('src/onixcheck/data/invalid_onix3_ref.xml')
>>> print(errors[0].short)
ERROR - SCHEMASV - invalid_onix3_ref.xml:4:0 - Element 'SentDateTime': This element is not expected. Expected is ( Sender ).

errors is either a list of Message objects (INVALID file) or an empty list (VALID file)

Documentation

https://onixcheck.readthedocs.org/

Development

To run the all tests run:

tox

Contributions/suggestions are welcome.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].