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-0.1.8.tar.gz (7.9 kB view hashes)

Uploaded Source

Built Distribution

jinjasql-0.1.8-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

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