{"categories":[{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks/3"}],"enrichment":{"capability":"Flask-Executor wraps Python's concurrent.futures module to provide a lightweight in-process task queue for Flask applications, letting you submit background tasks without separate worker processes.","skillfed_tags":["task-queue","background-jobs","concurrency"],"use_cases":["Send emails or notifications asynchronously after a user action without blocking the HTTP response.","Run CPU-intensive calculations in background threads while returning immediately to the client.","Batch process data or generate reports in the background and retrieve results later via stored futures.","Decorate utility functions with @executor.job to submit them like Celery tasks without a separate broker."],"what_it_does":"Flask-Executor is a thin wrapper around Python's concurrent.futures that integrates ThreadPoolExecutor and ProcessPoolExecutor into Flask applications. It lets you submit background tasks from request handlers without setting up separate worker processes or complex task queue infrastructure. The package automatically wraps submitted callables with copies of the current Flask application and request contexts, so background code can access flask.current_app, flask.request, and flask.g as if it were running in the request handler.\n\nYou can submit tasks directly via executor.submit(), store futures for later retrieval, decorate functions with @executor.job for Celery-like syntax, attach default callbacks to all futures, or configure exception propagation to surface errors from background threads. It depends only on Flask and the standard library's futures module, making it a minimal alternative to full task queues when you don't need distributed workers or persistence.","worth_installing":"Yes, if you need a lightweight in-process task queue for Flask and don't require distributed workers or long-term maintenance. The package is stable and has no known vulnerabilities, but it is abandoned\u2014no updates since early 2023. Use it for simple background tasks in small to medium applications, but plan to monitor Flask compatibility yourself or migrate to an actively maintained alternative (like Celery or RQ) if your needs grow."},"id":"flask-executor","links":{"html":"https://skillfed.io/packages/flask-executor","md":"https://skillfed.io/packages/flask-executor.md","pypi":"https://pypi.org/project/flask-executor/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-08-18","license_spdx":null,"license_treatment":"permissive","name":"Flask-Executor","python_support":"unspecified","summary":"An easy to use Flask wrapper for concurrent.futures"},"popularity":{"monthly_downloads":465319,"position":6509,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.0"}
