Flask-Formist
Flask extension for working with WTForms.
It can be used as an alternative for Flask-WTF.
It provides BaseForm for working with CSRF tokens (the Flask app config should have CSRF_SECRET_KEY and CSRF_TIME_LIMIT keys).
There is also a handle_form function for dealing with forms: you provide form class, template to be rendered, on_success function to be called when the form is valid, cancel url and object to be edited.
Installation
$ pip install Flask-Formist
Usage
First create the wtf object:
from flask_formist import Formist
wtf = Formist()
Then initialize it using init_app method:
wtf.init_app(app) # app is your Flask app instance
License
Flask-Formist was created by Rafal Padkowski. It is licensed under the terms
of the MIT license.
Metadata
Release files for Flask-Formist 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 | Provenance | Actions |
|---|---|---|---|---|
| flask_formist-0.1.0.tar.gz | 2.3 kB | Without provenance | Details for flask_formist-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flask_formist-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for flask_formist-0.1.0-py3-none-any.whl |
Total release size: 5.2 kB
Release files / flask_formist-0.1.0.tar.gz
| Download URL | flask_formist-0.1.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7948c5141cde05eee1131fc0b78ee1066d0011b1fcd54a1529e993a66f6d35ad
|
|
BLAKE2b-256 checksum How to use checksums |
b402533f27fd37826127dda0cd82aa46b21f1c261eabd2cf70120c05d50cec62
|
| 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_formist-0.1.0-py3-none-any.whl
| Download URL | flask_formist-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fba45a1f7ea25644ae181be0e3b2abdf02310ae530ec15138f826da405451858
|
|
BLAKE2b-256 checksum How to use checksums |
487e80cd56eb6d702c7081beb69dab090d7f938bbc23c95fe3742b6769149cbd
|
| 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
|
Security for Flask-Formist 0.1.0
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.