magpie

Subpackages

Submodules

Package Contents

Functions

init

Initialize the Magpie core processes/threads.

shutdown

Shutdown all the worker processes from the task queue system.

API

magpie.init()[source]

Initialize the Magpie core processes/threads.

In particular, this will:

  • start a monitoring thread to get back results asynchronously once tasks have finished computing

  • start a celery worker process to consume and process tasks from the queue (if configured)

  • start a celery flower task monitoring system (if configured)

magpie.shutdown()[source]

Shutdown all the worker processes from the task queue system.