Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 10 days 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-08T04:56:39.000Z (over 1 year ago)
- Last Synced: 2024-12-12T06:54:58.822Z (about 1 month 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
[![PyPI](https://img.shields.io/pypi/v/datasette-debug-actors-from-ids.svg)](https://pypi.org/project/datasette-debug-actors-from-ids/)
[![Changelog](https://img.shields.io/github/v/release/datasette/datasette-debug-actors-from-ids?include_prereleases&label=changelog)](https://github.com/datasette/datasette-debug-actors-from-ids/releases)
[![Tests](https://github.com/datasette/datasette-debug-actors-from-ids/workflows/Test/badge.svg)](https://github.com/datasette/datasette-debug-actors-from-ids/actions?query=workflow%3ATest)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](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
```