skillfed

multitasking

Non-blocking Python methods using decorators

multitasking Permissive license Apache Active 235 v0.0.13 released

Install

multitasking on PyPI

pip

pip install multitasking

uv

uv add multitasking

poetry

poetry add multitasking

Package facts

License Apache (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 112 days since the last release
Last repo commit
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: multitasking-0.0.13-py3-none-any.whl

Keywords: multitasking, multitask, threading, async

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules

About multitasking

from the package's own PyPI description — quoted content, verbatim

MultiTasking: Non-blocking Python methods using decorators

|Python version| |PyPi version| |PyPi status| |PyPi downloads| |CodeFactor| |Star this repo| |Follow me on twitter|


MultiTasking is a lightweight Python library that lets you convert your Python methods into asynchronous, non-blocking methods simply by using a decorator. Perfect for I/O-bound tasks, API calls, web scraping, and any scenario where you want to run multiple operations concurrently without the complexity of manual thread or process management.

What’s New in v0.0.12

  • 🎯 Full Type Hint Support: Complete type annotations for better IDE support and code safety
  • 📚 Enhanced Documentation: Comprehensive docstrings and inline comments for better maintainability
  • 🔧 Improved Error Handling: More robust exception handling with specific error types
  • 🚀 Better Performance: Optimized task creation and management logic
  • 🛡️ Code Quality: PEP8 compliant, linter-friendly codebase

Quick Start

.. code:: python

import multitasking import time...

Read as markdown · JSON record · Source repository · Homepage

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

Converts Python methods into non-blocking, concurrent tasks using decorators, enabling simple parallel execution of I/O-bound operations without manual thread management.

Installation is straightforward with zero runtime dependencies and a pure-Python wheel distribution. The package is actively maintained with a recent release (112 days old) and an active repository showing continued development.

Licensed under Apache (permissive), allowing free use, modification, and distribution in both open-source and commercial projects with minimal restrictions.

Usage

import multitasking
import time

@multitasking.task
def fetch_data(url_id):
    time.sleep(1)
    return f"Data from {url_id}"

for i in range(5):
    fetch_data(i)

multitasking.wait_for_tasks()

Verdict: A lightweight, actively maintained library for adding concurrency to Python methods via decorators. Zero dependencies, permissive Apache license, and no known vulnerabilities make it a low-friction choice for I/O-bound parallelization. Best suited for developers seeking simplicity over the complexity of asyncio or manual threading.

Needs verification

  • Whether the package's thread/process pool implementation scales predictably under high concurrency loads
  • Performance characteristics compared to asyncio or concurrent.futures for typical I/O workloads
  • Compatibility guarantees across the stated Python version range (2.7 through 3.13)
python async decoratorconcurrent tasks without asyncionon-blocking methodssimple multithreading libraryparallel execution decoratorthreading without boilerplateconcurrent I/O operations

Similar packages