Skip to content

Repository files navigation

Flask Hypertable

https://travis-ci.org/coderfi/Flask-Hypertable.png?branch=masterhttps://badge.fury.io/gh/coderfi%2FFlask-Hypertable.pnghttps://coveralls.io/repos/coderfi/Flask-Hypertable/badge.png?branch=masterDownloads

Flask-Hypertable - A Flask extension which provides connectivity to Hypertable over Thrift.

Features

  • FlaskHypertablehypertable.thrift.ThriftClient Flask extension.

Installation

pip install Flask-Hypertable

Or if you must use easy_install:

alias easy_install="pip install $1"
easy_install Flask-Hypertable

Configuration

Your configuration should be declared within your Flask config.

HYPERTABLE_HOST="localhost"HYPERTABLE_PORT=38080

To create the Hypertable instance within your application

fromflaskimportFlaskfromflask_hypertableimportFlaskHypertableapp=Flask(__name__)
ht=FlaskHypertable(app)

or

fromflaskimportFlaskfromflask_hypertableimportFlaskHypertableht=FlaskHypertable()
defcreate_app():
app=Flask(__name__)
ht.init_app(app)
returnapp
Hypertable0.9.5.6 (other versions likely to work) http://hypertable.com/documentation/reference_manual/thrift_api
Thrifthttps://thrift.apache.org/docs/
Python supportPython 2.7
Sourcehttps://github.com/coderfi/flask-hypertable
Docshttp://flask-hypertable.rtfd.org
Changeloghttp://flask-hypertable.readthedocs.org/en/latest/history.html
APIhttp://flask-hypertable.readthedocs.org/en/latest/api.html
Issueshttps://github.com/coderfi/Flask-Hypertable/issues
Travishttp://travis-ci.org/coderfi/Flask-Hypertable
Test coveragehttps://coveralls.io/r/coderfi/Flask-Hypertable
pypihttps://pypi.python.org/pypi/Flask-Hypertable
Ohlohhttps://www.ohloh.net/p/Flask-Hypertable
LicenseBSD.
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 test

or

$ tox

or

$ python run-tests.py

About This Project

Project started with cookiecutter-pypackage.

About

A Flask extension for Hypertable over Thrift.

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages