A Flask extension for Hypertable over Thrift.
Project description
================
Flask Hypertable
================
.. image:: https://travis-ci.org/coderfi/Flask-Hypertable.png?branch=master
:target: https://travis-ci.org/coderfi/Flask-Hypertable
.. image:: https://badge.fury.io/gh/coderfi%2FFlask-Hypertable.png
:target: http://badge.fury.io/gh/coderfi%2FFlask-Hypertable
.. image:: https://coveralls.io/repos/coderfi/Flask-Hypertable/badge.png?branch=master
:target: https://coveralls.io/r/coderfi/flask-hypertable?branch=master
.. image:: https://pypip.in/d/PYPI_PKG_NAME/badge.png
:target: https://pypi.python.org/pypi//Flask-Hypertable/
:alt: Downloads
``Flask-Hypertable`` - A Flask extension which provides connectivity to
`Hypertable <http://hypertable.org/>`_ over `Thrift <https://thrift.apache.org/>`_.
Features
--------
* ``FlaskHypertable`` ``hypertable.thrift.ThriftClient`` Flask extension.
Installation
------------
.. code-block:: bash
pip install Flask-Hypertable
Or if you *must* use easy_install:
.. code-block:: bash
alias easy_install="pip install $1"
easy_install Flask-Hypertable
Configuration
-------------
Your configuration should be declared within your Flask config.
.. code-block:: python
HYPERTABLE_HOST = "localhost"
HYPERTABLE_PORT = 38080
To create the Hypertable instance within your application
.. code-block:: python
from flask import Flask
from flask_hypertable import FlaskHypertable
app = Flask(__name__)
ht = FlaskHypertable(app)
or
.. code-block:: python
from flask import Flask
from flask_hypertable import FlaskHypertable
ht = FlaskHypertable()
def create_app():
app = Flask(__name__)
ht.init_app(app)
return app
============== ==========================================================
Hypertable 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 .. code-block:: bash
$ git clone https://github.com/coderfi/Flask-Hypertable.git
install dev .. code-block:: bash
$ git clone https://github.com/coderfi/Flask-Hypertable.git flask-hypertable
$ cd ./flask-hypertable
$ virtualenv .env
$ source .env/bin/activate
$ pip install -e .
tests .. code-block:: bash
$ python setup.py test
or
.. code-block:: bash
$ tox
or
.. code-block:: bash
$ python run-tests.py
============== ==========================================================
About This Project
------------------
Project started with `cookiecutter-pypackage <https://github.com/tony/cookiecutter-pypackage>`_.
.. _BSD: http://opensource.org/licenses/BSD-3-Clause
.. _Documentation: http://flask-hypertable.readthedocs.org/en/latest/
.. _API: http://flask-hypertable.readthedocs.org/en/latest/api.html
=========
Changelog
=========
Here you can find the recent changes to Flask Hypertable..
.. changelog::
:version: dev
:released: Ongoing
.. change::
:tags: docs
Updated CHANGES.
.. changelog::
:version: 0.1.3
:released: 2014-03-22
.. change::
:tags: project
Added Hypertable license information.
.. changelog::
:version: 0.1.2
:released: 2014-03-22
.. change::
:tags: project
First commit to `github <https://github.com/coderfi/Flask-Hypertable>`_
Docs available on `readthedocs.org <http://flask-hypertable.readthedocs.org/en/latest>`_
CI available at `travis-ci.org <https://travis-ci.org/coderfi/Flask-Hypertable>`_
Added project to `badge.fury.io <http://badge.fury.io/for/gh/coderfi/Flask-Hypertable>`_
Added project to `coveralls.io <https://coveralls.io/r/coderfi/Flask-Hypertable>`_
Added project to `oholoh.net <https://www.ohloh.net/p/Flask-Hypertable>`_
.. todo:: vim: set filetype=rst:
Flask Hypertable
================
.. image:: https://travis-ci.org/coderfi/Flask-Hypertable.png?branch=master
:target: https://travis-ci.org/coderfi/Flask-Hypertable
.. image:: https://badge.fury.io/gh/coderfi%2FFlask-Hypertable.png
:target: http://badge.fury.io/gh/coderfi%2FFlask-Hypertable
.. image:: https://coveralls.io/repos/coderfi/Flask-Hypertable/badge.png?branch=master
:target: https://coveralls.io/r/coderfi/flask-hypertable?branch=master
.. image:: https://pypip.in/d/PYPI_PKG_NAME/badge.png
:target: https://pypi.python.org/pypi//Flask-Hypertable/
:alt: Downloads
``Flask-Hypertable`` - A Flask extension which provides connectivity to
`Hypertable <http://hypertable.org/>`_ over `Thrift <https://thrift.apache.org/>`_.
Features
--------
* ``FlaskHypertable`` ``hypertable.thrift.ThriftClient`` Flask extension.
Installation
------------
.. code-block:: bash
pip install Flask-Hypertable
Or if you *must* use easy_install:
.. code-block:: bash
alias easy_install="pip install $1"
easy_install Flask-Hypertable
Configuration
-------------
Your configuration should be declared within your Flask config.
.. code-block:: python
HYPERTABLE_HOST = "localhost"
HYPERTABLE_PORT = 38080
To create the Hypertable instance within your application
.. code-block:: python
from flask import Flask
from flask_hypertable import FlaskHypertable
app = Flask(__name__)
ht = FlaskHypertable(app)
or
.. code-block:: python
from flask import Flask
from flask_hypertable import FlaskHypertable
ht = FlaskHypertable()
def create_app():
app = Flask(__name__)
ht.init_app(app)
return app
============== ==========================================================
Hypertable 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 .. code-block:: bash
$ git clone https://github.com/coderfi/Flask-Hypertable.git
install dev .. code-block:: bash
$ git clone https://github.com/coderfi/Flask-Hypertable.git flask-hypertable
$ cd ./flask-hypertable
$ virtualenv .env
$ source .env/bin/activate
$ pip install -e .
tests .. code-block:: bash
$ python setup.py test
or
.. code-block:: bash
$ tox
or
.. code-block:: bash
$ python run-tests.py
============== ==========================================================
About This Project
------------------
Project started with `cookiecutter-pypackage <https://github.com/tony/cookiecutter-pypackage>`_.
.. _BSD: http://opensource.org/licenses/BSD-3-Clause
.. _Documentation: http://flask-hypertable.readthedocs.org/en/latest/
.. _API: http://flask-hypertable.readthedocs.org/en/latest/api.html
=========
Changelog
=========
Here you can find the recent changes to Flask Hypertable..
.. changelog::
:version: dev
:released: Ongoing
.. change::
:tags: docs
Updated CHANGES.
.. changelog::
:version: 0.1.3
:released: 2014-03-22
.. change::
:tags: project
Added Hypertable license information.
.. changelog::
:version: 0.1.2
:released: 2014-03-22
.. change::
:tags: project
First commit to `github <https://github.com/coderfi/Flask-Hypertable>`_
Docs available on `readthedocs.org <http://flask-hypertable.readthedocs.org/en/latest>`_
CI available at `travis-ci.org <https://travis-ci.org/coderfi/Flask-Hypertable>`_
Added project to `badge.fury.io <http://badge.fury.io/for/gh/coderfi/Flask-Hypertable>`_
Added project to `coveralls.io <https://coveralls.io/r/coderfi/Flask-Hypertable>`_
Added project to `oholoh.net <https://www.ohloh.net/p/Flask-Hypertable>`_
.. todo:: vim: set filetype=rst:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Flask-Hypertable-0.1.3.tar.gz
(65.0 kB
view hashes)
Built Distribution
Close
Hashes for Flask-Hypertable-0.1.3.macosx-10.9-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | edff9a26d6cc708b629d24d6a66185954ce675bbc4f0f9518c21a7fd8dbdd2ee |
|
MD5 | 2bade20e5f15c8ae24941c3dfe6f3f51 |
|
BLAKE2b-256 | 8d067b882909d10af9ada21e293b0ab164e05b8d388075213df7903ab35a7136 |