pygments-plugin-texts
This is a plugin for the Pygments package providing a lexer, formatter, filter and style for the VRE-Language family of languages (currently textS and textM).
Run the lexer
Via CLI:
pygmentize -l texts test.vm
The lexer class can be imported directly using
from texts_lexer import TextSLexer
Run the formatter
Via CLI:
pygmentize -f texts-format test.vm
Retrieve the formatter class via the API with
formatter_class = pygments.formatters.find_formatter_class("texts-format")
Run the style
Via CLI:
pygmentize -O style=texts-style
Retrieve the style class via API with
style_class = pygments.styles.get_style_by_name('texts-style')
Run the filter
Via CLI:
pygmentize -F texts-filter
Retrieve the filter class via API with
filter_class = pygments.filters.find_filter_class('texts-filter')
Run the tests
After installing the plugin, the tests can be run by these commands:
pygmentize -l textm test_1.vm
pygmentize -l textm test_2.vm
Metadata
Release files for vre-language-pygments 0.0.4
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 |
|---|---|---|---|---|
| vre_language_pygments-0.0.4.tar.gz | 6.6 kB | Without provenance | Details for vre_language_pygments-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vre_language_pygments-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for vre_language_pygments-0.0.4-py3-none-any.whl |
Total release size: 13.3 kB
Release files / vre_language_pygments-0.0.4.tar.gz
| Download URL | vre_language_pygments-0.0.4.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce48bde2843aace50c6b1b31e8294e24dc366d1a1b99e70e17233591a57d7776
|
|
BLAKE2b-256 checksum How to use checksums |
d12cb2e2bdc485a8472b5eb5b36000f261b7f7650d8db7b58ab95adb733e897a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / vre_language_pygments-0.0.4-py3-none-any.whl
| Download URL | vre_language_pygments-0.0.4-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0afca30f595ba49c382c39608bf71e00fb48c44301f8d70cc5e9da326de9ec5
|
|
BLAKE2b-256 checksum How to use checksums |
6c14ffa8677a641e64ad902b78e42446a08f223f83075f8b4e6b92537f6b4028
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for vre-language-pygments 0.0.4
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.