Skip to content

simonw/datasette-json-preview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

datasette-json-preview

PyPI Changelog Tests License

Preview of new JSON default format for Datasette, see issue #782

This plugin will continue to change while the new output format is explored.

Installation

Install this plugin in the same environment as Datasette.

$ datasette install datasette-json-preview

Usage

Use the .json-preview extension to preview the new JSON API design.

Demos

Development

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

cd datasette-json-preview
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