Demonstrating https://github.com/simonw/datasette-plugin
Install this plugin in the same environment as Datasette.
datasette install datasette-plugin-template-demo
Usage instructions go here.
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd datasette-plugin-template-demo
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
python -m pytest