Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tlocke/prang
Pure Python RELAX NG validator
https://github.com/tlocke/prang
Last synced: about 1 month ago
JSON representation
Pure Python RELAX NG validator
- Host: GitHub
- URL: https://github.com/tlocke/prang
- Owner: tlocke
- License: mit
- Created: 2015-08-02T08:51:54.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-23T12:22:43.000Z (about 9 years ago)
- Last Synced: 2024-11-13T23:12:23.024Z (about 1 month ago)
- Language: Python
- Size: 391 KB
- Stars: 3
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.adoc
- License: LICENSE
Awesome Lists containing this project
README
= Prang
A pure-Python library for validating XML documents aginst an
https://en.wikipedia.org/wiki/RELAX_NG[RELAX NG schema].
Prang runs on Python 2.7 and 3.4 on both CPython and PyPy.* http://pythonhosted.org/prang/[User documentation]
* https://github.com/tlocke/prang[Contribute on GitHub]
* Licensed under the http://opensource.org/licenses/MIT[MIT Licence].== Regression Tests
To run the regression tests, install http://testrun.org/tox/latest/[tox]:
pip install tox
then run `tox` from the `prang` directory:
tox
== Building The Documentation
The docs are written using Asciidoctor. To build them, install asciidoctor:
apt-get install asciidoctor
Then type:
asciidoctor docs/index.adoc
and the doc will appear at `docs/index.html`.
== Doing A Release Of Prang
Run `tox` make sure all tests pass, then update the release notes in
`docs/index.adoc` then do:asciidoctor docs/index.adoc
git tag -a x.y.z -m "Version x.y.z"
python setup.py register sdist bdist_wheel upload upload_docs