datasette-granian 0.1a0
pip install datasette-granian==0.1a0
Released:
Run Datasette using the Granian HTTP server
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache License, Version 2.0)
- Author: Simon Willison
- Requires: Python >=3.7
Classifiers
- Framework
- License
Project description
datasette-granian
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
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache License, Version 2.0)
- Author: Simon Willison
- Requires: Python >=3.7
Classifiers
- Framework
- License
Release history Release notifications | RSS feed
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 https://pypi.org/project/datasette-granian/0.1a0/#files
Showing 1 of 1 file.
File details
Details for the file datasette-granian-0.1a0.tar.gz.
File metadata
- Download URL: datasette-granian-0.1a0.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13b1df4988138ebfa55f611c08a1f68b86b8c377de7002980bc053cb9b5acbb3
|
|
| MD5 |
1bbd95b716bc0a229f1a1bf326311091
|
|
| BLAKE2b-256 |
08c1d504dffad06408f2bbaa3ba186e78df52a957cc8645b21df612627e712dd
|
File details
Details for the file datasette_granian-0.1a0-py3-none-any.whl.
File metadata
- Download URL: datasette_granian-0.1a0-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
280d9da176ccbc7f7fcac4f060b1abd400dedf2675dc9ec9d7fbf23e4a33f8ec
|
|
| MD5 |
8c61bce851f14a80f141feeb766dfbba
|
|
| BLAKE2b-256 |
df135047fba70dad4a2da6b6468b9f2dc3e5d47bde6a88ee7c63845b76023d20
|