Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.


# 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`.

Release files for wrc 1.0.0a5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wrc 1.0.0a5
File Size Uploaded
wrc-1.0.0a5.tar.gz 26.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wrc 1.0.0a5
File Interpreter ABI Platform
wrc-1.0.0a5-py2-none-any.whl Python 2 none any Details

Total release size: 82.4 kB

Release files / wrc-1.0.0a5.tar.gz

Download URL wrc-1.0.0a5.tar.gz
Size 26.8 kB
Tags Source
SHA-256 checksum
How to use checksums
76f41b54b269c2319b27aa4259fa1e29779c1de93e2c70bf0c93253ea751b863
BLAKE2b-256 checksum
How to use checksums
7472e42059e7d7b2743b2bddacfe584183b7cfc303e3a650e2e9ab1fc13d0a27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / wrc-1.0.0a5-py2-none-any.whl

Download URL wrc-1.0.0a5-py2-none-any.whl
Size 55.6 kB
Tags Python 2
SHA-256 checksum
How to use checksums
4ad752ae2a2775fa52db02eee494b4f53602b1c3cbb214b06c5d268ada8ce706
BLAKE2b-256 checksum
How to use checksums
7cf46e3a386f4c77e2a0b7c7a5dbd8cf00ca451b795fac5c20dd34f80058c478
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page