Datasette plugin providing instructions for exporting data to Jupyter or Observable
Project description
datasette-export-notebook
Datasette plugin providing instructions for exporting data to a Jupyter or Observable 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 Datasette instance - for example on /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
Project details
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-export-notebook-1.0.1.tar.gz
.
File metadata
- Download URL: datasette-export-notebook-1.0.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dee6f0c005be9a86f9ca52d3d2615938731ceb4845bd5f2edd7e1efdc0194556 |
|
MD5 | 09f3bda8190931365d07da0d285c8787 |
|
BLAKE2b-256 | d0af89d87338994ac2dc3f9687fd888eaa24981a237c8b9f7223aed90342a25d |
File details
Details for the file datasette_export_notebook-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: datasette_export_notebook-1.0.1-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f690800587547a7901e02b3264fa24af574df95dee4c0a997c3e7e31e86a3106 |
|
MD5 | b45f0ea42cf27401dd1d9c126ed478ea |
|
BLAKE2b-256 | 605c0bc7fcadb0e021785031f5e961d7ea9a34090d5b385b949635385dd5fc50 |