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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file jinjasql-0.1.8.tar.gz.

File metadata

  • Download URL: jinjasql-0.1.8.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for jinjasql-0.1.8.tar.gz
Algorithm Hash digest
SHA256 5ba8fc1ce0c037da0b3e122d4bbc7b8fd47e1fa73ec72ef72c4c495f81f042a1
MD5 0abb8523bfb649642f4f8ccb08a6ef85
BLAKE2b-256 60594a6ca2c44285b049950df535837975d4eebe88fe90c820082a13dbaa5512

See more details on using hashes here.

File details

Details for the file jinjasql-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: jinjasql-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for jinjasql-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 4e105465a748b1468571f40efdfea100886a776d8697ab1497d573a93430ea2a
MD5 ef522304065e6f5ce63b5c8a8f85f398
BLAKE2b-256 34399cc189b37e61dcb178cc8683e592fa2e3241a67256580a1a455d4a7fb58f

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