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
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
simple_helpers-0.1.tar.gz
(2.3 kB
view details)
Built Distribution
File details
Details for the file simple_helpers-0.1.tar.gz
.
File metadata
- Download URL: simple_helpers-0.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49523330985f64ebbe6aa5da4c38879f9fdc0c6e38bc5cd2d8c52b2b302054ed |
|
MD5 | c6ca1002f04a90bfc2d22c4cd4e3ff88 |
|
BLAKE2b-256 | 79546ed91efbdd9eba101a45ff0d3211868365cf3671b4cc5dc6157cbf98838d |
File details
Details for the file simple_helpers-0.1-py3-none-any.whl
.
File metadata
- Download URL: simple_helpers-0.1-py3-none-any.whl
- Upload date:
- Size: 2.6 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | df64b5736189d92dc97a63a4e0314d41e7d57f35f5ef7aa90adcae4c76c93bfd |
|
MD5 | cf2d1b94d458beedbeacb0b685f2b2b7 |
|
BLAKE2b-256 | c71ee5af1db4aa87aaa535537b2a24e88cffb1618203b671d909fa870b7c2446 |