Generate SQL Queries and Corresponding Bind Parameters using a Jinja2 Template
Project description
Generate SQL Queries using a Jinja Template, without worrying about SQL Injection
JinjaSQL automatically binds parameters that are inserted into the template. After JinjaSQL evaluates the template, you get 1) Query with placeholders for parameters, and 2) List of values that need to be bound to the query.
JinjaSQL doesn’t actually execute the query - it only prepares the query and the bind parameters. You can execute the query using any database engine / driver you are working with.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file jinjasql_m-0.1.21.tar.gz
.
File metadata
- Download URL: jinjasql_m-0.1.21.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0b7268480ecc96feefe53800b23e99cb8b92a01e8a3179ea8640a27edde650f |
|
MD5 | 768a3ae99346c35ca8f4b1ac663e1205 |
|
BLAKE2b-256 | 904796c597873bd7fdff5633b6fe062a3677518445065d86382c2fc4bd4babd5 |
File details
Details for the file jinjasql_m-0.1.21-py3-none-any.whl
.
File metadata
- Download URL: jinjasql_m-0.1.21-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12aa7c7865f7e6013f4e103c530cd94c51bd175dd66da6085aec1021f5692564 |
|
MD5 | a29884d60d0df93c6183ee3c4a94658c |
|
BLAKE2b-256 | 4b9ba93a09c8475257dcf8d3147c14985161ba5ced71e189532be93ca947193d |