Skip to main content

datasette-granian

PyPI Changelog Tests License

Run Datasette using the Granian HTTP server

Installation

Install this plugin in the same environment as Datasette.

datasette install datasette-granian

Usage

Run datasette granian ... instead of datasette serve ... - most options should remain the same.

% datasette granian fixtures.db content.db --crossdb
[INFO] Starting granian
[INFO] Listening at: 127.0.0.1:8001
[INFO] Booting worker-1 with pid: 92793
[INFO] Started worker-1
[INFO] Started worker-1 runtime-1

Development

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

cd datasette-granian
python3 -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

Metadata

Release files for datasette-granian 0.1

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-granian 0.1
File Size Uploaded Provenance Actions
datasette-granian-0.1.tar.gz 7.3 kB Without provenance Details for datasette-granian-0.1.tar.gz

Built distribution (wheel)

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

Total release size: 14.6 kB

Release files / datasette-granian-0.1.tar.gz

Download URL datasette-granian-0.1.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4680b1ebca4ae01b173fcc354f318aa2c3af278ff2b5981c5fafe9fd1a8e0582
BLAKE2b-256 checksum
How to use checksums
ee7cf6e3729fe7bf45eb66e9a49ded82fe17e9c3d29246db61856809ca6d00e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / datasette_granian-0.1-py3-none-any.whl

Download URL datasette_granian-0.1-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3d2902682809b4a927be862e4593641c26051ce495b2b0e96bf733e8025125f
BLAKE2b-256 checksum
How to use checksums
ba82e964af79dfeb0d349e5f6f3de030cd8b25b61caf53bb4da7fc301245a438
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Security for datasette-granian 0.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

0.1 This release

2 release files No provenance

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