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

Uploaded Source

Built Distribution

datasette_connectors-2.0.0-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.0.tar.gz.

File metadata

  • Download URL: datasette-connectors-2.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 16e6b8fa8ff1048c8c757eb0a7886bb515efdc7f5f313782373bb2d0e0588a38
MD5 70e0e7a2cc05ab2a3517ec9e280a09c6
BLAKE2b-256 ade3c9c1fed0ba3342f94187ffde3809e7dc4725a3746903db34cacbb1dcf290

See more details on using hashes here.

File details

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

File metadata

  • Download URL: datasette_connectors-2.0.0-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.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 15090492509b9e2fd54703e59e12195c310cf56011ab538bcb1f72f904fa26d2
MD5 2edf6f3ca689ccf6937aaf1dc2c47672
BLAKE2b-256 a7561e0de3d0d8807a60e756f05849db9ffc654d519395d16eb2d077f55f86e4

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