Skip to main content
================
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 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 .. 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.3.0
:released: 2014-03-30

.. change::
:tags: project

Added HYPERTABLE_TIMEOUT_MSECS option (defaults to 5000 msecs)
Removed superflous _qo member from FlaskPooledHypertable
FlaskPooledHypertable constructor now takes an optional ``qClass``
override.
Now supports ``with`` semantics.

.. changelog::
:version: 0.2.0
:released: 2014-03-26

.. change::
:tags: project

Now supports connection pooling with FlaskPooledHypertable!
Added the 'mns' helper object in order to support managed

.. changelog::
:version: 0.1.4
:released: 2014-03-23

.. change::
:tags: project

Added Hypertable 0.9.5.6 version info to README.rst

.. 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:

Metadata

Release files for Flask-Hypertable 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Flask-Hypertable 0.3.0
File Size Uploaded Provenance Actions
Flask-Hypertable-0.3.0.tar.gz 67.9 kB Without provenance Details for Flask-Hypertable-0.3.0.tar.gz

Release files / Flask-Hypertable-0.3.0.tar.gz

Download URL Flask-Hypertable-0.3.0.tar.gz
Size 67.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fc8618db7b6a43aa23a0a8c9369d1f15acd818cd2b09c3f84aa2875ff51b2aac
BLAKE2b-256 checksum
How to use checksums
d15dc9163181fe5e6ba2395405f25a0193de47196794bfb1f4657c7672e188a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Flask-Hypertable 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page