FancyUtil
FancyUtil is a package designed to add a little fancy untility functions and make your life as a developer better.
Latest Update
- Added
initfunction
Installation
Install via pip:
pip install fancyutil
Example code:
# FancyUtil
import fancyutil
fancyutil.init(display_credits=True)
# Import altcolor normally
import altcolor as ac
fancyutil.wait(5) # Delay clearing
fancyutil.clear() # Clear old altcolor text
# Import altcolor with 'NotificationManager'
fancyutil.NotificationManager.hide()
import altcolor
fancyutil.NotificationManager.show()
# Variables
CODE: str = "abc123"
code_wrong: bool = True
PASSWORD: str = "secure_password"
# Hide input system
input: str = fancyutil.hide_input(prompt="What's the secret code: ", hide_char="")
while code_wrong:
if input == CODE:
print(fancyutil.colored_text("GREEN", "Correct code!"))
code_wrong = False
else:
print(fancyutil.colored_text("RED", "Incorrect code!"))
# Password system
password = fancyutil.get_password()
if password == PASSWORD:
print(fancyutil.leaked_text("BLUE", "Cool text"))
print("Wait, why am I still blue???")
print("Oh, because 'leaked_text' dosen't auto reset color like 'colored_text'!" + fancyutil.reset())
else:
fancyutil.exit_app(msg="Better luck next time!") # Ain't getting in here without that password
fancyutil.exit_app(msg="Thanks for playing!") # This is called to make sure after we have nothing left to tell the user it auto-exits and displays your message
Metadata
Release files for fancyutil 0.0.4
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 |
|---|---|---|---|---|
| fancyutil-0.0.4.tar.gz | 4.4 kB | Without provenance | Details for fancyutil-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fancyutil-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for fancyutil-0.0.4-py3-none-any.whl |
Total release size: 9.6 kB
Release files / fancyutil-0.0.4.tar.gz
| Download URL | fancyutil-0.0.4.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6ec0fb4fb20f7d0fe76528d843b1ac42945e2adc9fe6d90da650d8229cc0cda9
|
|
BLAKE2b-256 checksum How to use checksums |
7477064cb7367d0288aadefa8d209e3a6d486aba1f633a4542153eded85d2aa0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / fancyutil-0.0.4-py3-none-any.whl
| Download URL | fancyutil-0.0.4-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a2f50b53fccbc605b1acbdaaec153320ee051564f0b4913d184f8d196c16123
|
|
BLAKE2b-256 checksum How to use checksums |
df61024771265649b59c08bc6fe8ea8bb06f5b4e609cbcc5884ac0fbed79bd3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for fancyutil 0.0.4
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.