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.0a5.tar.gz
(26.8 kB
view details)
Built Distribution
wrc-1.0.0a5-py2-none-any.whl
(55.6 kB
view details)
File details
Details for the file wrc-1.0.0a5.tar.gz
.
File metadata
- Download URL: wrc-1.0.0a5.tar.gz
- Upload date:
- Size: 26.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
76f41b54b269c2319b27aa4259fa1e29779c1de93e2c70bf0c93253ea751b863
|
|
MD5 |
aa9d9737061d2ecf6118c73eaf402835
|
|
BLAKE2b-256 |
7472e42059e7d7b2743b2bddacfe584183b7cfc303e3a650e2e9ab1fc13d0a27
|
File details
Details for the file wrc-1.0.0a5-py2-none-any.whl
.
File metadata
- Download URL: wrc-1.0.0a5-py2-none-any.whl
- Upload date:
- Size: 55.6 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
4ad752ae2a2775fa52db02eee494b4f53602b1c3cbb214b06c5d268ada8ce706
|
|
MD5 |
5e74f6599368fe129b79f7e6fbdaab84
|
|
BLAKE2b-256 |
7cf46e3a386f4c77e2a0b7c7a5dbd8cf00ca451b795fac5c20dd34f80058c478
|