jinjasql


Namejinjasql JSON
Version 0.1.8 PyPI version JSON
download
home_pagehttps://github.com/hashedin/jinjasql
SummaryGenerate SQL Queries and Corresponding Bind Parameters using a Jinja2 Template
upload_time2020-05-27 14:11:59
maintainerSripathi Krishnan
docs_urlNone
authorSripathi Krishnan
requires_python
licenseMIT
keywords jinja2 sql python template
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            
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/hashedin/jinjasql",
    "name": "jinjasql",
    "maintainer": "Sripathi Krishnan",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "Sripathi@hashedin.com",
    "keywords": "Jinja2,SQL,Python,Template",
    "author": "Sripathi Krishnan",
    "author_email": "Sripathi@hashedin.com",
    "download_url": "https://files.pythonhosted.org/packages/60/59/4a6ca2c44285b049950df535837975d4eebe88fe90c820082a13dbaa5512/jinjasql-0.1.8.tar.gz",
    "platform": "",
    "description": "\nGenerate SQL Queries using a Jinja Template, without worrying about SQL Injection\n\nJinjaSQL automatically binds parameters that are inserted into the template.\nAfter JinjaSQL evaluates the template, you get 1) Query with placeholders\nfor parameters, and 2) List of values that need to be bound to the query. \n\nJinjaSQL doesn't actually execute the query - it only prepares the \nquery and the bind parameters. You can execute the query using any \ndatabase engine / driver you are working with.\n\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Generate SQL Queries and Corresponding Bind Parameters using a Jinja2 Template",
    "version": "0.1.8",
    "project_urls": {
        "Download": "http://cloud.github.com/downloads/hashedin/jinjasql/jinjasql-0.1.8.tar.gz",
        "Homepage": "https://github.com/hashedin/jinjasql"
    },
    "split_keywords": [
        "jinja2",
        "sql",
        "python",
        "template"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "34399cc189b37e61dcb178cc8683e592fa2e3241a67256580a1a455d4a7fb58f",
                "md5": "ef522304065e6f5ce63b5c8a8f85f398",
                "sha256": "4e105465a748b1468571f40efdfea100886a776d8697ab1497d573a93430ea2a"
            },
            "downloads": -1,
            "filename": "jinjasql-0.1.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ef522304065e6f5ce63b5c8a8f85f398",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4851,
            "upload_time": "2020-05-27T14:11:57",
            "upload_time_iso_8601": "2020-05-27T14:11:57.793382Z",
            "url": "https://files.pythonhosted.org/packages/34/39/9cc189b37e61dcb178cc8683e592fa2e3241a67256580a1a455d4a7fb58f/jinjasql-0.1.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "60594a6ca2c44285b049950df535837975d4eebe88fe90c820082a13dbaa5512",
                "md5": "0abb8523bfb649642f4f8ccb08a6ef85",
                "sha256": "5ba8fc1ce0c037da0b3e122d4bbc7b8fd47e1fa73ec72ef72c4c495f81f042a1"
            },
            "downloads": -1,
            "filename": "jinjasql-0.1.8.tar.gz",
            "has_sig": false,
            "md5_digest": "0abb8523bfb649642f4f8ccb08a6ef85",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7880,
            "upload_time": "2020-05-27T14:11:59",
            "upload_time_iso_8601": "2020-05-27T14:11:59.317190Z",
            "url": "https://files.pythonhosted.org/packages/60/59/4a6ca2c44285b049950df535837975d4eebe88fe90c820082a13dbaa5512/jinjasql-0.1.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-05-27 14:11:59",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hashedin",
    "github_project": "jinjasql",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "jinjasql"
}
        
Elapsed time: 0.20300s