Skip to main content

Library of useful code snippets

Project description

Kelian

Kelian is a Python library that provides a collection of useful and commonly used code snippets to speed up development and avoid reinventing the wheel. It includes utility functions, common algorithms, data manipulations, and more, designed to simplify your workflow and increase productivity.

Installation

You can install the Kelian library via pip:

pip install kelian

Examples

Functions

Encryption

Simple functions to encrypt and decrypt data using predefined mappings or lists.

  • alpha2dict: Maps alphabets to a dictionary for encryption.
  • list2dict: Converts a list to a dictionary.
  • encrypt: Encrypts a given text using predefined mappings.
  • decrypt: Decrypts a given encrypted text.
  • encrypt_by_list: Encrypts text based on a custom list.
  • decrypt_by_list: Decrypts text based on a custom list.

Loading Bar

  • ProgressBar: Class
    • format: Change pattern of progress bar
    • display: Return the progress bar updated or not, depending on the given parameter
    • __str__ or print class: Return the progress bar updated

System

Retrieve detailed information about your computer's hardware, including processor, motherboard, GPU, RAM, and more.

  • get_processor_details: Returns details about the CPU.
  • get_motherboard_details: Returns details about the motherboard.
  • get_gpu_details: Returns details about the GPU.
  • get_monitor_details: Returns details about the monitor.
  • get_cd_drive_details: Returns details about the CD drive.
  • get_mouse_details: Returns details about the mouse.
  • get_speaker_details: Returns details about the speakers.
  • get_keyboard_details: Returns details about the keyboard.
  • get_hard_disk_details: Returns details about the hard disk.
  • get_ram_details: Returns details about the RAM.

Utility

Helper functions like hashing utilities for common tasks.

  • string2hash: Converts a string to its sha256 hashed value.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kelian-0.1.5.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

kelian-0.1.5-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file kelian-0.1.5.tar.gz.

File metadata

  • Download URL: kelian-0.1.5.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for kelian-0.1.5.tar.gz
Algorithm Hash digest
SHA256 eafefb99340fa5e72c7f6749fc1b9ffb7f0e68961be3c823be9d955d92e2fabc
MD5 5e664cb729a495c5e3a2aea115f99812
BLAKE2b-256 c7618e7e78bcf4ccc109ee15b8a02d09dab2c841a769bd59e3eaa0617a132125

See more details on using hashes here.

File details

Details for the file kelian-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: kelian-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for kelian-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 aec69fe8468da6109e66ac178bb08467fbb70018e770d41d766eb12d912ce199
MD5 4ac96b37fb68e294de45e33513604764
BLAKE2b-256 8a1391131c80a39543bd4f3a85a6c3e348bb8027040cc7269693445601ec424f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page