Testing installation of Package
Project description
Toolbox
Toolbox is a Python package that contains handy functions.
It's main goal, however, is to demonstrate how to create
a package and demonstrate how to upload it to PyPi.
Check out this
article for a detailed explanation on how to create your
custom Python package and upload it to PyPi!
Installation and updating
Use the package manager pip to install Toolbox like below. Rerun this command to check for and install updates .
pip install git+https://github.com/Muls/toolbox
Usage
Features:
- functions.listChunker --> generator that chunks and interable in evenly sized chunks
- functions.weirdCase --> converts a string to a totally unreadable format
- functions.report --> prints to the console with a timestamp
- decorators.singleton --> used for decoratint your class to make it a singleton
Demo of some of the features:
import mikes_toolbox
from mikes_toolbox import report
message = mikes_toolbox.functions.weirdCase("The mikes_toolbox package is ready for use")
report(message)
list_of_numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
for chunk in mikes_toolbox.functions.listChunker(lst=list_of_numbers, dsize=3):
print(chunk)
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
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
mikes_toolbox-0.0.3.tar.gz
(3.0 kB
view details)
File details
Details for the file mikes_toolbox-0.0.3.tar.gz
.
File metadata
- Download URL: mikes_toolbox-0.0.3.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67ebc14a1190adaea1f74d90483921c62b8457e6b07938a2fd7a2ec092c7e2fa |
|
MD5 | fdc4f038953cd99bf1329cebd351c84d |
|
BLAKE2b-256 | dbad57a912237700263c237e01857d7edf0e63e6baef7c6000bf53e477b757ac |