https://github.com/michelp/know-sql
Tiny JSON API for PostgreSQL
https://github.com/michelp/know-sql
Last synced: 12 months ago
JSON representation
Tiny JSON API for PostgreSQL
- Host: GitHub
- URL: https://github.com/michelp/know-sql
- Owner: michelp
- License: mit
- Created: 2014-05-30T17:58:20.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2020-08-25T18:23:49.000Z (almost 6 years ago)
- Last Synced: 2025-06-15T10:06:14.046Z (12 months ago)
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
know-sql
========
HTTP frontend to [Postgresql](http://www.postgresql.org/). URLs are
turned into postgres function calls that accept and return JSON. HTTP
status codes can be RAISEd from plpgsql functions.
usage
=====
Clone and run setup.py, or install the package:
pip install know-sql
The server can be run now:
know-sql
The module can also be run directly:
python -m ksql
it can be used with gunicorn, uwsgi, or any other wsgi server by
importing 'ksql.app'.