Welcome to MultiRunnable’s documentation!#

Travis-CI build status Package release version in GitHub Package version in PyPi License Code Quality by Codacy

OS

Building Status

Coverage Status

Linux/MacOS

GitHub-Actions building status

Test coverage with 'codecov'

Windows

Circle-CI building status

Test coverage with 'coveralls'

Overview#

A Python library integrates the APIs of 3 strategies (Parallel, Concurrent, Coroutine) and 4 libraries (multiprocessing, threading, gevent, asyncio) to help developers build parallelism humanly. It targets to help developers build parallelism feature easily and clearly. You just only focus on the business logic implementations or others.

Let’s demonstrate an example to show how easy and clear it is!

from multirunnable import SimpleExecutor, RunningMode

_executor = SimpleExecutor(mode=RunningMode.Parallel, executors=10)
_executor.run(function=lambda *args: print("This is target function args: ", args), args=("index_1", "index_2.2"))
_result = _executor.get_result()

General documentation#

This part of documentation, which introduces the package and has some step-by-step instructions for using or building parallelism features.

API Reference#

Information about some function, class or method.

Development documentation#

If you’re curious about the detail of implementation of this package includes workflow, software architecture, system design or development, this section is for you.