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/pythonutilities/jinjasql",
"name": "jinjasql2",
"maintainer": "Sridhar, Thomas Cherian",
"docs_url": null,
"requires_python": "",
"maintainer_email": "crsridhar23@gmail.com",
"keywords": "Jinja2,SQL,Python,Template",
"author": "Sridhar, Thomas Cherian, Sripathi Krishnan",
"author_email": "crsridhar23@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/26/61/d4661925646c409ba4421aa42c543773dcba3fccce0578d6553499fc54fa/jinjasql2-0.1.11.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.11",
"project_urls": {
"Download": "http://cloud.github.com/downloads/pythonutilities/jinjasql/jinjasql-0.1.11.tar.gz",
"Homepage": "https://github.com/pythonutilities/jinjasql"
},
"split_keywords": [
"jinja2",
"sql",
"python",
"template"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3e4b1527ed234a4bb87045b023ed3d47785a4064e2c790b92434d63dd407ea52",
"md5": "cb7256c42cd78828b98cd8ba8e1596cb",
"sha256": "09a17bdb206b328526d947ad12ec2add2f7595d053522bef7764a8ff26ef655a"
},
"downloads": -1,
"filename": "jinjasql2-0.1.11-py3-none-any.whl",
"has_sig": false,
"md5_digest": "cb7256c42cd78828b98cd8ba8e1596cb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5464,
"upload_time": "2023-11-20T17:19:39",
"upload_time_iso_8601": "2023-11-20T17:19:39.686401Z",
"url": "https://files.pythonhosted.org/packages/3e/4b/1527ed234a4bb87045b023ed3d47785a4064e2c790b92434d63dd407ea52/jinjasql2-0.1.11-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2661d4661925646c409ba4421aa42c543773dcba3fccce0578d6553499fc54fa",
"md5": "f1dbcf9b61afe6856c54c39215a195b0",
"sha256": "64c990e4198d8958c20b4b2519b080f1e1a004399286cb73448e976dbeb07cc4"
},
"downloads": -1,
"filename": "jinjasql2-0.1.11.tar.gz",
"has_sig": false,
"md5_digest": "f1dbcf9b61afe6856c54c39215a195b0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 12321,
"upload_time": "2023-11-20T17:19:58",
"upload_time_iso_8601": "2023-11-20T17:19:58.240193Z",
"url": "https://files.pythonhosted.org/packages/26/61/d4661925646c409ba4421aa42c543773dcba3fccce0578d6553499fc54fa/jinjasql2-0.1.11.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-20 17:19:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pythonutilities",
"github_project": "jinjasql",
"travis_ci": true,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "jinjasql2"
}