Skip to content

Datasette connector for dealing with PyTables and pandas/HDF5 files

License

Notifications You must be signed in to change notification settings

PyTables/datasette-pytables

Repository files navigation

Build Status

datasette-pytables

Datasette-PyTables provides a web interface and a JSON API for PyTables files, allowing them to be accessible for e.g. Javascript programs. It works in conjunction with Datasette, which provides a web interface for SQLite files. Thanks to Datasette-Connectors, Datasette can accept external connectors for any kind of database files, so you can develop your own connector for your favourite data container if you want (read developers doc).

Installation

Run pip install datasette-pytables to install both Datasette and the PyTables connector. Easy as pie!

How to serve PyTables files

datasette serve path/to/data.h5

This will start a web server on port 8001; then you can access to your data visiting http://localhost:8001/

Read the Datasette documentation for more advanced options.

See how a typical Table query looks like in the Datasette-PyTables web interface:

Datasette Screenshot