a package to use sweetalert2 in flask
Project description
flask-sweetalert2
a package to use sweetalert2 in flask
installation
pip install flask_sweetalert2
usage
from flask_sweetalert2 import Sweetalert2
c = Sweetalert2()
c.init_app(app)
# or
# Sweetalert2(app)
# in templates to include css file
{{ sweetalert2.get_path("css") }}
# in templates to include js file
{{ sweetalert2.get_path("js") }}
{{ sweetalert2.get_path("helpers", "js") }}
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
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
File details
Details for the file flask_sweetalert2-11.23.0.20250916.tar.gz.
File metadata
- Download URL: flask_sweetalert2-11.23.0.20250916.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99cad9fc45f30c74473bfbcb236c9b12182acdafe8fb55564b6068804723cdab
|
|
| MD5 |
6b360a43cd77682b6314a113f66639ae
|
|
| BLAKE2b-256 |
1c7de1a7afcf887a52ed1217932b9257fa8a3ebe6f080af035d0f525fbeef035
|
File details
Details for the file flask_sweetalert2-11.23.0.20250916-py3-none-any.whl.
File metadata
- Download URL: flask_sweetalert2-11.23.0.20250916-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aac0482edce0b63ce853ec353c3269edd905313f1cf7183028e5b1375af1e3dd
|
|
| MD5 |
853d459211ac395f615327e482aaab12
|
|
| BLAKE2b-256 |
10e9558d4e3ccc4d6c0ca82eafde9cbf0b915c34212babe19461f12e085d76ec
|