Debian Codegraph @

src/PyMsgBox.egg-info/PKG-INFO

raw
1 Metadata-Version: 2.1
2 Name: PyMsgBox
3 Version: 1.0.9
4 Summary: A simple, cross-platform, pure Python module for JavaScript-like message boxes.
5 Home-page: https://github.com/asweigart/pymsgbox
6 Author: Al Sweigart
7 Author-email: [email protected]
8 License: GPLv3+
9 Description: PyMsgBox
10 ========
11
12 A simple, cross-platform, pure Python module for JavaScript-like message boxes.
13
14 To import, run:
15
16 >>> from pymsgbox import *`
17
18 There are four functions in PyMsgBox, which follow JavaScript's message box naming conventions:
19
20 >>> alert(text='', title='', button='OK')`
21
22 Displays a simple message box with text and a single OK button. Returns the text of the button clicked on.
23
24 >>> confirm(text='', title='', buttons=['OK', 'Cancel'])`
25
26 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.
27
28 >>> prompt(text='', title='' , defaultValue='')`
29
30 Displays a message box with text input, and OK & Cancel buttons. Returns the text entered, or None if Cancel was clicked.
31
32 >>> password(text='', title='', defaultValue='', mask='*')`
33
34 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.
35
36 On Linux Python 2, you need to first install Tkinter by running: sudo apt-get install python-tk
37
38 Modified BSD License
39
40 Derived from Stephen Raymond Ferg's EasyGui http://easygui.sourceforge.net/
41
42 Platform: UNKNOWN
43 Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
44 Classifier: Programming Language :: Python
45 Classifier: Programming Language :: Python :: 3
46 Classifier: Programming Language :: Python :: 3.4
47 Classifier: Programming Language :: Python :: 3.5
48 Classifier: Programming Language :: Python :: 3.6
49 Classifier: Programming Language :: Python :: 3.7
50 Classifier: Programming Language :: Python :: 3.8
51 Classifier: Programming Language :: Python :: 3.9
52 Description-Content-Type: text/markdown