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
Close
Hashes for pygments_prometheus-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a653fe6dce40a4c232fa6dfeb1962b69cb6ebd989b2293316191eea7164ffa7f |
|
MD5 | f0dbe7e2f1582616e7bfc8757ada200e |
|
BLAKE2b-256 | 4c7df692df6e302435039038b1a5938ca92562f473500ce10ad567469aa810cc |