RELAX NG Compact to regular syntax conversion library
Is what it says on the tin. Dependencies:
Feedback welcome on GitHub.
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.
The usual should work:
$ sudo pip install .
$ python -m rnc2rng test.rnc > test.rng
All of the code is released into the Public Domain.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|rnc2rng-2.4.1-py2.py3-none-any.whl (9.9 kB) Copy SHA256 Checksum SHA256||2.7||Wheel||Dec 18, 2016|
|rnc2rng-2.4.1.tar.gz (13.4 kB) Copy SHA256 Checksum SHA256||–||Source||Dec 18, 2016|