A Pygments lexer plugin for Pharo Smalltalk.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pygments_pharo_lexer-0.1.0.tar.gz.
File metadata
- Download URL: pygments_pharo_lexer-0.1.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91f6c725f010afdf05770e32e9b25c826aab53f1829039c0c2b344a3a6a8a4a9
|
|
| MD5 |
be080a7ec51cf7f465d0a094d34edb6c
|
|
| BLAKE2b-256 |
c16fde470bb0d75417ad5f25529913d839e6f31d566f8aefd2001da08b34c741
|
Provenance
The following attestation bundles were made for pygments_pharo_lexer-0.1.0.tar.gz:
Publisher:
publish-pypi.yml on pharo-llm/pygments-pharo-lexer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pygments_pharo_lexer-0.1.0.tar.gz -
Subject digest:
91f6c725f010afdf05770e32e9b25c826aab53f1829039c0c2b344a3a6a8a4a9 - Sigstore transparency entry: 2168120311
- Sigstore integration time:
-
Permalink:
pharo-llm/pygments-pharo-lexer@b28f3a12bb956117f47573971dd3fdf8bb29aec7 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/pharo-llm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@b28f3a12bb956117f47573971dd3fdf8bb29aec7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pygments_pharo_lexer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pygments_pharo_lexer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eda2d9a8bbcc2b4b40c649c561366074af2757a0cd99469a92933d749649b4a8
|
|
| MD5 |
7e12003dbc39069fef7822ac0b68a6e5
|
|
| BLAKE2b-256 |
8fbbb8334588346de168c5eb805c164dead0817d5b86a2028c44ac768788d31c
|
Provenance
The following attestation bundles were made for pygments_pharo_lexer-0.1.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on pharo-llm/pygments-pharo-lexer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pygments_pharo_lexer-0.1.0-py3-none-any.whl -
Subject digest:
eda2d9a8bbcc2b4b40c649c561366074af2757a0cd99469a92933d749649b4a8 - Sigstore transparency entry: 2168120324
- Sigstore integration time:
-
Permalink:
pharo-llm/pygments-pharo-lexer@b28f3a12bb956117f47573971dd3fdf8bb29aec7 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/pharo-llm
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@b28f3a12bb956117f47573971dd3fdf8bb29aec7 -
Trigger Event:
push
-
Statement type: