Skip to main content

Library with a module for almost everything

Project description








Installation

How to install the library

pip install theeverythinglibrary


How to upgrade the library

pip install --upgrade theeverythinglibrary


How to uninstall the library

pip uninstall theeverythinglibrary

How to use

Import the library

import theeverythinglibrary

Find what you need

from theeverythinglibrary.encoding import TELEncoding
from theeverythinglibrary.encryption import TELSymmetric, TELAsymmetric
from theeverythinglibrary.enviroment import TELEnviroment
from theeverythinglibrary.exceptions import InvalidFilenameError, InvalidColor
from theeverythinglibrary.files import TELFileManager
from theeverythinglibrary.math import TELMath
from theeverythinglibrary.regex import TELRegex
from theeverythinglibrary.sorting import TELSorting, TELSearching
from theeverythinglibrary.translator import TELTranslator
from theeverythinglibrary.utilities import TELUtilities
from theeverythinglibrary.web import TELHTTP

Then use it like this!

from theeverythinglibrary.encoding import TELEncoding

encoding = TELEncoding()

encoded_text = encoding.hex_encode("Hello World!")

print(encoded_text)
>>> 48656c6c6f20576f726c6421

decoded_text = encoding.hex_decode(encoded_text)

print(decoded_text)
>>> Hello World!

Features

Current features

Encoding

  • Base64 encoding and decoding
  • Hex encoding and decoding
  • Binary encoding and decoding

Encryption

  • Symmetric encryption
  • Asymmetric encryption
  • Public and Private key managment

File Managment

  • Create directory
  • Delete directory
  • List files in directory
  • Copy files from one directory to different directory
  • Move files from one directory to different directory
  • Search files in directory

Math Functions

  • Add two numbers
  • Add list of numbers
  • Subtract two numbers
  • Subtract list of numbers
  • Find average from list of numbers
  • Find median from list of numbers

Sorting algorithms

  • Bubble sort
  • Selection sort
  • Insertion sort
  • Quick sort
  • Merge sort
  • Bogo sort

Searching algorithms

  • Search
  • Linear search
  • Binary search

Regular expression

  • Match
  • Search
  • Find all
  • Replace
  • Escape
  • Split

Utilities

  • Colored print
  • Project path
  • Project file path

Enviroment variables

  • Set variable
  • Get variable
  • Remove variable
  • List all variables
  • Does variable exist
  • Get multiple variables
  • Update variable
  • Append variable
  • Prepend variable
  • Restore variable

Web

  • Get http request
  • Post http request
  • Put http request
  • Delete http request
  • Download file
  • Get status codes

Translator

  • Translate
  • Get available languages

Do you want to contribute?

Please try and use the formatting rules from the FORMATTING.md file

Visit Github for more info

Visit the GitHub repository for the latest updates, documentation, and community discussions.

History

0.0.1 (2023-08-26)

  • Public on PyPi (pip install theeverythinglibrary)

0.0.2 - 0.0.7 (2023-08-26)

  • Fixing import

0.1.0 (2023-08-26)

  • Fixed import
  • Added math functions
  • Added sorting algorithms

0.2.0 (2023-08-27)

  • Added more math functions
  • Added file managment
  • Reworked error handling

0.2.1 (2023-08-27)

  • Fixed file manager args

0.2.2 (2023-08-27)

  • Updated README

0.2.3 (2023-08-27)

  • Fix with base64 decode args

0.2.4 (2023-08-27)

  • Added searching algorithms

0.2.5 (2023-08-28)

  • Fixed some small issues
  • Added regular expressions (regex)

0.2.6 (2023-08-28)

  • Fixed some small issues
  • Added utilities
  • Added an example of "Project Formatting and Guidelines" file (FORMATTING.md)

0.2.7 (2023-08-29)

  • Added more functions for the file manager
    • Create file
    • Delete file
  • Fixed cprint

0.2.8 (2023-08-29)

  • Huge README change

0.3.0 (2023-08-30)

  • Updated README
  • Added environment variables utility
  • Added managing and sending http requests
  • Added more documentation

0.3.1 (2023-08-30)

  • Updated README
  • Added more documentation

0.3.2 (2023-08-31)

  • Added translation
  • Added file search

0.3.3 (2023-09-1)

  • Improved file search
  • Added file info
  • Added class File
  • Added byte converter

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

theeverythinglibrary-0.3.3.tar.gz (18.8 kB view hashes)

Uploaded Source

Built Distribution

theeverythinglibrary-0.3.3-py3-none-any.whl (21.3 kB view hashes)

Uploaded Python 3

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