Metadata-Version: 2.1
Name: pygments-promql
Version: 0.0.1
Summary: A PromQL lexer for Pygments
Home-page: https://github.com/pabluk/pygments-promql
Author: Pablo Seminario
Author-email: pablo@seminar.io
License: UNKNOWN
Keywords: pygments-lexer promql highlighting
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Text Processing
Classifier: Topic :: Utilities
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: Pygments (>=2)

# pygments-promql

A PromQL lexer for [Pygments](https://pygments.org/).

# Installation

## Using `pip`

Run:

```console
pip install pygments-promql
```

## From source code

If you wan to test, play or contribute to this repo:

```console
python setup.py install
```

# Usage

Showing colorized output in a terminal:

```console
pygmentize tests/example.promql
```

Or to generate a PNG file:

```console
pygmentize -f png -O "line_numbers=False" -o tests/example.png tests/example.promql
```
![promql](tests/example.png)

# Testing

```console
pip install -r requirements.txt
pytest tests/ -v
```


