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.

Files for jinjasql, version 0.1.7
Filename, size & hash File type Python version Upload date
jinjasql-0.1.7.tar.gz (4.6 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page