Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jinjasql_m-0.1.21.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

jinjasql_m-0.1.21-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

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

Hashes for jinjasql_m-0.1.21.tar.gz
Algorithm Hash digest
SHA256 e0b7268480ecc96feefe53800b23e99cb8b92a01e8a3179ea8640a27edde650f
MD5 768a3ae99346c35ca8f4b1ac663e1205
BLAKE2b-256 904796c597873bd7fdff5633b6fe062a3677518445065d86382c2fc4bd4babd5

See more details on using hashes here.

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

Hashes for jinjasql_m-0.1.21-py3-none-any.whl
Algorithm Hash digest
SHA256 12aa7c7865f7e6013f4e103c530cd94c51bd175dd66da6085aec1021f5692564
MD5 a29884d60d0df93c6183ee3c4a94658c
BLAKE2b-256 4b9ba93a09c8475257dcf8d3147c14985161ba5ced71e189532be93ca947193d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page