1 unstable release
0.1.0 | Mar 25, 2024 |
---|
#1090 in Database interfaces
28 downloads per month
14KB
256 lines
MiniDT: A Simple Yet Powerful Jinja Compiler for SQL
MiniDT is a lightweight and efficient tool designed to leverage the power of Jinja2(MiniJinja) templates for generating SQL queries. It serves as a versatile alternative to heavier frameworks like dbt, offering flexibility without the need for complex setups or database connections.
Perfect for situations where dbt is too much, and raw SQL falls short.
As simple as:
Getting Started
Installation
To install MiniDT, clone the repository:
git clone git@github.com:xRSquared/minidt.git
Features
- Streamlined Workflow: Write your SQL code and compile with ease.
- Flexible Templating: Enjoy the power of Jinja2 templating without the complexity.
- Lightweight and Fast: With minimal setup requirements and optimized performance, MiniDT keeps your workflow agile
Why MiniDT?
MiniDT acts as a convenient wrapper around Jinja, enhancing it with syntax enhancements and optimized workflows. Whether you're driven by the need for simplicity, restricted by company policies, or simply seeking to supercharge your SQL templating capabilities, MiniDT is your go-to solution.
Jinja + SQL = ❤️
Contribution
Contributions are welcome! Feel free to submit bug reports, feature requests, or pull requests via GitHub.
License
MiniDT is licensed under the MIT License.
Dependencies
~2.2–3MB
~56K SLoC