Skip to main content

A simple GUI extension for schemdule.

Project description

schemdule-extensions-simplegui

Schemdule

Downloads

A simple GUI extension for Schemdule.

Install

Use pip:

pip install schemdule-extensions-simplegui

Or use pipx:

pipx inject schemdule schemdule-extensions-simplegui

# Upgrade
pipx upgrade schemdule --include-injected

Check if the extension installed:

schemdule ext

Usage

This extension provide a MessageBoxPrompter and add the following extension methods on PrompterBuilder.

class PrompterBuilder:
    def useMessageBox(self, autoClose: bool = False, maxKeep: Optional[timedelta] = None, final: bool = False) -> PrompterBuilder:
        """
        maxKeep: The maximum duration to keep opening messagebox if autoClose is True, default 1 minute.
        """
        ...

Use the extension in the schema script.

# schema.py
ext("simplegui")

prompter.useMessageBox()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

schemdule-extensions-simplegui-0.1.0.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page