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
Metadata
Release files for mikes-toolbox 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mikes_toolbox-0.0.3.tar.gz | 3.0 kB | Without provenance | Details for mikes_toolbox-0.0.3.tar.gz |
Release files / mikes_toolbox-0.0.3.tar.gz
| Download URL | mikes_toolbox-0.0.3.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
67ebc14a1190adaea1f74d90483921c62b8457e6b07938a2fd7a2ec092c7e2fa
|
|
BLAKE2b-256 checksum How to use checksums |
dbad57a912237700263c237e01857d7edf0e63e6baef7c6000bf53e477b757ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for mikes-toolbox 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.