PyMsgBox


NamePyMsgBox JSON
Version 1.0.9 PyPI version JSON
download
home_pagehttps://github.com/asweigart/pymsgbox
SummaryA simple, cross-platform, pure Python module for JavaScript-like message boxes.
upload_time2020-10-11 01:51:43
maintainer
docs_urlNone
authorAl Sweigart
requires_python
licenseGPLv3+
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            PyMsgBox
========

 A simple, cross-platform, pure Python module for JavaScript-like message boxes.

To import, run:

    >>> from pymsgbox import *`

 There are four functions in PyMsgBox, which follow JavaScript's message box naming conventions:

    >>> alert(text='', title='', button='OK')`

    Displays a simple message box with text and a single OK button. Returns the text of the button clicked on.

    >>> confirm(text='', title='', buttons=['OK', 'Cancel'])`

    Displays a message box with OK and Cancel buttons. Number and text of buttons can be customized. Returns the text of the button clicked on.

    >>> prompt(text='', title='' , defaultValue='')`

    Displays a message box with text input, and OK & Cancel buttons. Returns the text entered, or None if Cancel was clicked.

    >>> password(text='', title='', defaultValue='', mask='*')`

    Displays a message box with text input, and OK & Cancel buttons. Typed characters appear as *. Returns the text entered, or None if Cancel was clicked.

On Linux Python 2, you need to first install Tkinter by running: sudo apt-get install python-tk

Modified BSD License

Derived from Stephen Raymond Ferg's EasyGui http://easygui.sourceforge.net/
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/asweigart/pymsgbox",
    "name": "PyMsgBox",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Al Sweigart",
    "author_email": "al@inventwithpython.com",
    "download_url": "https://files.pythonhosted.org/packages/7d/ff/4c6f31a4f08979f12a663f2aeb6c8b765d3bd592e66eaaac445f547bb875/PyMsgBox-1.0.9.tar.gz",
    "platform": "",
    "description": "PyMsgBox\n========\n\n A simple, cross-platform, pure Python module for JavaScript-like message boxes.\n\nTo import, run:\n\n    >>> from pymsgbox import *`\n\n There are four functions in PyMsgBox, which follow JavaScript's message box naming conventions:\n\n    >>> alert(text='', title='', button='OK')`\n\n    Displays a simple message box with text and a single OK button. Returns the text of the button clicked on.\n\n    >>> confirm(text='', title='', buttons=['OK', 'Cancel'])`\n\n    Displays a message box with OK and Cancel buttons. Number and text of buttons can be customized. Returns the text of the button clicked on.\n\n    >>> prompt(text='', title='' , defaultValue='')`\n\n    Displays a message box with text input, and OK & Cancel buttons. Returns the text entered, or None if Cancel was clicked.\n\n    >>> password(text='', title='', defaultValue='', mask='*')`\n\n    Displays a message box with text input, and OK & Cancel buttons. Typed characters appear as *. Returns the text entered, or None if Cancel was clicked.\n\nOn Linux Python 2, you need to first install Tkinter by running: sudo apt-get install python-tk\n\nModified BSD License\n\nDerived from Stephen Raymond Ferg's EasyGui http://easygui.sourceforge.net/",
    "bugtrack_url": null,
    "license": "GPLv3+",
    "summary": "A simple, cross-platform, pure Python module for JavaScript-like message boxes.",
    "version": "1.0.9",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "007677929ce311e52e442dadb31ca669",
                "sha256": "2194227de8bff7a3d6da541848705a155dcbb2a06ee120d9f280a1d7f51263ff"
            },
            "downloads": -1,
            "filename": "PyMsgBox-1.0.9.tar.gz",
            "has_sig": false,
            "md5_digest": "007677929ce311e52e442dadb31ca669",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 18829,
            "upload_time": "2020-10-11T01:51:43",
            "upload_time_iso_8601": "2020-10-11T01:51:43.227930Z",
            "url": "https://files.pythonhosted.org/packages/7d/ff/4c6f31a4f08979f12a663f2aeb6c8b765d3bd592e66eaaac445f547bb875/PyMsgBox-1.0.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2020-10-11 01:51:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "asweigart",
    "github_project": "pymsgbox",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "tox": true,
    "lcname": "pymsgbox"
}
        
Elapsed time: 0.02779s