monadic dask client in separate process
Project description
dasker
monadic dask
example: dasker '{}' python -c "import dasker; print(dasker.get_client().submit(lambda: 'hello, world!').result())"
equivalent example, because it's a monad: dasker '{}' dasker '{}' python -c "import dasker; print(dasker.get_client().submit(lambda: 'hello, world!').result())"
if dasker wasn't used to start dask, a default client is used. example: python -c "import dasker; print(dasker.get_client().submit(lambda: 'hello, world!').result())"
if you want to override the contextual dask, use --force-new. example: dasker '{"processes": false}' dasker --force-new '{"processes": true, "nthreads": 1, "n_workers": 1}' command ...
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
File details
Details for the file dasker-1.0.0.tar.gz
.
File metadata
- Download URL: dasker-1.0.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.11 tqdm/4.64.0 importlib-metadata/4.12.0 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b83270480deb573aa698124210e27c1dd1f42aa78c69a332d68e8059cc07b953 |
|
MD5 | 0481155104feeeec3fb01bd9221bc1b8 |
|
BLAKE2b-256 | d81b4933b65555f53325395c614981ec23d5ae238237c57cd3b3bed1968daafb |