Skip to main content

Easy message box in Python

Project description

easymsgbox

Create message boxes easily in Python

This module helps to create easy-to-use message boxes.

Installation

pip install easymsgbox

Usage

import easymsgbox as mb

agreement = mb.agreement('Agreement', 'Are you agree?', is_cancel = True)
if agreement == None:
    mb.alert('Sorry to bother!', 'Exiting.')
    exit()
elif agreement:
    data_collect = mb.confrim('Thanks!', 'Starting collecting data, icon = 'warning')
    if data_collect:
        mb.alert('Done!', 'Have a nice day!')
    else:
        mb.alert('Data collecting canced!', 'Canceled by user')
else:
    mb.alert('Oooh', 'Sorry', icon = 'error')

Compability

Compatatable with all Python 3 versions!

This is my first module ever!

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

easymsgbox-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

easymsgbox-0.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file easymsgbox-0.1.0.tar.gz.

File metadata

  • Download URL: easymsgbox-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for easymsgbox-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8d95a5cd80fe3d97e4c101b2bfcffe65cb044360ec8a66bba6108458b90ec13b
MD5 48183047f133447c50d4ca43687f0021
BLAKE2b-256 21b705fcb90f7065a467b26b37e5302357c305952290201699836155de2d4a71

See more details on using hashes here.

File details

Details for the file easymsgbox-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: easymsgbox-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for easymsgbox-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16e331760d3b18112215f76927078867e8cc71fb343ad518eb0af44e3f98a503
MD5 ff8b642e98341dc8fe8d7791153c7279
BLAKE2b-256 91ff6f0871cd6fc4620984ca1f6ae1c87c1b08217fcfae47f418f7760c7f65b5

See more details on using hashes here.

Supported by

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