Skip to main content

Flask-Executor

Build Status PyPI Version GitHub license

Sometimes you need a simple task queue without the overhead of separate worker processes or powerful-but-complex libraries beyond your requirements. Flask-Executor is an easy to use wrapper for the concurrent.futures module that lets you initialise and configure executors via common Flask application patterns. It's a great way to get up and running fast with a lightweight in-process task queue.

Installation

Flask-Executor is available on PyPI and can be installed with:

pip install flask-executor

Quick start

Here's a quick example of using Flask-Executor inside your Flask application:

from flask import Flask
from flask_executor import Executor

app = Flask(__name__)

executor = Executor(app)


def send_email(recipient, subject, body):
    # Magic to send an email
    return True


@app.route('/signup')
def signup():
    # Do signup form
    executor.submit(send_email, recipient, subject, body)

Documentation

Check out the full documentation at flask-executor.readthedocs.io!

Metadata

Release files for Flask-Executor 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Flask-Executor 0.6.0
File Size Uploaded Provenance Actions
Flask-Executor-0.6.0.tar.gz 6.4 kB Without provenance Details for Flask-Executor-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Flask-Executor 0.6.0
File Interpreter ABI Platform Actions
Flask_Executor-0.6.0-py3-none-any.whl Python 3 none any Details for Flask_Executor-0.6.0-py3-none-any.whl

Total release size: 14.6 kB

Release files / Flask-Executor-0.6.0.tar.gz

Download URL Flask-Executor-0.6.0.tar.gz
Size 6.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b582fc68755cc49b8ca1b91867955c864cb47e13f5160f42a3bdbdda0915e1d1
BLAKE2b-256 checksum
How to use checksums
b23bc790064b7f04ef76280642dac41fbd5704f423eec234755b15fc4bf05892
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

Release files / Flask_Executor-0.6.0-py3-none-any.whl

Download URL Flask_Executor-0.6.0-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c890e2a8a0aab79190edb74cbe519b374438cf447ad1749e7ce0fdd6dea7137c
BLAKE2b-256 checksum
How to use checksums
e38e8fd533f0d0a6681a9b9729a6fec9310996427d88c55815eab9a16f82dcb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

Security for Flask-Executor 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page