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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file jinjasql_m-0.1.22-py3-none-any.whl.

File metadata

  • Download URL: jinjasql_m-0.1.22-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.11.6

File hashes

Hashes for jinjasql_m-0.1.22-py3-none-any.whl
Algorithm Hash digest
SHA256 a3848771d850141d48e3d1fc6939ef8f8a23beaa26011eeff7baf1c6b4364c7e
MD5 e69b4d9b1e78874f5e896e74f04d4313
BLAKE2b-256 5baa36ac431d17e6ced37d56ca461001c1d90513d965bb0e7ecd984da645c445

See more details on using hashes here.

Supported by

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