Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
rnc2rng/ | H | 09-Sep-2021 | - | 1,009 | 808 | |
rnc2rng.egg-info/ | H | 03-May-2022 | - | 86 | 65 | |
tests/ | H | 03-May-2022 | - | 1,003 | 942 | |
AUTHORS | H A D | 04-Dec-2020 | 245 | 8 | 7 | |
LICENSE | H A D | 04-Dec-2020 | 1 KiB | 22 | 17 | |
MANIFEST.in | H A D | 04-Dec-2020 | 71 | 5 | 4 | |
PKG-INFO | H A D | 09-Sep-2021 | 2.8 KiB | 86 | 65 | |
README.rst | H A D | 09-Sep-2021 | 2.1 KiB | 62 | 44 | |
setup.cfg | H A D | 09-Sep-2021 | 108 | 9 | 6 | |
setup.py | H A D | 09-Sep-2021 | 982 | 31 | 29 | |
test.py | H A D | 04-Dec-2020 | 1.9 KiB | 68 | 52 |
README.rst
1RELAX NG Compact to RELAX NG conversion library 2=============================================== 3 4.. image:: https://github.com/djc/rnc2rng/workflows/CI/badge.svg 5 :target: https://github.com/djc/rnc2rng/actions?query=workflow%3ACI 6.. image:: https://coveralls.io/repos/djc/rnc2rng/badge.svg?branch=master&service=github 7 :target: https://coveralls.io/github/djc/rnc2rng?branch=master 8 9Converts RELAX NG schemata in Compact syntax (`rnc`) to the equivalent schema 10in the XML-based default RELAX NG syntax. Dependencies: 11 12- Python 3.x (tested with 3.7, 3.8, 3.9) 13- `rply`_ 14 15Feedback welcome on `GitHub`_. Please consider funding continued maintenance of this 16project through `Patreon`_ or `GitHub Sponsors`_. 17 18.. _GitHub: https://github.com/djc/rnc2rng 19.. _rply: https://pypi.python.org/pypi/rply 20.. _Patreon: https://patreon.com/dochtman 21.. _GitHub Sponsors: https://github.com/sponsors/djc 22 23History 24------- 25 26rnc2rng was originally written by `David Mertz`_ in 2003 and published as part 27of a collection of files around RELAX NG `on his site`_ into the Public Domain. 28`Hartmut Goebel`_ published it as a package on PyPI to make it easier to access. 29It was mirrored on GitHub by `Dustin J. Mitchell`_ in 2010 after he fixed some 30bugs. `Timmy Zhu`_ forked his repository and contributed further enhancements. 31Recently, I (Dirkjan Ochtman) was interested in playing with RELAX NG Compact 32and started making further updates. I asked Hartmut for maintainership on PyPI 33and received it. While I cannot promise many updates, I should be responsive to 34bug reports and (especially!) pull requests. 35 36.. _David Mertz: http://www.gnosis.cx/publish/ 37.. _on his site: http://www.gnosis.cx/download/relax/ 38.. _Hartmut Goebel: http://www.goebel-consult.de/ 39.. _Dustin J. Mitchell: http://code.v.igoro.us/ 40.. _Timmy Zhu: https://github.com/nattofriends 41 42How to install 43-------------- 44 45The usual should work: 46 47.. code-block:: shell 48 49 $ sudo pip install . 50 51Getting started 52--------------- 53 54.. code-block:: shell 55 56 $ python -m rnc2rng test.rnc > test.rng 57 58License 59------- 60 61All of the code is released under MIT License. 62