Skip to main content

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


Download files

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

Source Distribution

dasker-1.0.0.tar.gz (2.7 kB view details)

Uploaded Source

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

Hashes for dasker-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b83270480deb573aa698124210e27c1dd1f42aa78c69a332d68e8059cc07b953
MD5 0481155104feeeec3fb01bd9221bc1b8
BLAKE2b-256 d81b4933b65555f53325395c614981ec23d5ae238237c57cd3b3bed1968daafb

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