Skip to main content

Testing installation of Package

Project description

custom Python package that is installable from your GitHub repo!

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 toolbox
from toolbox import report

message = toolbox.functions.weirdCase("The 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 toolbox.functions.listChunker(lst=list_of_numbers, csize=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

MIT

Project details


Release history Release notifications | RSS feed

This version

143

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

manasafiles-143.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file manasafiles-143.tar.gz.

File metadata

  • Download URL: manasafiles-143.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for manasafiles-143.tar.gz
Algorithm Hash digest
SHA256 8d3767089d4f0f039807a11e3a9ac46a23ba449973ec126005e7b3b8888cfd60
MD5 d08af57fe78e35e19f1f5f6bd78516dc
BLAKE2b-256 e4bb108fc40393933dddbd3c4261808b0d98fd0db256d47be7b2f26a0a631f31

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page