Preview of new JSON default format for Datasette, see issue #782
Project description
datasette-json-preview
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.
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file datasette-json-preview-0.3.tar.gz
.
File metadata
- Download URL: datasette-json-preview-0.3.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8404ddb9423e3616870cf5aee068e0b5cecb92b38aa864fa241bcd936951caaf |
|
MD5 | 41f4f19fa8f75fcb1b49cd50fdaa2e68 |
|
BLAKE2b-256 | 955bea598bc6bb872bc13edf219099a61566ef0243eb7b18c0ecef49c5ebb35d |
File details
Details for the file datasette_json_preview-0.3-py3-none-any.whl
.
File metadata
- Download URL: datasette_json_preview-0.3-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a2cbec673ddcbec8bc37fe4bb9defd8b98b159dcdbf0e215304d5e377bc523d |
|
MD5 | f4f450d717cb4dc920298952ea57b6e7 |
|
BLAKE2b-256 | 3523a7fee81e5514c4605d5909b7e9697ec73d8153b050ddd3954f8c3a163de9 |