First Commit
This commit is contained in:
@@ -0,0 +1 @@
|
||||
pip
|
||||
@@ -0,0 +1,94 @@
|
||||
Metadata-Version: 2.4
|
||||
Name: PyMsgBox
|
||||
Version: 2.0.1
|
||||
Summary: A simple, cross-platform, pure Python module for JavaScript-like message boxes.
|
||||
Author-email: Al Sweigart <al@inventwithpython.com>
|
||||
Maintainer-email: Al Sweigart <al@inventwithpython.com>
|
||||
License: Copyright (c) 2014, Al Sweigart
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the name of the {organization} nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
Project-URL: Homepage, https://github.com/asweigart/pymsgbox
|
||||
Project-URL: Repository, https://github.com/asweigart/pymsgbox
|
||||
Project-URL: Documentation, https://github.com/asweigart/pymsgbox
|
||||
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
||||
Classifier: Programming Language :: Python
|
||||
Classifier: Programming Language :: Python :: 3
|
||||
Classifier: Programming Language :: Python :: 3.4
|
||||
Classifier: Programming Language :: Python :: 3.5
|
||||
Classifier: Programming Language :: Python :: 3.6
|
||||
Classifier: Programming Language :: Python :: 3.7
|
||||
Classifier: Programming Language :: Python :: 3.8
|
||||
Classifier: Programming Language :: Python :: 3.9
|
||||
Classifier: Programming Language :: Python :: 3.10
|
||||
Classifier: Programming Language :: Python :: 3.11
|
||||
Classifier: Programming Language :: Python :: 3.12
|
||||
Classifier: Programming Language :: Python :: 3.13
|
||||
Classifier: Programming Language :: Python :: 3.14
|
||||
Requires-Python: >=3.4
|
||||
Description-Content-Type: text/markdown
|
||||
License-File: LICENSE.txt
|
||||
License-File: AUTHORS.txt
|
||||
Dynamic: license-file
|
||||
|
||||
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/
|
||||
|
||||
Support
|
||||
-------
|
||||
|
||||
If you find this project helpful and would like to support its development, [consider donating to its creator on Patreon](https://www.patreon.com/AlSweigart).
|
||||
@@ -0,0 +1,11 @@
|
||||
pymsgbox-2.0.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
pymsgbox-2.0.1.dist-info/METADATA,sha256=blTqIgt2zhndsiti72gjulGV86BAv1w0qPPU63VjZ7U,4415
|
||||
pymsgbox-2.0.1.dist-info/RECORD,,
|
||||
pymsgbox-2.0.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
||||
pymsgbox-2.0.1.dist-info/licenses/AUTHORS.txt,sha256=5JnfyZiNrktxxP_UnvwHa7XvsDbRF-28zGtSyeMoezM,363
|
||||
pymsgbox-2.0.1.dist-info/licenses/LICENSE.txt,sha256=pysKzJOJ5MF87YkO8bA0VeBJeNOeJWNgmbk--3a3Tq0,1487
|
||||
pymsgbox-2.0.1.dist-info/top_level.txt,sha256=VhumxHbRDo-rZSH_txL41DQO4DCaSDI0lz2AIhwUHbk,9
|
||||
pymsgbox/__init__.py,sha256=wsObhmCLjnHqdCupE9nLChWHbjDamW21HVrhufzUKCc,14551
|
||||
pymsgbox/__pycache__/__init__.cpython-311.pyc,,
|
||||
pymsgbox/__pycache__/_native_win.cpython-311.pyc,,
|
||||
pymsgbox/_native_win.py,sha256=RJ8jgg9lc6eZTWCqFwyDiPTJnDF6Y6ViuYroe6B7Hag,5294
|
||||
@@ -0,0 +1,5 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: setuptools (80.9.0)
|
||||
Root-Is-Purelib: true
|
||||
Tag: py3-none-any
|
||||
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
Here is an inevitably incomplete list of MUCH-APPRECIATED CONTRIBUTORS --
|
||||
people who have submitted patches, reported bugs, added translations, helped
|
||||
answer newbie questions, and generally made PyMsgBox that much better:
|
||||
|
||||
Al Sweigart https://github.com/asweigart
|
||||
Jose Dzireh Chong https://github.com/josedzirehchong
|
||||
Joseph Ernest https://github.com/josephernest
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
Copyright (c) 2014, Al Sweigart
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the name of the {organization} nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
@@ -0,0 +1 @@
|
||||
pymsgbox
|
||||
Reference in New Issue
Block a user