Skip to main content

Easy wrapper for parallelizing Python executions

Project description

distify

Wrapper around Ray for easy distributed processing in Python.

Disclaimer: I use it for some of my projects, but there is no guarantee that the code will work as expected or that future versions will be backward compatible.

Install

pip install distify --upgrade

Features

  • Multiple backends: Ray, Multiprocessing, Multithreading, Sequential.
  • Logging.
  • Progress bar.
  • Can run in local or in multiple nodes.
  • Individual timeout for map applications.
  • Resume from checkpointing.
  • Hydra integration.

Quickstart/usage

Please refer to this example: https://github.com/jordiae/distify/tree/main/examples/basic

Documentation

TODO

LICENSE

MIT

Author

Jordi Armengol Estapé

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

distify-0.8.5.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

distify-0.8.5-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

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