Overview
This package provides a prometheus metrics language lexer for Pygments. THe lexer is published as an entry point and, once installed, Pygments will pick it up automatically.
You can then use the prom langauge with Pygments:
$ pygmentize -l prom metrics.prom
Installation
Use your favorite installer to install pygments-prometheus into the same Python you have installed Pygments. for example:
$ pip install pygments-prometheus
TO verify the installation run:
$ pygmentize -L lexer | grep -A1 -i prometheus
* prometheus:
prom (filenames *.prom)
Changelog
1.0 - 2018-11-08
Initial release.
Release files for pygments-prometheus 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 | |
|---|---|---|---|
| pygments-prometheus-1.0.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pygments_prometheus-1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.5 kB
Release files / pygments-prometheus-1.0.tar.gz
| Download URL | pygments-prometheus-1.0.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cc612670419d1301b74da21b3fb9cb1ca57303e6969122300bcbf919aa286032
|
|
BLAKE2b-256 checksum How to use checksums |
659288a7441f27eb2fbd600a0ae62c2780ea4b38627c1be030548499d44a72d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6
|
Release files / pygments_prometheus-1.0-py3-none-any.whl
| Download URL | pygments_prometheus-1.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a653fe6dce40a4c232fa6dfeb1962b69cb6ebd989b2293316191eea7164ffa7f
|
|
BLAKE2b-256 checksum How to use checksums |
4c7df692df6e302435039038b1a5938ca92562f473500ce10ad567469aa810cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6
|