datasette-json-preview-0.3
توضیحات
Preview of new JSON default format for Datasette, see issue #782
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | datasette-json-preview-0.3 |
| نام | datasette-json-preview |
| نسخه کتابخانه | 0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Simon Willison |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/simonw/datasette-json-preview |
| آدرس اینترنتی | https://pypi.org/project/datasette-json-preview/ |
| مجوز | Apache License, Version 2.0 |
# datasette-json-preview
[](https://pypi.org/project/datasette-json-preview/)
[](https://github.com/simonw/datasette-json-preview/releases)
[](https://github.com/simonw/datasette-json-preview/actions?query=workflow%3ATest)
[](https://github.com/simonw/datasette-json-preview/blob/main/LICENSE)
Preview of new JSON default format for Datasette, see [issue #782](https://github.com/simonw/datasette/issues/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
نیازمندی
| مقدار | نام |
|---|---|
| >=0.55 | datasette |
| - | pytest |
| - | pytest-asyncio |
| - | httpx |
| - | sqlite-utils |
نحوه نصب
نصب پکیج whl datasette-json-preview-0.3:
pip install datasette-json-preview-0.3.whl
نصب پکیج tar.gz datasette-json-preview-0.3:
pip install datasette-json-preview-0.3.tar.gz