TN3W_Utils
A consolidation of all tools created so far as a Python package
All functions in this package:
# Basic Tools
random_string(length, with_numbers, with_letters, with_punctuation)
random_font()
shorten_text(text, length)
list_remove_duplicates(origin_list)
reverse_list(origin_list)
get_system_architecture()
get_console_columns()
find_missing_numbers_in_range(range_start, range_end, data)
get_password_strength(password)
is_password_pwned(password, session)
EmptyWith().
__enter__()
__exit__(exc_type, exc_value, traceback)
download_file(url, dict_path, operation_name, file_name, session, return_as_bytes, quite)
AtExit().
register(func, *args, **kwargs)
remove_atexit(atexit_id)
# File Tools
JSON.
load(file_name, default)
dump(data, file_name)
Block(block_size, file_name).
_get_id(index)
_write_data(block_data)
add_data(index, new_data)
read(file_name, is_bytes, default)
write(data, file_name, is_bytes)
SecureDelete.
list_files_and_directories(directory_path)
file(file_path, quite)
directory(directory_path, quite)
# Cryptographic Tools
FastHashing(salt, without_salt).
hash(plain_text, salt_length)
compare(plain_text, hashed_value)
Hashing(salt, without_salt).
hash(plain_text, hash_length)
compare(plain_text, hashed_value)
SymmetricEncryption(password, salt_length).
encrypt(plain_text)
decrypt(cipher_text)
AsymmetricEncryption(public_key, private_key).
generate_keys(key_size)
encrypt(plain_text)
decrypt(cipher_text)
sign(plain_text)
verify_sign(signature, plain_text)
NoEncryption().
encrypt(plain_text)
decrypt(cipher_text)
derive_password(password, salt)
# User-Agent Tools
random_ua()
# IP-Address Tools
shorten_ipv6(ip_address)
ipv4_to_ipv6(ipv4_address)
is_valid_ip(ip_address)
get_client_ip(request)
get_ip_info(ip_address, cache_path, save_securely)
# Web Tools
remove_args_from_url(url)
WebPage.
client_language(request, default)
_minimize_tag_content(html, tag)
minimize(html)
_translate_text(text_to_translate, from_lang, to_lang)
translate(html, from_lang, to_lang)
render_template(file_path, html, **args)
render_template(file_name, request, template_dir, template_language, **args)
# Image Tools
show_image_in_console(image_bytes)
random_website_logo(name)
convert_image_to_base64(file_path)
is_valid_image(image_data)
resize_image(image_data, target_size)
# Software Tools
macos_get_installer_and_volume_path()
Linux.
get_package_manager()
install_package(package_name, quite)
GnuPG.
path
get_download_link(session)
Captcha(captcha_secret, data).
generate()
verify(client_input, crypted_captcha_prove)
Metadata
Release files for tn3w-utils 1.1.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 |
|---|---|---|---|---|
| tn3w_utils-1.1.1.tar.gz | 492.4 kB | Without provenance | Details for tn3w_utils-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tn3w_utils-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for tn3w_utils-1.1.1-py3-none-any.whl |
Total release size: 981.3 kB
Release files / tn3w_utils-1.1.1.tar.gz
| Download URL | tn3w_utils-1.1.1.tar.gz |
|---|---|
| Size | 492.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
baf05bbd2d53d4bfc8032df91318f29350e99f0d68551db2a1a89e7937579446
|
|
BLAKE2b-256 checksum How to use checksums |
6e07ce3dfb0a17e9d0c36368336ba3693523a57ed48cd221799d5801f0699123
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / tn3w_utils-1.1.1-py3-none-any.whl
| Download URL | tn3w_utils-1.1.1-py3-none-any.whl |
|---|---|
| Size | 488.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
be7bd6fe12733b830515430e1d90397ecea609e91cf724541d0d0ad8f28dd1cd
|
|
BLAKE2b-256 checksum How to use checksums |
cbca876254b89ed08867552646aed0c91acdab6a7fd26377eceaba0d66aa0b44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Security for tn3w-utils 1.1.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.