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.1.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.1-py2-none-any.whl
(55.6 kB
view details)
File details
Details for the file wrc-1.0.1.tar.gz.
File metadata
- Download URL: wrc-1.0.1.tar.gz
- Upload date:
- Size: 26.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
569e3a5d505493984b779458294f5b42cde7438ae70b7d9499c887af21291678
|
|
| MD5 |
7d2eaa46a02f7517172af74460ad0a0e
|
|
| BLAKE2b-256 |
6b9111b4d336358ae3411af0a3da01af63362f24cc62fe7912ce27a8c2b77d61
|
File details
Details for the file wrc-1.0.1-py2-none-any.whl.
File metadata
- Download URL: wrc-1.0.1-py2-none-any.whl
- Upload date:
- Size: 55.6 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab443fac6f316eb208041a5ca98b7bf598a1b8a713d76504c8112e111cc839ea
|
|
| MD5 |
ee2ef4c34c893f8e21665d63cd6643ba
|
|
| BLAKE2b-256 |
1cd60b5f228ea38d01ce88faeb94708d535ad8841ae1217b55e0b41b0b41ac0f
|