Quart-Imp
pip install quart-imp
What is Quart-Imp?
Quart-Imp's main purpose is to help simplify the importing of blueprints, and resources. It has a few extra features built in to help with securing pages and password authentication.
Generate a Quart app
quart-imp init
Example
project/
└── app/
├── blueprints/
│ └── www/...
├── extensions/
│ └── __init__.py
├── resources/
│ ├── static/...
│ ├── templates/...
│ └── routes.py
└── __init__.py
# app/extensions/__init__.py
from quart_imp import Imp
imp = Imp()
# app/__init__.py
from quart import Quart
from app.extensions import imp
def create_app():
app = Quart(__name__, static_url_path="/")
imp.init_app(app)
imp.import_app_resources()
imp.import_blueprints("blueprints")
return app
Metadata
Release files for quart-imp 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quart_imp-1.0.0.tar.gz | 50.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quart_imp-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 114.0 kB
Release files / quart_imp-1.0.0.tar.gz
| Download URL | quart_imp-1.0.0.tar.gz |
|---|---|
| Size | 50.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc331169d3c9f762b0487e3715998e564cedbd71e17a750893b6453fafdff49c
|
|
BLAKE2b-256 checksum How to use checksums |
7445a3b2c6dbd600ec873c491a552eb4babbf60119a221ccd37854f568ab16d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / quart_imp-1.0.0-py3-none-any.whl
| Download URL | quart_imp-1.0.0-py3-none-any.whl |
|---|---|
| Size | 63.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4f929b641b4ba2281850d0803b1cd64497de5471676fc09d5f622e11496bd90
|
|
BLAKE2b-256 checksum How to use checksums |
3f0cff90671fbc534e94ae2388f7dba4d0647573a0aaed7946e39910d46a3507
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|