Skip to main content

ExecutorCtx factory, its plugins, and various serial Executors

Project description

Pyrseus: Serial Executors and the ExecutorCtx Factory

Pyrseus extends Python's concurrent.futures asynchronous and concurrent programming package with

  • a collection of non-concurrent executors for light workloads and troubleshooting,
  • ExecutorCtx, a factory for easily switching between different executors, and
  • a collection of ready-built ExecutorCtx plugins, supporting executors from concurrent.futures, ipyparallel, loky, mpi4py, and itself. Where relevant, optional cloudpickle-enhanced plugins are also provided.

Installation

Pyrseus supports Linux, macOS, and Windows.

To install just Pyrseus and no plugins for 3rd party executors, run:

python -m pip install pyrseus

To ensure that the ipyparallel, loky, and/or mpi4py plugins are also ready to use, run a command like the following, removing the names of any plugins you don't need::

python -m pip install 'pyrseus[ipyparallel,loky,mpi4py]'

Note that Pyrseus will auto-detect those packages, so if they're installed through other means, then the relevant Pyrseus plugins will be automatically enabled.

For additional instructions, see the installation guide.

Full Documentation

For full documenation, see the Pyrseus Documentation. It includes installation instructions, a detailed summary of all of the executor plugins, guidance for writing your own plugins, API documenation, and several notebooks showing example use cases.

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

pyrseus-0.1.0.tar.gz (81.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyrseus-0.1.0-py3-none-any.whl (59.6 kB view details)

Uploaded Python 3

File details

Details for the file pyrseus-0.1.0.tar.gz.

File metadata

  • Download URL: pyrseus-0.1.0.tar.gz
  • Upload date:
  • Size: 81.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for pyrseus-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0f67495aba1738cff719979c4e4f1de8a0f75ebdaed144c8f20bdb76e81563db
MD5 79cb3cfa94800efcf58276c372f3ba93
BLAKE2b-256 4ef6512e4e4c9d67ffe533bfd35d55bcdd30c808a9d36fa15e024e8c1ab310eb

See more details on using hashes here.

File details

Details for the file pyrseus-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyrseus-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 59.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for pyrseus-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 589ef27c1ff3f1165c05bddaf7f09f44700de0da50ce9719cc0b15fca8b1554c
MD5 60b72a1ee27efaee79c1c17d3616fbb3
BLAKE2b-256 e4df3ba4261089794c5c7031bffa9671da48dd9dc420076461c361382d1de531

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page