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))
Metadata
Release files for simple-helpers 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| simple_helpers-0.1.1.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| simple_helpers-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.9 kB
Release files / simple_helpers-0.1.1.tar.gz
| Download URL | simple_helpers-0.1.1.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ce3e750728bcfd1bdf8687b96fd0dd6668c337084a8b343a05792a02cddc8dd
|
|
BLAKE2b-256 checksum How to use checksums |
e8c5c070c7baac1398f2974e7e09b3fc94334280dc31bbdf7be48f9fa59f48b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / simple_helpers-0.1.1-py3-none-any.whl
| Download URL | simple_helpers-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68342a1fff19eabb0f9a52e3b97f5f3d46ce0956dc081ad84d6ca2822240a60b
|
|
BLAKE2b-256 checksum How to use checksums |
5fb8113452433519fdf74644caa7c331f2028406e9913805b1ab9232941a649c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|