FoxBox
Foxbox is a python package to simplify messagebox and bin converter.
Installation
pip install foxbox
Usage
from foxbox import * #Be sure to add * to import all Subpackages
int2bin(15)
# returns 1111
bin2int(1111)
# returns 15
str2bin('Text')
# returns 01110100011001010111100001110100
bin2str('01110100011001010111100001110100') #Add binairy text into ''
box("Text", MB_ICONQUESTION | MB_CANCELTRYCONTINUE, "Title")
#Message box icon| Message box mode
file('filename.anyformat')
#create a file
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
Examples
from foxbox import *
mybox = box("SOMETHING WEN WRONG. would you like to restart?", MB_ICONERROR | MB_YESNO, "ERROR!")
if mybox == IDYES:
print('Restarted!')
if mybox == IDYES:
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
v0.0.2 - updating package file
v0.0.3 - description added
v0.0.4 - changed description (current)
v0.0.5 - deleted markdown readme
Metadata
Release files for FoxBox 0.0.5
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 |
|---|---|---|---|---|
| FoxBox-0.0.5.tar.gz | 3.1 kB | Without provenance | Details for FoxBox-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| FoxBox-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for FoxBox-0.0.5-py3-none-any.whl |
Total release size: 6.4 kB
Release files / FoxBox-0.0.5.tar.gz
| Download URL | FoxBox-0.0.5.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
176098fc222ad774e882fbc714eea0eab872c6d5ae5c33e96102ec0c60581e26
|
|
BLAKE2b-256 checksum How to use checksums |
00fd57d0f0801ec2eb0a954df1a29c2bcab55bae0d0ce25295e7c838fd33548e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.5
|
Release files / FoxBox-0.0.5-py3-none-any.whl
| Download URL | FoxBox-0.0.5-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a7b95d02bd7b212ced01c2dcdb8e7317c375e894cee43bc7def2c432be774da
|
|
BLAKE2b-256 checksum How to use checksums |
b354f73d742ee7a2cb51e4c9eb2e08ef94c37eacf6efa9e39ba0fb103e503cae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.5
|
Security for FoxBox 0.0.5
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.