Skip to main content

rapidchecker

Grammar and format checker for ABB Rapid code.

  • 🔎 Checks ABB RAPID code (.sys modules)
  • 🦾 Tested with RobotWare 5 code.
  • 🐍 Powered by Python and pyparsing.

Features

rapidchecker checks for:

  • Code that violates the ABB RAPID grammar.
  • Bad indentation.
  • Lowercase keywords (if instead of IF, module instead of MODULE etc)
  • Trailing space.
  • Too many empty lines.

Getting started

Install with pip install rapidchecker

Then check a RAPID module (or a directory containing modules) by running

python -m rapidchecker <path-to-file-or-dir>

If any grammar or format errors are found, they are printed to stdout and the command exits with exitcode 1.

Configuration

You can enable/disable different checks by adding a rapidchecker.toml file to the folder in which rapidchecker runs.

See rapidchecker.template.toml for reference.

References

Metadata

Release files for rapidchecker 0.1.5

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

Source distribution (sdist)

Source distribution for rapidchecker 0.1.5
File Size Uploaded Provenance Actions
rapidchecker-0.1.5.tar.gz 22.6 kB Without provenance Details for rapidchecker-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rapidchecker 0.1.5
File Interpreter ABI Platform Actions
rapidchecker-0.1.5-py3-none-any.whl Python 3 none any Details for rapidchecker-0.1.5-py3-none-any.whl

Total release size: 44.3 kB

Release files / rapidchecker-0.1.5.tar.gz

Download URL rapidchecker-0.1.5.tar.gz
Size 22.6 kB
Tags Source
SHA-256 checksum
How to use checksums
9db78b0a8ca72ffb1d0d7c86df98b3deaacda58f4ca74b8c82e2b86e7c6b96c1
BLAKE2b-256 checksum
How to use checksums
70d04b8b804d7bf462a4348399d6dde3571416bc749253efcff30b031a47d886
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.7.3

Release files / rapidchecker-0.1.5-py3-none-any.whl

Download URL rapidchecker-0.1.5-py3-none-any.whl
Size 21.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c143426f15a8dd857115e46377da6a5f484efac5603d483c414506e2230dcbe6
BLAKE2b-256 checksum
How to use checksums
9fb0aab6384ddf754c85ad127d758f0a30c0458edb71e47a456a5cf5734c16ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.7.3

Security for rapidchecker 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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