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.
Raw data
{
"_id": null,
"home_page": "https://github.com/sripathikrishnan/jinjasql",
"name": "jinjasql-m",
"maintainer": "Sripathi Krishnan",
"docs_url": null,
"requires_python": null,
"maintainer_email": "Sripathi.Krishnan@gmail.com",
"keywords": "Jinja2, SQL, Python, Template",
"author": "Sripathi Krishnan",
"author_email": "Sripathi.Krishnan@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/90/47/96c597873bd7fdff5633b6fe062a3677518445065d86382c2fc4bd4babd5/jinjasql_m-0.1.21.tar.gz",
"platform": null,
"description": "\r\nGenerate SQL Queries using a Jinja Template, without worrying about SQL Injection\r\n\r\nJinjaSQL automatically binds parameters that are inserted into the template.\r\nAfter JinjaSQL evaluates the template, you get 1) Query with placeholders\r\nfor parameters, and 2) List of values that need to be bound to the query. \r\n\r\nJinjaSQL doesn't actually execute the query - it only prepares the \r\nquery and the bind parameters. You can execute the query using any \r\ndatabase engine / driver you are working with.\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Generate SQL Queries and Corresponding Bind Parameters using a Jinja2 Template",
"version": "0.1.21",
"project_urls": {
"Download": "http://cloud.github.com/downloads/sripathikrishnan/jinjasql/jinjasql-0.1.21.tar.gz",
"Homepage": "https://github.com/sripathikrishnan/jinjasql"
},
"split_keywords": [
"jinja2",
" sql",
" python",
" template"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4b9ba93a09c8475257dcf8d3147c14985161ba5ced71e189532be93ca947193d",
"md5": "a29884d60d0df93c6183ee3c4a94658c",
"sha256": "12aa7c7865f7e6013f4e103c530cd94c51bd175dd66da6085aec1021f5692564"
},
"downloads": -1,
"filename": "jinjasql_m-0.1.21-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a29884d60d0df93c6183ee3c4a94658c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5323,
"upload_time": "2024-09-20T14:11:20",
"upload_time_iso_8601": "2024-09-20T14:11:20.205823Z",
"url": "https://files.pythonhosted.org/packages/4b/9b/a93a09c8475257dcf8d3147c14985161ba5ced71e189532be93ca947193d/jinjasql_m-0.1.21-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "904796c597873bd7fdff5633b6fe062a3677518445065d86382c2fc4bd4babd5",
"md5": "768a3ae99346c35ca8f4b1ac663e1205",
"sha256": "e0b7268480ecc96feefe53800b23e99cb8b92a01e8a3179ea8640a27edde650f"
},
"downloads": -1,
"filename": "jinjasql_m-0.1.21.tar.gz",
"has_sig": false,
"md5_digest": "768a3ae99346c35ca8f4b1ac663e1205",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11769,
"upload_time": "2024-09-20T14:11:21",
"upload_time_iso_8601": "2024-09-20T14:11:21.660406Z",
"url": "https://files.pythonhosted.org/packages/90/47/96c597873bd7fdff5633b6fe062a3677518445065d86382c2fc4bd4babd5/jinjasql_m-0.1.21.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-20 14:11:21",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "sripathikrishnan",
"github_project": "jinjasql",
"travis_ci": true,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "Jinja2",
"specs": [
[
"<",
"3.0"
],
[
">=",
"2.5"
]
]
},
{
"name": "Django",
"specs": [
[
">=",
"1.7"
],
[
"<",
"1.8"
]
]
},
{
"name": "PyYAML",
"specs": [
[
">=",
"3"
]
]
},
{
"name": "testcontainers",
"specs": [
[
"==",
"3.4.2"
]
]
}
],
"lcname": "jinjasql-m"
}