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

jinjasql2-0.1.12.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

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

jinjasql2-0.1.12-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file jinjasql2-0.1.12.tar.gz.

File metadata

  • Download URL: jinjasql2-0.1.12.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for jinjasql2-0.1.12.tar.gz
Algorithm Hash digest
SHA256 73989d62b513a3ebeac95fa6098358b5391f72b69a0aed5d04d8f1f9ff2401f5
MD5 3df7a5c160ff0e7366a684e50b7ef511
BLAKE2b-256 a6161ba946eb6b0f49b6394bb54d3db7231dbf75020b33d0bf7101a2d4fb4c94

See more details on using hashes here.

File details

Details for the file jinjasql2-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: jinjasql2-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for jinjasql2-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 0743ea7fa184f650b715a757ead78661845771fafc33d6115e6ec47193853ff9
MD5 8b805e64d96599425e21ebc972cd675d
BLAKE2b-256 279f46265d61532b800f258d36aa816d0106cd385501241705ee2927e6abb413

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