Tool to build and perform checks on WCA Regulations and Guidelines
Project description
# WCA Regulations Compiler
Right now it's an attempt to build a more robust tool to check, build, compare WCA Regulations and Guidelines and its translations.
## Install from PyPi
Just run `pip install wrc`.
## Run the thing
Here are some sample invocations:
- To check the Regulations and Guidelines:
`wrc path/to/wca-regulations --target=check`
- To build the html to the `build` directory:
`wrc path/to/wca-regulations --target=html --output=build`
- When building translation it's necessary to provide the language (eg: for Latex stuff):
`wrc path/to/wca-regulations-translations/french --language=french --target=pdf --output=build`
- Check that a translation matches exactly the original rules:
`wrc path/to/wca-regulations-translations/french --diff=path/to/wca-regulations`
## Running from the sources
The compiler is built on top of python lex/yacc implementation `ply`, so you probably need to run `pip install ply` to install it.
When this is done, you can use `python -m wrc.wrc` from the repository's root instead of `wrc`.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wrc-1.0.2.tar.gz
(26.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
wrc-1.0.2-py2-none-any.whl
(55.7 kB
view details)
File details
Details for the file wrc-1.0.2.tar.gz.
File metadata
- Download URL: wrc-1.0.2.tar.gz
- Upload date:
- Size: 26.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2edca45a2d99e8b38fc3ac259b96639599346dd4fb74aecdbd227d3289576870
|
|
| MD5 |
bac0fe90e3f43242e1ae255022f82a03
|
|
| BLAKE2b-256 |
dd207ab1e1451afaf491151719c05012017a45fca8a77fda1d4d4133efdbb4cd
|
File details
Details for the file wrc-1.0.2-py2-none-any.whl.
File metadata
- Download URL: wrc-1.0.2-py2-none-any.whl
- Upload date:
- Size: 55.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
454abc99971a9cb81fc959894d2c7ba82f68abcbe003cdcac1a126285dc0a5fd
|
|
| MD5 |
2ee140da87bd0ec4afa9a2f29882d22f
|
|
| BLAKE2b-256 |
3935d72d4b9ee2a3d57312dd46a219af771bee31d530fc07bd6838402b0f7826
|