BASE

Datasette

Datasette

Data exploration · Free + paid

A Python tool for exploring and publishing SQLite data: SQL, search, a JSON API, and plugins turn a dataset into an accessible web interface.

Resource illustration: Datasette

Open resource ↗

What you can use for free

The open source component used locally or self-hosted for the stated workflow, within its license terms.

Paid features and costs

Your own server, external APIs, and compute; managed cloud hosting, support, and additional commercial features if selected.

Access and limitations

Code licensing and hosting costs are separate matters. Check the conditions for the specific version and edition.

Use cases

  • Publish a verifiable open dataset
  • Run Datasette, apply a filter, and retrieve the same rows through the JSON API

Example workflow

A possible workflow; this is not a report of hands-on testing.

Publish a verifiable open dataset

Before you start

  • An SQLite file with tables permitted for publication.
  • A test project and completion criteria for the task: Publish a verifiable open dataset.

Steps

  1. Set up Datasette to test: An SQLite file with tables permitted for publication.
  2. Run Datasette, apply a filter, and retrieve the same rows through the JSON API.
  3. Integrate the checked version into your project; document its configuration, limitations, and recovery method.

Check your result

  • Personal fields are excluded in advance; SQL and export capabilities match the access settings.
  • Check the result against a reference example; separately confirm the terms of any assets and external services used.

Choosing Datasette

Publish a verifiable open dataset

Choose this when

  • Publish a verifiable open dataset
  • Run Datasette, apply a filter, and retrieve the same rows through the JSON API

Requirements

  • A normal installation requires Python 3.10+ and an SQLite file; Docker and browser-only Lite are separate options.

Things to consider

  • Costs and limits of free use: Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected.
  • Terms of use: Apache-2.0

Frequently asked questions

What can you use for free in Datasette?

The openly available portion, used locally or self-hosted for the stated use case within its license terms.

What additional costs might arise with Datasette?

Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected.

What terms of use matter for Datasette?

Apache-2.0

How do you get started with Datasette?

Set up Datasette to test: An SQLite file with tables permitted for publication. Run Datasette, apply a filter, and retrieve the same rows through the JSON API. Integrate the checked version into your project; document its configuration, limitations, and recovery method.

How does server-based Datasette differ from Datasette Lite?

Datasette publishes SQLite data with an HTML interface and JSON API. The server version uses Python, while Datasette Lite runs Python/SQLite through WebAssembly in a browser. Metadata can show the dataset’s source and license on pages and in the API; the software’s Apache-2.0 license does not itself determine rights to published data.

License

Apache-2.0

Apache 2.0 — permissive license with patent terms

You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.

License terms

Technologies and topics

  • Datasette
  • Data exploration

Sources

Other resources