Skip to content
A simple library to execute a queue of asynchronous and synchronous tasks.
Branch: master
Clone or download
tanmay_majumdar polls added
Latest commit dc499f4 Jan 27, 2020
Type Name Latest commit message Commit time
Failed to load latest commit information.
pyexecutors docs creation Jan 24, 2020
.gitignore gitignore updated Jan 24, 2020
.travis.yml removed python 3.4 from travis.yml Nov 4, 2019 license and docs updated Jan 24, 2020
MANIFEST packages modified Nov 3, 2019 polls added Jan 27, 2020
azure-pipelines.yml Update azure-pipelines.yml for Azure Pipelines Nov 4, 2019
requirements.txt upgraded pytest version Nov 4, 2019
setup.cfg doc updated Jan 24, 2020 polls added Jan 27, 2020

PyExecutors - A simple multi-threading task management library

Travis Passing PyPI version PyPI Downloads PyPI license Downloads

Are you great with multi-threading?

PyExecutors is a utility module which provides straight-forward, powerful functions for working with asynchronous python functions.

This runs an array of functions in series. You can program the functions to run synchronously or asynchronously in the order you desire.


pip install pyexecutors

Then, from a python interpreter

from pyexecutors.executors.Executors import SyncTasks, AsyncTasks, Executors

def execute_method(exec_thread_number):
    // your function

Executors() \
    .enqueue(AsyncTasks(execute_method, args=(1,))) \
    .enqueue(AsyncTasks(execute_method, args=(2,))) \
    .enqueue(SyncTasks(execute_method, args=(3,))) \
    .enqueue(AsyncTasks(execute_method, args=(4,))) \


This project is licensed under the MIT License - see the file for details

You can’t perform that action at this time.