Pygments lexer for prometheus metrics
Project description
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.
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-prometheus-1.0.tar.gz.
File metadata
- Download URL: pygments-prometheus-1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc612670419d1301b74da21b3fb9cb1ca57303e6969122300bcbf919aa286032
|
|
| MD5 |
3447e29b69106a2be762e02de91fcf46
|
|
| BLAKE2b-256 |
659288a7441f27eb2fbd600a0ae62c2780ea4b38627c1be030548499d44a72d6
|
File details
Details for the file pygments_prometheus-1.0-py3-none-any.whl.
File metadata
- Download URL: pygments_prometheus-1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a653fe6dce40a4c232fa6dfeb1962b69cb6ebd989b2293316191eea7164ffa7f
|
|
| MD5 |
f0dbe7e2f1582616e7bfc8757ada200e
|
|
| BLAKE2b-256 |
4c7df692df6e302435039038b1a5938ca92562f473500ce10ad567469aa810cc
|