Skip to main content

Datasette support to other database types

Project description

# datasette-connectors

[Datasette](https://github.com/simonw/datasette) is a Python module which provides a web interface and a JSON API for SQLite files. But, in conjuntion with Datasette-Connectors, it 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](https://github.com/PyTables/datasette-connectors/blob/master/DEVELOPERS.md)).

## Installation

Run pip install datasette-connectors to install both Datasette and Datasette-Connectors. Easy as pie!

## Usage

You can use Datasette from the console in the traditional way:

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/](http://localhost:8001/)

Or you can use Datasette in your own Python programs:

from datasette_connectors import monkey; monkey.patch_datasette() from datasette_connectors import connectors; connectors.load()

For that, you need to patch the original Datasette and load the external connectors.

Read the [Datasette documentation](http://datasette.readthedocs.io/en/latest/) for more advanced options.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datasette-connectors-1.0.0.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file datasette-connectors-1.0.0.tar.gz.

File metadata

File hashes

Hashes for datasette-connectors-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a2dddb2d6b0a41fcf3dfc49859f69e0c52e6db28ea16e86e913df4174ff0e368
MD5 39a394f4a7150e32c6a2aa9a747c9194
BLAKE2b-256 18b7b0872ec6ba6d884132be692fb317cf020f7731092d60577c6378d8dbb09e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page