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

142

Download files

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

Source Distribution

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

Uploaded Source

File details

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

File metadata

  • Download URL: manasafiles-142.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-142.tar.gz
Algorithm Hash digest
SHA256 3290d75cd391a95edf0582ed46b526f890a72e9355434913b62e704a9e68fc9f
MD5 2729a572a6bf20db87b065758c0d1e08
BLAKE2b-256 58093445d55d480a96ab33af47368565e9f9998df3176c58e4f94646bc5c8269

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