Name | datasette-tail JSON |
Version |
0.1a0
JSON |
| download |
home_page | |
Summary | Tools for tailing your database |
upload_time | 2024-03-01 16:26:57 |
maintainer | |
docs_url | None |
author | Simon Willison |
requires_python | >=3.8 |
license | Apache-2.0 |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# datasette-tail
[![PyPI](https://img.shields.io/pypi/v/datasette-tail.svg)](https://pypi.org/project/datasette-tail/)
[![Changelog](https://img.shields.io/github/v/release/datasette/datasette-tail?include_prereleases&label=changelog)](https://github.com/datasette/datasette-tail/releases)
[![Tests](https://github.com/datasette/datasette-tail/actions/workflows/test.yml/badge.svg)](https://github.com/datasette/datasette-tail/actions/workflows/test.yml)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/datasette/datasette-tail/blob/main/LICENSE)
Tools for tailing your database
## Installation
Install this plugin in the same environment as Datasette.
```bash
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:
```bash
cd datasette-tail
python3 -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```bash
pip install -e '.[test]'
```
To run the tests:
```bash
pytest
```
Raw data
{
"_id": null,
"home_page": "",
"name": "datasette-tail",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "",
"author": "Simon Willison",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/16/78/d1cd28ec840c1cf31e420a1c3ce94e4cee62c189fc8d6783ca5f1158959a/datasette-tail-0.1a0.tar.gz",
"platform": null,
"description": "# datasette-tail\n\n[![PyPI](https://img.shields.io/pypi/v/datasette-tail.svg)](https://pypi.org/project/datasette-tail/)\n[![Changelog](https://img.shields.io/github/v/release/datasette/datasette-tail?include_prereleases&label=changelog)](https://github.com/datasette/datasette-tail/releases)\n[![Tests](https://github.com/datasette/datasette-tail/actions/workflows/test.yml/badge.svg)](https://github.com/datasette/datasette-tail/actions/workflows/test.yml)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/datasette/datasette-tail/blob/main/LICENSE)\n\nTools for tailing your database\n\n## Installation\n\nInstall this plugin in the same environment as Datasette.\n```bash\ndatasette install datasette-tail\n```\n## Usage\n\nThis 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.\n\nUse `/dbname/-/tail.json` to get the raw JSON.\n\nThe plugin obeys the `view-database` permission.\n\n## Development\n\nTo set up this plugin locally, first checkout the code. Then create a new virtual environment:\n```bash\ncd datasette-tail\npython3 -m venv venv\nsource venv/bin/activate\n```\nNow install the dependencies and test dependencies:\n```bash\npip install -e '.[test]'\n```\nTo run the tests:\n```bash\npytest\n```\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Tools for tailing your database",
"version": "0.1a0",
"project_urls": {
"CI": "https://github.com/datasette/datasette-tail/actions",
"Changelog": "https://github.com/datasette/datasette-tail/releases",
"Homepage": "https://github.com/datasette/datasette-tail",
"Issues": "https://github.com/datasette/datasette-tail/issues"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7d2b0ba1f719a5f0918d33f61a9c5e0a0dd1f2e3c08baed5be5fcf27b6167b69",
"md5": "fa5385b37bca05aa871e8f6892ab1d60",
"sha256": "287cc69ffa45b1213444453fdacf4e83d410f23f224e4f28e0cada685163ac7f"
},
"downloads": -1,
"filename": "datasette_tail-0.1a0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fa5385b37bca05aa871e8f6892ab1d60",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 7117,
"upload_time": "2024-03-01T16:26:56",
"upload_time_iso_8601": "2024-03-01T16:26:56.271840Z",
"url": "https://files.pythonhosted.org/packages/7d/2b/0ba1f719a5f0918d33f61a9c5e0a0dd1f2e3c08baed5be5fcf27b6167b69/datasette_tail-0.1a0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1678d1cd28ec840c1cf31e420a1c3ce94e4cee62c189fc8d6783ca5f1158959a",
"md5": "77dce89fa5ceb4f9104971a50cff2ea2",
"sha256": "fe34b1a11dd1a9d7cfff22cfdc9a1859bb3d2dbea656342344e68b3c4cb515b2"
},
"downloads": -1,
"filename": "datasette-tail-0.1a0.tar.gz",
"has_sig": false,
"md5_digest": "77dce89fa5ceb4f9104971a50cff2ea2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 7272,
"upload_time": "2024-03-01T16:26:57",
"upload_time_iso_8601": "2024-03-01T16:26:57.803898Z",
"url": "https://files.pythonhosted.org/packages/16/78/d1cd28ec840c1cf31e420a1c3ce94e4cee62c189fc8d6783ca5f1158959a/datasette-tail-0.1a0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-01 16:26:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "datasette",
"github_project": "datasette-tail",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "datasette-tail"
}