datasette-export-notebook


Namedatasette-export-notebook JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/simonw/datasette-export-notebook
SummaryDatasette plugin providing instructions for exporting data to Jupyter or Observable
upload_time2023-09-15 19:00:35
maintainer
docs_urlNone
authorSimon Willison
requires_python>=3.6
licenseApache License, Version 2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # datasette-export-notebook

[![PyPI](https://img.shields.io/pypi/v/datasette-export-notebook.svg)](https://pypi.org/project/datasette-export-notebook/)
[![Changelog](https://img.shields.io/github/v/release/simonw/datasette-export-notebook?include_prereleases&label=changelog)](https://github.com/simonw/datasette-export-notebook/releases)
[![Tests](https://github.com/simonw/datasette-export-notebook/workflows/Test/badge.svg)](https://github.com/simonw/datasette-export-notebook/actions?query=workflow%3ATest)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/simonw/datasette-export-notebook",
    "name": "datasette-export-notebook",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "",
    "author": "Simon Willison",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/d0/af/89d87338994ac2dc3f9687fd888eaa24981a237c8b9f7223aed90342a25d/datasette-export-notebook-1.0.1.tar.gz",
    "platform": null,
    "description": "# datasette-export-notebook\n\n[![PyPI](https://img.shields.io/pypi/v/datasette-export-notebook.svg)](https://pypi.org/project/datasette-export-notebook/)\n[![Changelog](https://img.shields.io/github/v/release/simonw/datasette-export-notebook?include_prereleases&label=changelog)](https://github.com/simonw/datasette-export-notebook/releases)\n[![Tests](https://github.com/simonw/datasette-export-notebook/workflows/Test/badge.svg)](https://github.com/simonw/datasette-export-notebook/actions?query=workflow%3ATest)\n[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/simonw/datasette-export-notebook/blob/main/LICENSE)\n\nDatasette plugin providing instructions for exporting data to a [Jupyter](https://jupyter.org/) or [Observable](https://observablehq.com/) notebook.\n\n## Installation\n\nInstall this plugin in the same environment as Datasette.\n\n    $ datasette install datasette-export-notebook\n\n## Usage\n\nOnce 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.\n\n## Demo\n\nYou 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).\n\n## Development\n\nTo set up this plugin locally, first checkout the code. Then create a new virtual environment:\n\n    cd datasette-export-notebook\n    python3 -mvenv venv\n    source venv/bin/activate\n\nOr if you are using `pipenv`:\n\n    pipenv shell\n\nNow install the dependencies and tests:\n\n    pip install -e '.[test]'\n\nTo run the tests:\n\n    pytest\n",
    "bugtrack_url": null,
    "license": "Apache License, Version 2.0",
    "summary": "Datasette plugin providing instructions for exporting data to Jupyter or Observable",
    "version": "1.0.1",
    "project_urls": {
        "CI": "https://github.com/simonw/datasette-export-notebook/actions",
        "Changelog": "https://github.com/simonw/datasette-export-notebook/releases",
        "Homepage": "https://github.com/simonw/datasette-export-notebook",
        "Issues": "https://github.com/simonw/datasette-export-notebook/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "605c0bc7fcadb0e021785031f5e961d7ea9a34090d5b385b949635385dd5fc50",
                "md5": "b45f0ea42cf27401dd1d9c126ed478ea",
                "sha256": "f690800587547a7901e02b3264fa24af574df95dee4c0a997c3e7e31e86a3106"
            },
            "downloads": -1,
            "filename": "datasette_export_notebook-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b45f0ea42cf27401dd1d9c126ed478ea",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 5562,
            "upload_time": "2023-09-15T19:00:34",
            "upload_time_iso_8601": "2023-09-15T19:00:34.100550Z",
            "url": "https://files.pythonhosted.org/packages/60/5c/0bc7fcadb0e021785031f5e961d7ea9a34090d5b385b949635385dd5fc50/datasette_export_notebook-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d0af89d87338994ac2dc3f9687fd888eaa24981a237c8b9f7223aed90342a25d",
                "md5": "09f3bda8190931365d07da0d285c8787",
                "sha256": "dee6f0c005be9a86f9ca52d3d2615938731ceb4845bd5f2edd7e1efdc0194556"
            },
            "downloads": -1,
            "filename": "datasette-export-notebook-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "09f3bda8190931365d07da0d285c8787",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 5727,
            "upload_time": "2023-09-15T19:00:35",
            "upload_time_iso_8601": "2023-09-15T19:00:35.572488Z",
            "url": "https://files.pythonhosted.org/packages/d0/af/89d87338994ac2dc3f9687fd888eaa24981a237c8b9f7223aed90342a25d/datasette-export-notebook-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-15 19:00:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "simonw",
    "github_project": "datasette-export-notebook",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "datasette-export-notebook"
}
        
Elapsed time: 0.17232s