PVMB
PVMB is the best message box package from pypi
Installation
pip install pvmb
Usage
box("title", MB_ICONQUESTION | MB_CANCELTRYCONTINUE, "text")
Message box mode list
Mode
MB_ABORTRETRYIGNORE
MB_CANCELTRYCONTINUE
MB_HELP
MB_OK
MB_OKCANCEL
MB_RETRYCANCEL
MB_YESNO
MB_YESNOCANCEL
Icons
MB_ICONEXCLAMATION
MB_ICONWARNING
MB_ICONINFORMATION
MB_ICONASTERISK
MB_ICONQUESTION
MB_ICONSTOP
MB_ICONERROR
MB_ICONHAND
Buttons value
IDABORT = 3
IDCANCEL = 2
IDCONTINUE = 11
IDIGNORE = 5
IDNO = 7
IDOK = 1
IDRETRY = 4
IDTRYAGAIN = 10
IDYES = 6
Highlighted button
MB_DEFBUTTON1
MB_DEFBUTTON2
MB_DEFBUTTON3
MB_DEFBUTTON4
Examples
from foxbox import *
mybox = box("SOMETHING WEN WRONG. would you like to restart?",MB_DEFBUTTON1 | MB_ICONERROR | MB_YESNO, "ERROR!")
if mybox == IDYES:
print('Restarted!')
if mybox == IDNO:
print('Closed')
Help
Thanks for use if you have any question join my Discord server link here (--)
What's new?
v0.0.1 - first release
Metadata
Release files for PVMB 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| PVMB-0.0.1.tar.gz | 2.7 kB | Without provenance | Details for PVMB-0.0.1.tar.gz |
Release files / PVMB-0.0.1.tar.gz
| Download URL | PVMB-0.0.1.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a946e50d4d0291777e3b607e359aee02da0daa98203301f9e25ccefebeeb7627
|
|
BLAKE2b-256 checksum How to use checksums |
87e70f42505ea8efd965d1127e8c65f9922d238b9a1f21d7f63afc3bab05dffb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.5
|
Security for PVMB 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.