Skip to main content

Tools for tailing your database

Project description

datasette-tail

PyPI Changelog Tests License

Tools for tailing your database

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-tail

Usage

This plugin provides a simple debugging tool. Visit /dbname/-/tail to see a JSON representation of changes to your database. The first time you visit that page it will represent everything in the specified database. Refreshing the page will show any changes since the last time you loaded that page.

Use /dbname/-/tail.json to get the raw JSON.

The plugin obeys the view-database permission.

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd datasette-tail
python3 -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

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-tail-0.1a0.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

datasette_tail-0.1a0-py3-none-any.whl (7.1 kB view hashes)

Uploaded Python 3

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