yaql
YAQL - Yet Another Query Language
Decision gist · record as of 2026-08-14
Yes, if you need a safe, embeddable query language for end-user filtering or data exploration. The low install friction, permissive license, and lack of security issues make it a solid choice. The aging maintenance status is a minor concern—suitable for stable, non-critical use cases; less ideal if you need active development or rapid bug fixes.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low friction to install.
- The package is aging (309 days since last release) but maintains support for current Python versions (3.10–3.13) and depends only on pbr and python-dateutil.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 is permissive; you can use this package freely in commercial and private projects with minimal restrictions, provided you include a copy of the license.
last release 2025-10-09 (309 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 317,007 downloads/mo, #7,667 on PyPI
Alternatives
Verify before relying
pip install yaql
import yaql
engine = yaql.create_engine()
context = yaql.create_context()
expression = engine('$.customers.where($.age > 18)')
result = expression.evaluate(context=context, $=data)- Whether the REPL and @load directive work as shown in the quickstart without additional setup.
- Current maintenance status and whether the OpenStack project is actively developing YAQL or in maintenance-only mode.
- Performance characteristics and scalability limits for large datasets or deeply nested queries.
What it is and what it does
YAQL is a query language embedded in Python that lets you write SQL-like expressions to filter, transform, and analyze data structures. You write queries as strings (e.g., `$.customers.where($.age > 18)`) and evaluate them against Python objects, JSON, or other data; the language includes a standard library of functions for grouping, filtering, and aggregation. It's designed to be extended with custom functions, making it useful when you need a safe, user-facing query interface without building a full DSL.
The package includes a REPL for interactive exploration and can load JSON files directly. It depends on pbr for build metadata and python-dateutil for date handling. The project is aging (last release 309 days ago) but supports modern Python versions through 3.13 and has no known security vulnerabilities.
Use it for
- Build a user-facing query interface for a web app where users filter records without writing Python code.
- Query and transform JSON data loaded from files or APIs using a familiar SQL-like syntax.
- Implement dynamic filtering and aggregation in configuration or policy engines that need to evaluate expressions safely.
- Prototype data analysis workflows interactively in the YAQL REPL before moving to production code.
- Extend OpenStack tools or other projects that already use YAQL for consistent query semantics.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need a safe, embeddable query language for end-user filtering or data exploration.
The low install friction, permissive license, and lack of security issues make it a solid choice. The aging maintenance status is a minor concern—suitable for stable, non-critical use cases; less ideal if you need active development or rapid bug fixes.
Install
yaql on PyPI
Before you install
Low friction to install. The package is aging (309 days since last release) but maintains support for current Python versions (3.10–3.13) and depends only on pbr and python-dateutil.
Requires Python 3.10 or later.
License in practice
Apache-2.0 is permissive; you can use this package freely in commercial and private projects with minimal restrictions, provided you include a copy of the license.
Quickstart
pip install yaql
import yaql
engine = yaql.create_engine()
context = yaql.create_context()
expression = engine('$.customers.where($.age > 18)')
result = expression.evaluate(context=context, $=data)
Verify before relying
- Whether the REPL and @load directive work as shown in the quickstart without additional setup.
- Current maintenance status and whether the OpenStack project is actively developing YAQL or in maintenance-only mode.
- Performance characteristics and scalability limits for large datasets or deeply nested queries.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespbrpython-dateutil |
| Maintenance | Aging 309 days since the last release |
| First released | |
| Downloads | 317,007 / month, #7,667 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: OpenStackIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13 |
Evidence: yaql-3.2.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “query language for python objects”
- yaqlYAQL is an embeddable query language for Python that lets you run…
- py-partiql-parserParses and executes PartiQL queries against JSON and…
- bc-jsonpath-ngParses and queries JSON structures using JSONPath expressions,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also luqum · yarg · mongo-query-match · objectpath · py-partiql-parser · graphql-query · opensearch-dsl · ply · jsonquerylang · queries