Registry / serialization / absql
library0.6.3pypypi✓ verified 79d ago

A rendering engine for templated SQL. Current version 0.6.3, with occasional releases. Supports Jinja-like templating, YAML frontmatter, and multiple file types.

pip install absql
INSTALL
IMPORT
SIG · ABSQL
A
absql
serializationpythonv0.6.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Runner
from absql import Runner
from absql import ABSQLEngine
render
from absql import render
render_file
from absql import render_file

Define a template with YAML frontmatter and render with context variables.

from absql import ABSQLEngine engine = ABSQLEngine() template = """ --- db: postgresql --- SELECT * FROM {{ table_name }} """ result = engine.render(template, table_name='users') print(result)
Debug
Known issues
breakingIn v0.6.0, when `return_dict=True`, the key for file-specific content changed to `absql_body` instead of the filename.
fix
If you relied on the old key (e.g., `result['sql']`), update to `result['absql_body']`.
affects: >=0.6.0
gotchaThe `flatdict` package dependency was removed in v0.6.3. If you used `flatdict` directly in your code, it will break.
fix
Install `flatdict` separately if needed: `pip install flatdict`.
affects: >=0.6.3
Upgrade
Version history
0.6.3latest on PyPI · released Feb 26, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
59 hits · last 30 days
node
52
OpenAI (training)
1
Resources
absql — pip install absql · libregistry