Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

datasette-notebook

PyPI Changelog Tests License

A markdown wiki and dashboarding system for Datasette

This is an experimental alpha and everything about it is likely to change.

Installation

Install this plugin in the same environment as Datasette.

$ datasette install datasette-notebook

Usage

Start Datasette with a SQLite file called notebook.db:

datasette notebook.db --create

Here the --create option will create that file if it does not yet exist.

Visit /n to create an index page. Visit /n/name to create a page with that name.

You can link to other pages using [[WikiLink]] syntax. This will create a link to /n/WikiLink - spaces will be converted to underscores, and you can link to nested pages such as [[nested/page]].

Configuration

You can use a file other than notebook.db by configuring it using metadata.yml. To use a database file called otherfile.db you would use this:

plugins:
  datasette-notebook:
    database: otherfile

Then start Datasette like so:

datasette otherfile.db

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd datasette-notebook
python3 -mvenv venv
source venv/bin/activate

Or if you are using pipenv:

pipenv shell

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

Release files for datasette-notebook 0.2a0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datasette-notebook 0.2a0
File Size Uploaded
datasette-notebook-0.2a0.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datasette-notebook 0.2a0
File Interpreter ABI Platform
datasette_notebook-0.2a0-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 kB

Release files / datasette-notebook-0.2a0.tar.gz

Download URL datasette-notebook-0.2a0.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e3746d5fa52672b1f777ad5d4a053eb22324924cc368a87690b5b7c0e600bfd4
BLAKE2b-256 checksum
How to use checksums
c2aea734db6a7fffc9fd60a35c75d5239de1995e24ca33b880cb7a1d27c0cd56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / datasette_notebook-0.2a0-py3-none-any.whl

Download URL datasette_notebook-0.2a0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5495ba201b31baadea1a099611616fa68243b0c8597a79382da7d66a5984fd4f
BLAKE2b-256 checksum
How to use checksums
d360fd17a01cb2b8fc9a6f283f87617be212d995f2fed068ee7cde1b448124e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page