Skip to main content

Sweet Alert

Beautiful, responsive, customizable

and accessible popup replacement.

See SweetAlert documentation

Installation

pip install kivymd_extensions.sweetalert

Dependencies:

Documentation

See SweetAlert documentation.

Usage

from kivy.lang import Builder

from kivymd.app import MDApp

KV = """
#:import SweetAlert kivymd_extensions.sweetalert.SweetAlert


MDScreen:

    MDRaisedButton:
        text: "EXAMPLE"
        pos_hint: {"center_x": .5, "center_y": .5}
        on_release:
            SweetAlert(window_control_buttons="mac-style").fire("Any fool can use a computer!")
"""


class MainApp(MDApp):
    def build(self):
        return Builder.load_string(KV)


if __name__ == "__main__":
    MainApp().run()

Examples

git clone https://github.com/kivymd-extensions/sweetalert.git
cd sweetalert
cd examples/full_example
python main.py

Support

If you need assistance or you have a question, you can ask for help on our mailing list:

Release files for kivymd-extensions.sweetalert 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kivymd-extensions.sweetalert 0.1.5
File Size Uploaded
kivymd_extensions.sweetalert-0.1.5.tar.gz 11.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kivymd-extensions.sweetalert 0.1.5
File Interpreter ABI Platform
kivymd_extensions.sweetalert-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 23.7 kB

Release files / kivymd_extensions.sweetalert-0.1.5.tar.gz

Download URL kivymd_extensions.sweetalert-0.1.5.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7bb8945fd894d1d744ba445ee692b3b4e2a08a181adb5192f27612c357641da8
BLAKE2b-256 checksum
How to use checksums
f4cef66684d435507b041137ce09336b06e5c2b0388357a4f8977cb590dd57db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6

Release files / kivymd_extensions.sweetalert-0.1.5-py3-none-any.whl

Download URL kivymd_extensions.sweetalert-0.1.5-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f5c08c9becea1fa8a0fadf74fa619233d08cfc1bfd14be5748c9bf9e6d9b4542
BLAKE2b-256 checksum
How to use checksums
032ca814714837d64651c8c8be1f184749aadf31ebc44a384cc3858532a8713a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page