Skip to main content
Pre-release

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

datasette-table-diagram

PyPI Changelog Tests License

Show Entity Relationship diagrams of tables in Datasette

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-table-diagram

Usage

Databases gain a new database action menu item called "Table diagram", which links to a page that displays Mermaid Entity Relationship diagrams of the tables in that database.

These diagrams can be panned and zoomed, or users can click a table name to zoom to that table and its relationships.

Users will only see tables that they have permission to view.

Screenshot of a diagram of the fixtures.db table - tables are joined by curved lines, there is a + / - / reset button and a list of tables.

Development

To set up this plugin locally, first checkout the code. You can confirm it is available like this:

cd datasette-table-diagram
# Confirm the plugin is visible
uv run datasette plugins

To run the tests:

uv run pytest

Metadata

Release files for datasette-table-diagram 0.1a0

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-table-diagram 0.1a0
File Size Uploaded Provenance Actions
datasette_table_diagram-0.1a0.tar.gz 11.8 kB With provenance Details for datasette_table_diagram-0.1a0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datasette-table-diagram 0.1a0
File Interpreter ABI Platform Actions
datasette_table_diagram-0.1a0-py3-none-any.whl Python 3 none any Details for datasette_table_diagram-0.1a0-py3-none-any.whl

Total release size: 22.6 kB

Release files / datasette_table_diagram-0.1a0.tar.gz

Download URL datasette_table_diagram-0.1a0.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8c80fe62cd30833571422082bc16c2d871432c65f27234a72605bd8d73824390
BLAKE2b-256 checksum
How to use checksums
7cc9d003dee45bf493c87143f9c61afc6e2668c7f965f905bbf54c9b468faeac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 7, 2026.

Transparency log

Release files / datasette_table_diagram-0.1a0-py3-none-any.whl

Download URL datasette_table_diagram-0.1a0-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0530da78e594971220ab0228a73d6e477cdcda987a2906da727c10ac7a29a4ec
BLAKE2b-256 checksum
How to use checksums
349f8fe6f80aee0c907fee39f56bb0a3b5c065671dbaeb0bafd4cbd19c927e54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 7, 2026.

Transparency log

Security for datasette-table-diagram 0.1a0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for datasette_table_diagram-0.1a0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 7, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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