{ "info": { "author": "Clark C. Evans and Kirill Simonov; Prometheus Research, LLC", "author_email": "cce@clarkevans.com, xi@resolvent.net", "bugtrack_url": null, "classifiers": [], "description": "*******************************************\n HTSQL-DJANGO -- Django gateway to HTSQL\n*******************************************\n\nHTSQL is a comprehensive navigational query language for relational\ndatabases. This package contains a Django application that provides\na gateway to HTSQL service.\n\nThis is an experimental package. The usage, API, and security\nassumptions may change in future releases.\n\nFor more information on HTSQL, please see:\n\n http://htsql.org/\n The HTSQL homepage\n\n http://pypi.python.org/pypi/HTSQL/\n The source package for HTSQL\n\n\nInstallation and Usage\n======================\n\nThis package allows you to use HTSQL in your Django projects. To\ninstall it, run::\n\n # pip install HTSQL-DJANGO\n\nThis command installs HTSQL itself and a Django gateway. Out of the\nbox, HTSQL works with SQLite databases. To run HTSQL on top of other\ndatabase servers, install additional database backends::\n\n # pip install HTSQL-PGSQL\n # pip install HTSQL-MYSQL\n\nTo use HTSQL in your Django project, open ``settings.py`` and add\n``'htsql_django'`` to the list of installed applications::\n\n INSTALLED_APPS = (\n # ...\n 'htsql_django',\n )\n\nWhen used in a Django project, HTSQL service is automatically\nconfigured to serve on the default Django database. You could provide\nadditional configuration options using parameter ``HTSQL_CONFIG``.\nFor instance, a reasonable configuration could be::\n\n HTSQL_CONFIG = {\n # Set query timeout in seconds (currently, PostgreSQL only).\n 'tweak.timeout': { 'timeout': 600 },\n # Set the maximum number of output rows.\n 'tweak.autolimit': { 'limit': 10000 },\n # Enable the web-based query editor.\n 'tweak.shell.default': {},\n # Enable meta-data queries.\n 'tweak.meta': {},\n }\n\nNext, add the gateway to the URL dispatcher. Open ``urls.py`` and\nadd the following line::\n\n urlpatterns = patterns('',\n # ...\n url(r'^htsql/', include('htsql_django.urls')),\n )\n\nThis will forward HTTP requests starting from ``/htsql/`` to the HTSQL\nservice. The gateway is available only to authenticated users.\n\nYou could also make HTSQL queries from Python code. For example, to\ncalculate the total number of votes per poll in the Django tutorial\nproject, run::\n\n >>> from htsql_django import produce\n >>>\n >>> query = \"/polls_poll{question, total:=sum(polls_choice.votes)}\"\n >>> for row in produce(query):\n ... print \"%s: %s\" % (row.question, row.total)\n ...\n What's up?: 6", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://htsql.org/", "keywords": "sql relational database query language", "license": "AGPLv3 or Permissive for use with Open Source databases", "maintainer": null, "maintainer_email": null, "name": "HTSQL-DJANGO", "package_url": "https://pypi.org/project/HTSQL-DJANGO/", "platform": "Any", "project_url": "https://pypi.org/project/HTSQL-DJANGO/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://htsql.org/" }, "release_url": "https://pypi.org/project/HTSQL-DJANGO/2.3.3/", "requires_dist": null, "requires_python": null, "summary": "A Database Query Language (Django gateway)", "version": "2.3.3" }, "last_serial": 722465, "releases": { "2.3.1": [ { "comment_text": "", "digests": { "md5": "807e45e2b559670295c0649c2890c45b", "sha256": "68c0414f7ce59e67e3d1bf7b39a4fbceba380a543b956eeee64612d5f91cd794" }, "downloads": -1, "filename": "HTSQL-DJANGO-2.3.1.tar.gz", "has_sig": true, "md5_digest": "807e45e2b559670295c0649c2890c45b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9925, "upload_time": "2012-06-28T19:26:16", "url": "https://files.pythonhosted.org/packages/5d/de/b0e46758995bf3d7d820b159001a72a4576d22dc46b979b12ad9b830fe8d/HTSQL-DJANGO-2.3.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "44e690e5a433c3a9fdf4ea8652613862", "sha256": "f94d18674718d53c80dc465ed1cd29dda59d7d5d507a245799dcfae9961c49ef" }, "downloads": -1, "filename": "HTSQL-DJANGO-2.3.1.zip", "has_sig": true, "md5_digest": "44e690e5a433c3a9fdf4ea8652613862", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15574, "upload_time": "2012-06-28T19:26:14", "url": "https://files.pythonhosted.org/packages/85/22/04f7cbe12b5bca74f6b42bfc7de667a8164b1c797ab4526298d78eba0651/HTSQL-DJANGO-2.3.1.zip" } ], "2.3.2": [ { "comment_text": "", "digests": { "md5": "f2a34bab3463e1f999bae043646a21b5", "sha256": "00f5f3ca361ec05066ffbb28a1a91a30d2c8f642f617e4c3ad0350faafcfa6ca" }, "downloads": -1, "filename": "HTSQL-DJANGO-2.3.2.tar.gz", "has_sig": true, "md5_digest": "f2a34bab3463e1f999bae043646a21b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10038, "upload_time": "2012-08-24T17:19:31", "url": "https://files.pythonhosted.org/packages/6a/2f/1b263fbb89a67ff3fd1c14a6aff468c07b08519ff166d06f9638021b4bfa/HTSQL-DJANGO-2.3.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "6731d1984e411d1daa94058fe6fcc0a0", "sha256": "85e95bd03fda72d71c07a3c8d3a7242e2385ed9543bfd5304b5e933d0b18cc15" }, "downloads": -1, "filename": "HTSQL-DJANGO-2.3.2.zip", "has_sig": true, "md5_digest": "6731d1984e411d1daa94058fe6fcc0a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15682, "upload_time": "2012-08-24T17:19:29", "url": "https://files.pythonhosted.org/packages/53/08/0fa7e1e61d7ad9e15c45badef8eaa3a003e0f93ff5eb6ca0d06caad43de2/HTSQL-DJANGO-2.3.2.zip" } ], "2.3.3": [ { "comment_text": "", "digests": { "md5": "c420e12658fd03ea96731456d96e3e1d", "sha256": "b153c316d4e48541c21448473b7e0d45c870dc4c7bf3f041cef7eb911a0bce5e" }, "downloads": -1, "filename": "HTSQL-DJANGO-2.3.3.tar.gz", "has_sig": true, "md5_digest": "c420e12658fd03ea96731456d96e3e1d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10472, "upload_time": "2013-02-01T18:45:14", "url": "https://files.pythonhosted.org/packages/b2/d8/4240800b986b756945bbd6a9721c93f112efae7d5c0b686fa337dc9f0c56/HTSQL-DJANGO-2.3.3.tar.gz" }, { "comment_text": "", "digests": { "md5": "11c8b83c2dff53bd592e85e1a2058738", "sha256": "04fae2c5e04e2dc78f1901dbf2e522853a160231600428c1fb483a69a0e505e2" }, "downloads": -1, "filename": "HTSQL-DJANGO-2.3.3.zip", "has_sig": true, "md5_digest": "11c8b83c2dff53bd592e85e1a2058738", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16006, "upload_time": "2013-02-01T18:45:12", "url": "https://files.pythonhosted.org/packages/29/de/b28f3146770eb0f1f906ba50587ce0e183f253b47ec95620a1db1e1f2db4/HTSQL-DJANGO-2.3.3.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c420e12658fd03ea96731456d96e3e1d", "sha256": "b153c316d4e48541c21448473b7e0d45c870dc4c7bf3f041cef7eb911a0bce5e" }, "downloads": -1, "filename": "HTSQL-DJANGO-2.3.3.tar.gz", "has_sig": true, "md5_digest": "c420e12658fd03ea96731456d96e3e1d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10472, "upload_time": "2013-02-01T18:45:14", "url": "https://files.pythonhosted.org/packages/b2/d8/4240800b986b756945bbd6a9721c93f112efae7d5c0b686fa337dc9f0c56/HTSQL-DJANGO-2.3.3.tar.gz" }, { "comment_text": "", "digests": { "md5": "11c8b83c2dff53bd592e85e1a2058738", "sha256": "04fae2c5e04e2dc78f1901dbf2e522853a160231600428c1fb483a69a0e505e2" }, "downloads": -1, "filename": "HTSQL-DJANGO-2.3.3.zip", "has_sig": true, "md5_digest": "11c8b83c2dff53bd592e85e1a2058738", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16006, "upload_time": "2013-02-01T18:45:12", "url": "https://files.pythonhosted.org/packages/29/de/b28f3146770eb0f1f906ba50587ce0e183f253b47ec95620a1db1e1f2db4/HTSQL-DJANGO-2.3.3.zip" } ] }