Basic String Bloater/Debloater Algorithm.
Project description
Bloatier - A String Bloater/Debloater Algorithm
Description: My custom format algorithm with loosy RAM allocation and terribly huge time and space complexity that bloats and debloats string and string-like types.
Sample
Using bloat/debloat for basic stage format:
# Importing the package
from bloatier import bloatier
string_ = "This is a string" # Our string to be bloated
bloated_string = bloatier.bloat(string_) # Bloated string
# Print the bloated string
print("Bloated String:\n", bloated_string)
# Print the debloated string
print("Debloated String\n", bloatier.debloat(bloated_string))
Note: You can also use bloats/debloats for multi-stage format. (if you have enough RAM :>)
The string being used by the algorithm and the outputs are all stored in a dictionary "obtain" and can be acquired by using the acquired function.
There is a main bloatier class and 5 local functions related to the main class.
- bloatier class
- bloat method
- bloats method
- debloat method
- debloats method
- acquire method
- bloat function
- bloats function
- debloat function
- debloats function
- acquire function
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bloatier-0.1.2.tar.gz
(3.8 kB
view hashes)