Skip to main content

Query language for the accidental programmer

Project description

HTSQL (“Hyper Text Structured Query Language”) is a high-level query language for relational databases. The target audience for HTSQL is the accidental programmer – one who is not a SQL expert, yet needs a usable, comprehensive query tool for data access and reporting.

HTSQL is also a web service which takes a request via HTTP, translates it into a SQL query, executes the query against a relational database, and returns the results in a format requested by the user agent (JSON, CSV, HTML, etc.).

Use of HTSQL with open source databases (PostgreSQL, MySQL, SQLite) is royalty free under BSD-style conditions. Use of HTSQL with proprietary database systems (Oracle, Microsoft SQL) requires a commercial license. See LICENSE for details.

For installation instructions, see INSTALL. For list of new features in this release, see NEWS. HTSQL documentation is in the doc directory.

http://htsql.org/

The HTSQL homepage

http://htsql.org/doc/examples.html

Examples of HTSQL syntax

http://htsql.org/doc/tutorial.html

The HTSQL tutorial

http://bitbucket.org/prometheus/htsql

HTSQL source code

irc://irc.freenode.net#htsql

IRC chat in #htsql on freenode

http://lists.htsql.org/mailman/listinfo/htsql-users

The mailing list for users of HTSQL

Generous support for HTSQL was provided by Prometheus Research, LLC and The Simons Foundation. This material is also based upon work supported by the National Science Foundation under Grant #0944460. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

HTSQL is copyright by Prometheus Research, LLC. HTSQL is written by Clark C. Evans <cce@clarkevans.com> and Kirill Simonov <xi@resolvent.net>.

List of Changes

2.0.0 beta 4 (2010-12-05)

  • Refactored peep-hole optimization of the frame tree and SQL serialization; refined the generated SQL.

  • Refactored the internal API for adding functions.

  • Added new (experimental) syntax for infix function call.

  • Added an “Examples” section to the documentation.

  • Fixed compatibility with Python 2.5.

  • Many minor bugfixes, documentation updates, etc.

2.0.0 beta 3 (2010-11-09)

  • Refactored the translator from the term tree to the frame tree; added a new translation step to collapse nested frames and reduce SQL expressions.

  • Added the HTRAF demo: use HTSQL with client-side javascript to define complex dashboards.

  • Added the SSI demo: using HTSQL for web without giving direct access to the database.

  • Updated the tutorial, minor bugfixes, regression test updates, etc.

2.0.0 beta 2 (2010-10-01)

  • Refactored the translator from the expression graph to the term tree.

  • Added Content-Disposition header to :json and :csv renderers.

  • Merged the tutorial to the repository.

2.0.0 beta 1 (2010-09-21)

  • Initial beta release.

  • PostgreSQL and SQLite backends are (mostly) supported, the former more than the latter.

  • The SQL translator needs more work, in particular, the term tree, the frame structure and the serializer.

  • Lots of functions are either not implemented or missing a proper serializer, especially in the SQLite backend.

  • Other areas which need more work before the final release: rendering, introspection, regression tests and documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

HTSQL-2.0.0b4.zip (421.9 kB view details)

Uploaded Source

HTSQL-2.0.0b4.tar.gz (363.9 kB view details)

Uploaded Source

Built Distribution

HTSQL-2.0.0b4-py2.6.egg (511.8 kB view details)

Uploaded Egg

File details

Details for the file HTSQL-2.0.0b4.zip.

File metadata

  • Download URL: HTSQL-2.0.0b4.zip
  • Upload date:
  • Size: 421.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for HTSQL-2.0.0b4.zip
Algorithm Hash digest
SHA256 ebd88d53052e8e8665063f7e6830d490486eb5285e4fdfe96d905e21a98b0c7b
MD5 e255e6b810832673348681bd0b86409f
BLAKE2b-256 81aa1d2f1ef02eeaf3f02d4da7d2f56f14a7d32afcbba5489e94631dcc077741

See more details on using hashes here.

File details

Details for the file HTSQL-2.0.0b4.tar.gz.

File metadata

  • Download URL: HTSQL-2.0.0b4.tar.gz
  • Upload date:
  • Size: 363.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for HTSQL-2.0.0b4.tar.gz
Algorithm Hash digest
SHA256 d9e504fd17b5a2646b222ddad0b265de4e6b14d0220c24e945d6e4ac8f280a6b
MD5 aaaff3f8a38b73356f98843ffac34435
BLAKE2b-256 bd682abf450ff0ace67c61813756a0084a8b94e53111abf8f0da2d3f5f928c1f

See more details on using hashes here.

File details

Details for the file HTSQL-2.0.0b4-py2.6.egg.

File metadata

  • Download URL: HTSQL-2.0.0b4-py2.6.egg
  • Upload date:
  • Size: 511.8 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for HTSQL-2.0.0b4-py2.6.egg
Algorithm Hash digest
SHA256 847e7317c6aa775196682dac8aaace2347b86c92c5397b1948d8b8dea78a67dc
MD5 f5389dd7f4e7af651d0514cb59a10431
BLAKE2b-256 7e6a7d8e9ae178fac48e69467f1200fcf4b7a7cdff7945a75cd007b62eb7377a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page