PromQL Parser for Python

JSON →
library 0.8.0 ·python
verified May 23, 2026

promql-parser is a Python binding that provides a fast and robust PromQL (Prometheus Query Language) parser. It leverages a Rust-based parser for efficient conversion of PromQL queries into an Abstract Syntax Tree (AST), enabling programmatic analysis and manipulation of Prometheus queries. The current version is 0.8.0, with releases typically following updates to the underlying Rust parser.

total hits 19
actors 9 distinct systems
last hit 1d ago SERankingBot
GPTBot
2
Script
2
ClaudeBot
1
ChatGPT-User
1
Search engines
2
Humans
1

top countries 🇩🇪 Germany · 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇨🇭 Switzerland