Skip to main content

A collection of helper functions

Project description

This is a collection of helper functions that I frequently use and hope that others will also find useful.

Currently there is only one fuction inside that is to track the progress of a parallelized function given an iterable of arguments.

To use:

>>> import simple_helpers
>>> def my_func(args):
...         """ an arbitrary function """
...         arg1_int, arg2_int = args
...         return arg1_int + arg2_int
>>> arguments = [[i, i ** 2] for i in range(10)] # an arbitrary list of arguments
>>> print(results = simple_helpers.parallel_progress(my_func, arguments))

Project details


Download files

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

Source Distribution

simple_helpers-0.1.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

simple_helpers-0.1.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file simple_helpers-0.1.1.tar.gz.

File metadata

  • Download URL: simple_helpers-0.1.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for simple_helpers-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5ce3e750728bcfd1bdf8687b96fd0dd6668c337084a8b343a05792a02cddc8dd
MD5 563369bf06c5675b0d866e51144b3e8b
BLAKE2b-256 e8c5c070c7baac1398f2974e7e09b3fc94334280dc31bbdf7be48f9fa59f48b0

See more details on using hashes here.

File details

Details for the file simple_helpers-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: simple_helpers-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for simple_helpers-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 68342a1fff19eabb0f9a52e3b97f5f3d46ce0956dc081ad84d6ca2822240a60b
MD5 f633d26474b2122f76e7f738656907cc
BLAKE2b-256 5fb8113452433519fdf74644caa7c331f2028406e9913805b1ab9232941a649c

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