https://github.com/datasette/datasette-debug-actors-from-ids
Datasette plugin for trying out the actors_from_ids hook
https://github.com/datasette/datasette-debug-actors-from-ids
Last synced: 5 months ago
JSON representation
Datasette plugin for trying out the actors_from_ids hook
- Host: GitHub
- URL: https://github.com/datasette/datasette-debug-actors-from-ids
- Owner: datasette
- License: apache-2.0
- Created: 2023-09-08T03:55:08.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-08T04:56:39.000Z (almost 2 years ago)
- Last Synced: 2025-02-11T19:48:06.008Z (5 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# datasette-debug-actors-from-ids
[](https://pypi.org/project/datasette-debug-actors-from-ids/)
[](https://github.com/datasette/datasette-debug-actors-from-ids/releases)
[](https://github.com/datasette/datasette-debug-actors-from-ids/actions?query=workflow%3ATest)
[](https://github.com/datasette/datasette-debug-actors-from-ids/blob/main/LICENSE)A Datasette plugin for debugging the [new actors_from_ids plugin hook](https://github.com/simonw/datasette/issues/2180).
## Installation
```bash
datasette install datasette-debug-actors-from-ids
```## Usage
Adds a URL at `/-/debug-actors-from-ids`. Call it with `?ids=1,3,4` to exercise the plugin hook.
## Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
```bash
cd datasette-debug-actors-from-ids
python3 -m venv venv
source venv/bin/activate
```
Now install the dependencies and test dependencies:
```
pip install -e '.[test]'
```
```
To run the tests:
```bash
pytest
```