• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

rnc2rng/H09-Sep-2021-1,009808

rnc2rng.egg-info/H03-May-2022-8665

tests/H03-May-2022-1,003942

AUTHORSH A D04-Dec-2020245 87

LICENSEH A D04-Dec-20201 KiB2217

MANIFEST.inH A D04-Dec-202071 54

PKG-INFOH A D09-Sep-20212.8 KiB8665

README.rstH A D09-Sep-20212.1 KiB6244

setup.cfgH A D09-Sep-2021108 96

setup.pyH A D09-Sep-2021982 3129

test.pyH A D04-Dec-20201.9 KiB6852

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