pygments-bsl
Pygments is a syntax highlighting tool.
Online example Zensical with pygments-bsl support https://zeegin.github.io/pygments-bsl/
pygments-bsl used in:
Syntax rules adopted from https://github.com/1c-syntax.
Install
$ pip install pygments-bsl
Install local
python -m pip install -e .
Build
python -m pip install --upgrade build
python -m build
Test
python -m pip install --upgrade pytest
pytest
Validate release artifacts
python -m pip install --upgrade build twine
python -m build
python -m twine check dist/*
python tools/check_dist.py
Docs
python3.12 -m venv .venv-docs
source .venv-docs/bin/activate
pip install --upgrade pip
pip install -e .
pip install "zensical==0.0.24"
zensical serve
Python 3.10+ is required. The command above uses Python 3.12 because that's the tested docs environment. The docs environment is separate from the package's main runtime.
Generate lexer data from JSON (after updating files in 3rd_party/)
python tools/generate_data.py
Usage
pygmentize "C:\git\pygments-bsl\tests\examplefiles\bsl\samples.bsl"
pygmentize "C:\git\pygments-bsl\tests\examplefiles\bsl\samples.os"
pygmentize "C:\git\pygments-bsl\tests\examplefiles\sdbl\samples.sdbl"
Metadata
Release files for pygments-bsl 1.1.0
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 | |
|---|---|---|---|---|
| pygments_bsl-1.1.0.tar.gz | 46.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pygments_bsl-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 92.3 kB
Release files / pygments_bsl-1.1.0.tar.gz
| Download URL | pygments_bsl-1.1.0.tar.gz |
|---|---|
| Size | 46.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c736ceff465a40704c94b76374746a34001d9755ac93d3b0cbe37e2d583acb5
|
|
BLAKE2b-256 checksum How to use checksums |
6f8c828be2aee1ce640a40cfbec69982f2170bbb4cb84cbf5a2e26e06224502e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / pygments_bsl-1.1.0-py3-none-any.whl
| Download URL | pygments_bsl-1.1.0-py3-none-any.whl |
|---|---|
| Size | 45.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
871114e9cbcac74e6583e367eac847bdb8c814267571b38336ca4accbd71539f
|
|
BLAKE2b-256 checksum How to use checksums |
57d7a78f3e0ee0e370ea8e33eb80165cf5a5341e3235bdabe8ee5f9906f7a77d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Security for pygments-bsl 1.1.0
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.