An opinionated, batteries-included ASGI web framework
Project description
Lustre
An opinionated, "batteries included" ASGI web framework on top of Starlette and the surrounding encode.io
ecosystem.
Using Lustre will mainly entail:
- Writing
async
endpoint handlers. - Writing templates using Jinja.
- Accessing the database via encode's
orm
module.
Check out the microblog example to see how an application built with Lustre might work.
Database Backends
Since we use encode's databases
module, we support several database backends, but you will need to install the backing package separately:
- SQLite, via
aiosqlite
. - PostgreSQL, via
aiopg
. - MySQL (and MariaDB) via
aiomysql
.
Roadmap
- Automated tests
- Proper, nice, logging support
- Potentially support 'freezing' a site into a static bundle - Pre-render templates, turn redirects into nginx configuration, et cetera.
Project details
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
lustre-0.4.3.tar.gz
(9.4 kB
view details)
Built Distribution
lustre-0.4.3-py3-none-any.whl
(13.0 kB
view details)
File details
Details for the file lustre-0.4.3.tar.gz
.
File metadata
- Download URL: lustre-0.4.3.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc94653cfcd3cb23619f18d1b4df534a0fceb2a4636e6acc7afa4b83879796f4 |
|
MD5 | c45322883a4e8a7e217d71063e6709ec |
|
BLAKE2b-256 | bd342d5d501da8cf9946035c78de1bc0f49299cf922c12eac26c028ae81cd67a |
File details
Details for the file lustre-0.4.3-py3-none-any.whl
.
File metadata
- Download URL: lustre-0.4.3-py3-none-any.whl
- Upload date:
- Size: 13.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d17f1c885c71f79cb8547df08b585a13d7652f52699d863eb13deabd6e75e49 |
|
MD5 | c2bd91e13b9e4baf0e225d599ce535b4 |
|
BLAKE2b-256 | 0f00972bc82b80d314bc98b498d5df4faea52c3b243f20477946a4158b844654 |