RELAX NG Compact to regular syntax conversion library
Project description
Converts RELAX NG schemata in Compact syntax (rnc) to the equivalent schema in the XML-based default RELAX NG syntax. Dependencies:
Python 3.x (tested with 3.7, 3.8, 3.9)
Feedback welcome on GitHub. Please consider funding continued maintenance of this project through Patreon or GitHub Sponsors.
History
rnc2rng was originally written by David Mertz in 2003 and published as part of a collection of files around RELAX NG on his site into the Public Domain. Hartmut Goebel published it as a package on PyPI to make it easier to access. It was mirrored on GitHub by Dustin J. Mitchell in 2010 after he fixed some bugs. Timmy Zhu forked his repository and contributed further enhancements. Recently, I (Dirkjan Ochtman) was interested in playing with RELAX NG Compact and started making further updates. I asked Hartmut for maintainership on PyPI and received it. While I cannot promise many updates, I should be responsive to bug reports and (especially!) pull requests.
How to install
The usual should work:
$ sudo pip install .
Getting started
$ python -m rnc2rng test.rnc > test.rng
License
All of the code is released under MIT License.
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
File details
Details for the file rnc2rng-2.7.0.tar.gz
.
File metadata
- Download URL: rnc2rng-2.7.0.tar.gz
- Upload date:
- Size: 19.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd9ffbbd69d09cb07e6e7a8cf80fd28703fdc6d3b9026f8756b49cbe3314676b |
|
MD5 | ab633fb6be5272d6f20d6142df5067d5 |
|
BLAKE2b-256 | afc003a30185eea227e37cde54ced8ee9e3ad023de113bd9bc932ffe8cf49b17 |
File details
Details for the file rnc2rng-2.7.0-py3-none-any.whl
.
File metadata
- Download URL: rnc2rng-2.7.0-py3-none-any.whl
- Upload date:
- Size: 12.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd044b77b80f4a77d4e5736d0088d9b71bdbb08ecff13aa200d99e14cde2215c |
|
MD5 | a8b79ebfae70bcf35013d05cea4ea63c |
|
BLAKE2b-256 | f28e1cb1ce28c5aee1eeaf37d5180b1c28be075415c54888239ce4a5179b073d |