This is Cool Utility tools that you can use in python.
Project description
This is Cool Utility tools that you can use in python. There are a few tools that you might find very useful, you can use this on pretty much any project and some utils might help you a lot and save so much time since it’s a simple function. We hope you like our utils. Have a nice day!
Badges
Installation
PyPi Installation
Windows:
$ pip install -U cool-utils
Linux/MacOS:
$ python3 -m pip install -U cool-utils
Development Installation
Windows:
$ pip install git+https://github.com/Senarc-Studios/Cool-Utils
Linux/MacOS:
$ python3 -m pip install -U git+https://github.com/Senarc-Studios/Cool-Utils
Examples
Compile:
from cool_utils import Compile
strings = ["This", "Is", "A", "String"]
num_list = [9, 4, 2]
print(Compile.string(strings, startwith="Hey, ", endwith=".", joints=" "))
print(Compile.numbers(num_list, startwith=6, endwith=0))
>> Hey, This Is A String.
>> 69420
JSON:
import cool_utils
cool_utils.JSON.open("sample")
cool_utils.JSON.register_value(variable="foo", value="bar") # This creates a JSON file.
data = utils.JSON.get_data(variable="foo")
invalid_data = utils.JSON.get_data("non-existant value") # You can do this instead of doing the variable's name.
print(data)
print(invalid_data)
>> bar
>> None
Collaborators
This wouldn’t be made possible without these people
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
cool-utils-1.2.0.7.tar.gz
(9.5 kB
view hashes)
Built Distribution
Close
Hashes for cool_utils-1.2.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4e89bc2d9e787d1c8b6cc52a2c5231a828da31fcb7012f65633affe1ffb2a36 |
|
MD5 | 4b476b57b3697e8d41644783c19eee8c |
|
BLAKE2b-256 | aef270f630cabbe3c9d2bf7f9c00b7abcb6ea09c7e8d2ef92289ce2e847d5479 |