Tools for tailing your database
Project description
datasette-tail
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file datasette-tail-0.1a0.tar.gz
.
File metadata
- Download URL: datasette-tail-0.1a0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe34b1a11dd1a9d7cfff22cfdc9a1859bb3d2dbea656342344e68b3c4cb515b2 |
|
MD5 | 77dce89fa5ceb4f9104971a50cff2ea2 |
|
BLAKE2b-256 | 1678d1cd28ec840c1cf31e420a1c3ce94e4cee62c189fc8d6783ca5f1158959a |
File details
Details for the file datasette_tail-0.1a0-py3-none-any.whl
.
File metadata
- Download URL: datasette_tail-0.1a0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 287cc69ffa45b1213444453fdacf4e83d410f23f224e4f28e0cada685163ac7f |
|
MD5 | fa5385b37bca05aa871e8f6892ab1d60 |
|
BLAKE2b-256 | 7d2b0ba1f719a5f0918d33f61a9c5e0a0dd1f2e3c08baed5be5fcf27b6167b69 |