Skip to content

simonw/datasette-plugin-demos

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

datasette-plugin-demos

PyPI Changelog License

Examples of plugins for Datasette

This repository hosts an example showing how Datasette plugins can be structured and packaged.

Installation

Install this plugin in the same environment as Datasette.

$ pip install datasette-plugin-demos

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd datasette-plugin-demos
python3 -mvenv venv
source venv/bin/activate

Or if you are using pipenv:

pipenv shell

Now install the dependencies and tests:

pip install -e '.[test]'

To run the tests:

pytest