Skip to content

messense/py-promql-parser

Repository files navigation

py-promql-parser

CI PyPI

promql-parser Python binding, a PromQL parser for Python.

Installation

pip install promql-parser

Usage

import promql_parser

ast = promql_parser.parse('prometheus_http_requests_total{code="200", job="prometheus"}')
print(ast)

License

This work is released under the MIT license. A copy of the license is provided in the LICENSE file.

About

PromQL parser for Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •