Flask-Auxs
Flask extension for providing auxiliary components to be used by different projects.
Installation
$ pip install Flask-Auxs
Usage
First create the auxs object:
from flask_auxs import Auxs
auxs = Auxs()
Then initialize it using init_app method:
auxs.init_app(app) # app is your Flask app instance
Content
Components automatically installed:
- context processor for injecting redir_path to templates
- dtformat jinja filter for date and time formatting
Components to be directly imported on demand:
- error handler error_obj_not_found
- exceptions: NotAllowed, PermissionDenied for crud validation
- url helpers: get_cancel, get_next, valid_url
License
Flask-Auxs was created by Rafal Padkowski. It is licensed under the terms
of the MIT license.
Metadata
Release files for Flask-Auxs 0.1.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 | |
|---|---|---|---|
| flask_auxs-0.1.0.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flask_auxs-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.6 kB
Release files / flask_auxs-0.1.0.tar.gz
| Download URL | flask_auxs-0.1.0.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2957c18dcebe82f2f7e787b0dc20929d5499fc56c690cf7fbd5247d393213fed
|
|
BLAKE2b-256 checksum How to use checksums |
937418de13c8299efe690fa80839d024f01e2e05444f78cf1d65d0713993a437
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.12 Linux/5.15.0-79-generic
|
Release files / flask_auxs-0.1.0-py3-none-any.whl
| Download URL | flask_auxs-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
396fd0b67bd17151ebd617c5a11d95d0a4bcf14e560608b230d2cdf814bfbe77
|
|
BLAKE2b-256 checksum How to use checksums |
2232a6850e2c905d6ba3d8a6881f25b1f991576d20e22bf417cf76fb73a68290
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.12 Linux/5.15.0-79-generic
|