Skip to main content

Datasette support to other database types

Project description

datasette-connectors

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

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/

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 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-2.0.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

datasette_connectors-2.0.1-py2.py3-none-any.whl (10.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: datasette-connectors-2.0.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6

File hashes

Hashes for datasette-connectors-2.0.1.tar.gz
Algorithm Hash digest
SHA256 cc5ec35832d8d8a699464fad73d206d85a4b18bd48d621c18aacebb5ef66dfbf
MD5 6869fedb936583c1cec5f07616ddd9ad
BLAKE2b-256 2bd472101871a90b8c109efafa047fc353f44e48c9d2247ff7290cfcf07402f7

See more details on using hashes here.

File details

Details for the file datasette_connectors-2.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: datasette_connectors-2.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6

File hashes

Hashes for datasette_connectors-2.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4edecf8ea2117b2fe5ed623a8da28ad83b0ed4c616a7d7ee14e8b44e167ebf55
MD5 c54cc23a4869ca8079a7868ca1d97945
BLAKE2b-256 5fb7ecdd81cfd9f360b388f0a64e93180ee3342d921fdf6b86214e13da1111bf

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