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.1.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file dasker-1.0.1.tar.gz.

File metadata

  • Download URL: dasker-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 258c9bbfb597bcfdb9811d1a54bf7ee22f4154356d5b78d54d9d6dcb09a25b66
MD5 4e15e65a807879981471f6957b29cd29
BLAKE2b-256 7356ec888d7171148bf7593c8d9b7a634f05bd70a6b4365f8ff882fb650cec69

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