Pygments lexer for Robot Framework test data
This project implements a Pygments lexer for Robot Framework test data in plain text format. It is available as a separate plugin and included in Pygments 1.6 and newer.
What is Pygments
Pygments is a generic library/tool for syntax highlighting. It is used by many different applications and wikis.
What is Robot Framework
Robot Framework is a generic open source automation framework for acceptance testing, acceptance test driven development (ATDD), and robotic process automation (RPA). It has simple plain text syntax and this project provides syntax highlighting for it.
Installation
Installation packages are at PyPI. Installation itself is easiest with pip:
pip install pygments
pip install robotframeworklexer
The latter step is only needed if you want to use a newer lexer version than the one included in Pygments.
Usage
After installation Pygments will recognize robotframework lexer. It can be used, for example, with the pygmentize tool:
# Lexer for ``*.robot`` files is found automatically.
pygmentize tests.robot
# Explicit lexer configuration needed with ``*.txt`` files.
pygmentize -l robotframework tests.txt
# Override built-in robotframework lexer with separately installed version.
pygmentize -O robotframework=robotframework tests.robot
See generate.py script for an example of the programmatic usage. For general information about using Pygments, consult its documentation and/or the documentation of the tool you are using it with.
License
Metadata
Release files for robotframeworklexer 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| robotframeworklexer-1.1.tar.gz | 16.9 kB | Without provenance | Details for robotframeworklexer-1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| robotframeworklexer-1.1-py3-none-any.whl | Python 3 | none | any | Details for robotframeworklexer-1.1-py3-none-any.whl |
Total release size: 28.3 kB
Release files / robotframeworklexer-1.1.tar.gz
| Download URL | robotframeworklexer-1.1.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ddd3ea50b54b47aee86a83c400534a61e2588dec875a3c10f04822280e834b8f
|
|
BLAKE2b-256 checksum How to use checksums |
9a9fa1fcd44548cbd78e52a31277c1c69a421c32186db9cdb5ccc2effec0e633
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.7
|
Release files / robotframeworklexer-1.1-py3-none-any.whl
| Download URL | robotframeworklexer-1.1-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5c3aaa8012c299bbd6ff6b45c1a6b1f02eff88cefcc2a16ee0a4aa5533ce0d5
|
|
BLAKE2b-256 checksum How to use checksums |
2418ad01d42227d824b890f1b4d32237e5003bf7afe8764cb13545fb63d7fcb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.7
|
Security for robotframeworklexer 1.1
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.