pygments-pharo-lexer
A standalone Pygments plugin package for the Pharo Smalltalk lexer.
Installation
pip install pygments-pharo-lexer
Usage
from pygments.lexers import get_lexer_by_name
lexer = get_lexer_by_name("pharo")
You can also import the lexer class directly:
from pygments_pharo.lexer import PharoLexer
Releasing
Build and verify the package locally before publishing:
python -m pip install -e .[dev]
python -m pytest
python -m build
python -m twine check dist/*
Publishing is automated by the Publish to PyPI GitHub Actions workflow. In
PyPI, create a pending Trusted Publisher for project pygments-pharo-lexer with
owner pharo-llm, repository pygments-pharo-lexer, and workflow
publish-pypi.yml, then push a version tag:
git tag v0.1.0
git push origin v0.1.0
Metadata
Release files for pygments-pharo-lexer 0.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 | Actions |
|---|---|---|---|---|
| pygments_pharo_lexer-0.1.0.tar.gz | 7.5 kB | With provenance | Details for pygments_pharo_lexer-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pygments_pharo_lexer-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pygments_pharo_lexer-0.1.0-py3-none-any.whl |
Total release size: 13.0 kB
Release files / pygments_pharo_lexer-0.1.0.tar.gz
| Download URL | pygments_pharo_lexer-0.1.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91f6c725f010afdf05770e32e9b25c826aab53f1829039c0c2b344a3a6a8a4a9
|
|
BLAKE2b-256 checksum How to use checksums |
c16fde470bb0d75417ad5f25529913d839e6f31d566f8aefd2001da08b34c741
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 14, 2026.
Transparency logRelease files / pygments_pharo_lexer-0.1.0-py3-none-any.whl
| Download URL | pygments_pharo_lexer-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eda2d9a8bbcc2b4b40c649c561366074af2757a0cd99469a92933d749649b4a8
|
|
BLAKE2b-256 checksum How to use checksums |
8fbbb8334588346de168c5eb805c164dead0817d5b86a2028c44ac768788d31c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 14, 2026.
Transparency logSecurity for pygments-pharo-lexer 0.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for pygments_pharo_lexer-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 14, 2026.
Transparency logA 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.