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.
Release files for rnc2rng 2.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rnc2rng-2.7.0.tar.gz | 19.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rnc2rng-2.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.5 kB
Release files / rnc2rng-2.7.0.tar.gz
| Download URL | rnc2rng-2.7.0.tar.gz |
|---|---|
| Size | 19.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd9ffbbd69d09cb07e6e7a8cf80fd28703fdc6d3b9026f8756b49cbe3314676b
|
|
BLAKE2b-256 checksum How to use checksums |
afc003a30185eea227e37cde54ced8ee9e3ad023de113bd9bc932ffe8cf49b17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.6
|
Release files / rnc2rng-2.7.0-py3-none-any.whl
| Download URL | rnc2rng-2.7.0-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd044b77b80f4a77d4e5736d0088d9b71bdbb08ecff13aa200d99e14cde2215c
|
|
BLAKE2b-256 checksum How to use checksums |
f28e1cb1ce28c5aee1eeaf37d5180b1c28be075415c54888239ce4a5179b073d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.6
|