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 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 utils
utils.register_value(file="sample", variable="foo", value="bar") # This creates a JSON file.
data = utils.get_data(file="sample", variable="foo")
invalid_data = utils.get_data("sample", "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.1.4.tar.gz
(6.7 kB
view hashes)
Built Distribution
cool_utils-1.1.4-py3-none-any.whl
(11.7 kB
view hashes)
Close
Hashes for cool_utils-1.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8eb1afb0d83a38eedce914c94560f93daafd4fd359a12f2ff9c98bb614f99b88 |
|
MD5 | 6bf81777004502deb1398519795c2fe1 |
|
BLAKE2b-256 | 12fc048bd5d0561a3b9adc8c606e6b3b540aac83a5d331f31c6a1155e210b732 |