Name | tn3w-utils JSON |
Version |
1.1.1
JSON |
| download |
home_page | https://github.com/tn3w/tn3w_utils |
Summary | A consolidation of all tools created so far as a Python package |
upload_time | 2024-04-13 13:41:23 |
maintainer | None |
docs_url | None |
author | TN3W |
requires_python | None |
license | MIT |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# TN3W_Utils
A consolidation of all tools created so far as a Python package
All functions in this package:
```python
# 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)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/tn3w/tn3w_utils",
"name": "tn3w-utils",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "TN3W",
"author_email": "tn3wA8xxfuVMs2@proton.me",
"download_url": "https://files.pythonhosted.org/packages/6e/07/ce3dfb0a17e9d0c36368336ba3693523a57ed48cd221799d5801f0699123/tn3w_utils-1.1.1.tar.gz",
"platform": null,
"description": "# TN3W_Utils\nA consolidation of all tools created so far as a Python package\n\n\nAll functions in this package:\n```python\n# Basic Tools\nrandom_string(length, with_numbers, with_letters, with_punctuation)\nrandom_font()\nshorten_text(text, length)\nlist_remove_duplicates(origin_list)\nreverse_list(origin_list)\nget_system_architecture()\nget_console_columns()\nfind_missing_numbers_in_range(range_start, range_end, data)\nget_password_strength(password)\nis_password_pwned(password, session)\nEmptyWith().\n __enter__()\n __exit__(exc_type, exc_value, traceback)\ndownload_file(url, dict_path, operation_name, file_name, session, return_as_bytes, quite)\nAtExit().\n register(func, *args, **kwargs)\n remove_atexit(atexit_id)\n\n# File Tools\nJSON.\n load(file_name, default)\n dump(data, file_name)\nBlock(block_size, file_name).\n _get_id(index)\n _write_data(block_data)\n add_data(index, new_data)\nread(file_name, is_bytes, default)\nwrite(data, file_name, is_bytes)\nSecureDelete.\n list_files_and_directories(directory_path)\n file(file_path, quite)\n directory(directory_path, quite)\n\n# Cryptographic Tools\nFastHashing(salt, without_salt).\n hash(plain_text, salt_length)\n compare(plain_text, hashed_value)\nHashing(salt, without_salt).\n hash(plain_text, hash_length)\n compare(plain_text, hashed_value)\nSymmetricEncryption(password, salt_length).\n encrypt(plain_text)\n decrypt(cipher_text)\nAsymmetricEncryption(public_key, private_key).\n generate_keys(key_size)\n encrypt(plain_text)\n decrypt(cipher_text)\n sign(plain_text)\n verify_sign(signature, plain_text)\nNoEncryption().\n encrypt(plain_text)\n decrypt(cipher_text)\nderive_password(password, salt)\n\n# User-Agent Tools\nrandom_ua()\n\n# IP-Address Tools\nshorten_ipv6(ip_address)\nipv4_to_ipv6(ipv4_address)\nis_valid_ip(ip_address)\nget_client_ip(request)\nget_ip_info(ip_address, cache_path, save_securely)\n\n# Web Tools\nremove_args_from_url(url)\nWebPage.\n client_language(request, default)\n _minimize_tag_content(html, tag)\n minimize(html)\n _translate_text(text_to_translate, from_lang, to_lang)\n translate(html, from_lang, to_lang)\n render_template(file_path, html, **args)\nrender_template(file_name, request, template_dir, template_language, **args)\n\n# Image Tools\nshow_image_in_console(image_bytes)\nrandom_website_logo(name)\nconvert_image_to_base64(file_path)\nis_valid_image(image_data)\nresize_image(image_data, target_size)\n\n# Software Tools\nmacos_get_installer_and_volume_path()\nLinux.\n get_package_manager()\n install_package(package_name, quite)\nGnuPG.\n path\n get_download_link(session)\nCaptcha(captcha_secret, data).\n generate()\n verify(client_input, crypted_captcha_prove)\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A consolidation of all tools created so far as a Python package",
"version": "1.1.1",
"project_urls": {
"Homepage": "https://github.com/tn3w/tn3w_utils"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cbca876254b89ed08867552646aed0c91acdab6a7fd26377eceaba0d66aa0b44",
"md5": "c631bcf9ba3f5a7858d18b114da0054c",
"sha256": "be7bd6fe12733b830515430e1d90397ecea609e91cf724541d0d0ad8f28dd1cd"
},
"downloads": -1,
"filename": "tn3w_utils-1.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c631bcf9ba3f5a7858d18b114da0054c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 488916,
"upload_time": "2024-04-13T13:41:21",
"upload_time_iso_8601": "2024-04-13T13:41:21.677612Z",
"url": "https://files.pythonhosted.org/packages/cb/ca/876254b89ed08867552646aed0c91acdab6a7fd26377eceaba0d66aa0b44/tn3w_utils-1.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6e07ce3dfb0a17e9d0c36368336ba3693523a57ed48cd221799d5801f0699123",
"md5": "d0944e8339d3409387f0f771a42adab4",
"sha256": "baf05bbd2d53d4bfc8032df91318f29350e99f0d68551db2a1a89e7937579446"
},
"downloads": -1,
"filename": "tn3w_utils-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "d0944e8339d3409387f0f771a42adab4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 492387,
"upload_time": "2024-04-13T13:41:23",
"upload_time_iso_8601": "2024-04-13T13:41:23.650325Z",
"url": "https://files.pythonhosted.org/packages/6e/07/ce3dfb0a17e9d0c36368336ba3693523a57ed48cd221799d5801f0699123/tn3w_utils-1.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-13 13:41:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "tn3w",
"github_project": "tn3w_utils",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "tn3w-utils"
}