home / docs / sections

sections

1 row where breadcrumbs contains "Contributing" and title = "Setting up a development environment"

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: breadcrumbs (array)

id ▼ page ref title content breadcrumbs references
contributing:devenvironment contributing devenvironment Setting up a development environment If you have Python 3.10 or higher installed on your computer (on OS X the quickest way to do this is using homebrew ) you can install an editable copy of Datasette using the following steps. If you want to use GitHub to publish your changes, first create a fork of datasette under your own GitHub account. Now clone that repository somewhere on your computer: git clone git@github.com:YOURNAME/datasette If you want to get started without creating your own fork, you can do this instead: git clone git@github.com:simonw/datasette The quickest way to set up a development environment is to use uv . From the repository root you can run the tests directly: cd datasette uv run pytest This will create a local .venv/ and install Datasette plus its development dependencies. If you prefer to manage your own virtual environment with pip, create and activate one and then install the development dependency group: python3 -m venv ./venv source venv/bin/activate python3 -m pip install -e . --group dev ["Contributing"] [{"href": "https://docs.python-guide.org/starting/install3/osx/", "label": "is using homebrew"}, {"href": "https://github.com/simonw/datasette/fork", "label": "create a fork of datasette"}, {"href": "https://github.com/astral-sh/uv", "label": "uv"}]

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [sections] (
   [id] TEXT PRIMARY KEY,
   [page] TEXT,
   [ref] TEXT,
   [title] TEXT,
   [content] TEXT,
   [breadcrumbs] TEXT,
   [references] TEXT
);
Powered by Datasette · Queries took 1.2ms