Prettier formatting for ?_trace=1 traces
Project description
datasette-pretty-traces
Prettier formatting for ?_trace=1 traces
Installation
Install this plugin in the same environment as Datasette.
datasette install datasette-pretty-traces
Usage
Once installed, run Datasette using --setting trace_debug 1:
datasette fixtures.db --setting trace_debug 1
Then navigate to any page and add ?_trace= to the URL:
http://localhost:8001/?_trace=1
The plugin will scroll you down the page to the visualized trace information.
Demo
You can try out the demo here:
- /?_trace=1 tracing the homepage
- /github/commits?_trace=1 tracing a table page
Screenshot
Development
To set up this plugin locally, checkout the code and run the tests with uv run pytest:
cd datasette-pretty-traces
uv run pytest
To try your development version of plugin run it like this:
uv run datasette fixtures.db --setting trace_debug 1
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file datasette_pretty_traces-0.7.tar.gz.
File metadata
- Download URL: datasette_pretty_traces-0.7.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
922c89a8239fb45661464f1de492c9be685170acd152ba4000e4867637ebfec5
|
|
| MD5 |
3b6824a7f16d5c0d04b6f964fa81fe82
|
|
| BLAKE2b-256 |
09645da99f369fb6ef3f3d84f034364acc0e8c73100e82ed103601cc87c15c27
|
Provenance
The following attestation bundles were made for datasette_pretty_traces-0.7.tar.gz:
Publisher:
publish.yml on simonw/datasette-pretty-traces
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datasette_pretty_traces-0.7.tar.gz -
Subject digest:
922c89a8239fb45661464f1de492c9be685170acd152ba4000e4867637ebfec5 - Sigstore transparency entry: 929118181
- Sigstore integration time:
-
Permalink:
simonw/datasette-pretty-traces@a0829e8afe1fde8c8c4e6283a7dc3408af66ced7 -
Branch / Tag:
refs/tags/0.7 - Owner: https://github.com/simonw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a0829e8afe1fde8c8c4e6283a7dc3408af66ced7 -
Trigger Event:
release
-
Statement type:
File details
Details for the file datasette_pretty_traces-0.7-py3-none-any.whl.
File metadata
- Download URL: datasette_pretty_traces-0.7-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a7ffcc12d83d3e844f5275fdd30ebe7fae93a91100a9aa9c6cb61383c0ec4d7
|
|
| MD5 |
009d57bcd14fb8405c6083d3528b1238
|
|
| BLAKE2b-256 |
6f44b035a6752ea1105df77589e6a04f4b885590857cbe6b0dfab204248c4bd3
|
Provenance
The following attestation bundles were made for datasette_pretty_traces-0.7-py3-none-any.whl:
Publisher:
publish.yml on simonw/datasette-pretty-traces
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
datasette_pretty_traces-0.7-py3-none-any.whl -
Subject digest:
2a7ffcc12d83d3e844f5275fdd30ebe7fae93a91100a9aa9c6cb61383c0ec4d7 - Sigstore transparency entry: 929118183
- Sigstore integration time:
-
Permalink:
simonw/datasette-pretty-traces@a0829e8afe1fde8c8c4e6283a7dc3408af66ced7 -
Branch / Tag:
refs/tags/0.7 - Owner: https://github.com/simonw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a0829e8afe1fde8c8c4e6283a7dc3408af66ced7 -
Trigger Event:
release
-
Statement type: