Flask-Hypertable - A Flask extension which provides connectivity to
Hypertable over Thrift.
FlaskHypertablehypertable.thrift.ThriftClientFlask extension.
pip install Flask-HypertableOr if you must use easy_install:
alias easy_install="pip install $1"
easy_install Flask-HypertableYour configuration should be declared within your Flask config.
HYPERTABLE_HOST = "localhost"
HYPERTABLE_PORT = 38080To create the Hypertable instance within your application
from flask import Flask
from flask_hypertable import FlaskHypertable
app = Flask(__name__)
ht = FlaskHypertable(app)or
from flask import Flask
from flask_hypertable import FlaskHypertable
ht = FlaskHypertable()
def create_app():
app = Flask(__name__)
ht.init_app(app)
return app| Hypertable | 0.9.5.6 (other versions likely to work) http://hypertable.com/documentation/reference_manual/thrift_api |
| Thrift | https://thrift.apache.org/docs/ |
| Python support | Python 2.7 |
| Source | https://github.com/coderfi/flask-hypertable |
| Docs | http://flask-hypertable.rtfd.org |
| Changelog | http://flask-hypertable.readthedocs.org/en/latest/history.html |
| API | http://flask-hypertable.readthedocs.org/en/latest/api.html |
| Issues | https://github.com/coderfi/Flask-Hypertable/issues |
| Travis | http://travis-ci.org/coderfi/Flask-Hypertable |
| Test coverage | https://coveralls.io/r/coderfi/Flask-Hypertable |
| pypi | https://pypi.python.org/pypi/Flask-Hypertable |
| Ohloh | https://www.ohloh.net/p/Flask-Hypertable |
| License | BSD. |
| git repo | $ git clone https://github.com/coderfi/Flask-Hypertable.git |
| install dev | $ git clone https://github.com/coderfi/Flask-Hypertable.git flask-hypertable
$ cd ./flask-hypertable
$ virtualenv .env
$ source .env/bin/activate
$ pip install -e . |
| tests | $ python setup.py testor $ toxor $ python run-tests.py |
Project started with cookiecutter-pypackage.