Skip to main content

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


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.4.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wrc-1.0.4-py2-none-any.whl (753.3 kB view details)

Uploaded Python 2

File details

Details for the file wrc-1.0.4.tar.gz.

File metadata

  • Download URL: wrc-1.0.4.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wrc-1.0.4.tar.gz
Algorithm Hash digest
SHA256 f833fe98e36ad14e9cae03e9a6d7a34a70f8df2f95659f5ac323fd20a4076829
MD5 8050f7cb5c5a8d29345d93fdcc6802f2
BLAKE2b-256 ad8dcf098631fe14f1d40fcb6dd69dac210468b4bd010dcbb862360ec5b21a5e

See more details on using hashes here.

File details

Details for the file wrc-1.0.4-py2-none-any.whl.

File metadata

  • Download URL: wrc-1.0.4-py2-none-any.whl
  • Upload date:
  • Size: 753.3 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wrc-1.0.4-py2-none-any.whl
Algorithm Hash digest
SHA256 a1e50b0a51bfa97b176b491552694d53cfc8da39c0161f1624b4a377b0acf17d
MD5 b079c46f174fb2a798b85dfc1b894526
BLAKE2b-256 07fcdf4af2ddb4d482ece7e78773652e409ceab36ebc14d5f757c9e5ce9786d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page