datasette-export-notebook-1.0
توضیحات
Datasette plugin providing instructions for exporting data to Jupyter or Observable
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | datasette-export-notebook-1.0 |
| نام | datasette-export-notebook |
| نسخه کتابخانه | 1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Simon Willison |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/simonw/datasette-export-notebook |
| آدرس اینترنتی | https://pypi.org/project/datasette-export-notebook/ |
| مجوز | Apache License, Version 2.0 |
# datasette-export-notebook
[](https://pypi.org/project/datasette-export-notebook/)
[](https://github.com/simonw/datasette-export-notebook/releases)
[](https://github.com/simonw/datasette-export-notebook/actions?query=workflow%3ATest)
[](https://github.com/simonw/datasette-export-notebook/blob/main/LICENSE)
Datasette plugin providing instructions for exporting data to a [Jupyter](https://jupyter.org/) or [Observable](https://observablehq.com/) notebook.
## Installation
Install this plugin in the same environment as Datasette.
$ datasette install datasette-export-notebook
## Usage
Once installed, the plugin will add a `.Notebook` export option to every table and query. Clicking on this link will show instructions for exporting the data to Jupyter or Observable.
## Demo
You can see this plugin in action on the [latest-with-plugins.datasette.io](https://latest-with-plugins.datasette.io/) Datasette instance - for example on [/github/commits.Notebook](https://latest-with-plugins.datasette.io/github/commits.Notebook).
## Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd datasette-export-notebook
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
نیازمندی
| مقدار | نام |
|---|---|
| - | datasette |
| - | pytest |
| - | pytest-asyncio |
| - | sqlite-utils |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl datasette-export-notebook-1.0:
pip install datasette-export-notebook-1.0.whl
نصب پکیج tar.gz datasette-export-notebook-1.0:
pip install datasette-export-notebook-1.0.tar.gz