mpire
A Python package for easy multiprocessing, but faster than multiprocessing
Decision gist · record as of 2026-08-14
Yes, if you need multiprocessing with a gentler learning curve and built-in progress tracking. The low install friction, permissive MIT license, and feature set (worker state, progress bars, insights) make it a solid drop-in replacement for multiprocessing.Pool. Caveat: maintenance is dormant (last release 2024-05-07), so consider your tolerance for slow bug fixes or compatibility updates.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction install with 4 runtime dependencies (pygments, tqdm, pywin32, importlib-resources).
- Maintenance is dormant—last release was 2024-05-07—but the repository remains active with 2066 stars and no archived status.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions; you may use, modify, and distribute MPIRE freely as long as you include the license notice.
last release 2024-05-07 (829 days) · last repo commit 2024-07-31 · 2,066 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,303,676 downloads/mo, #2,339 on PyPI
Alternatives
Verify before relying
pip install mpire
from mpire import WorkerPool
def task(x):
return x * 2
with WorkerPool(n_jobs=4) as pool:
results = pool.map(task, range(10))- Whether dormant maintenance status affects bug-fix responsiveness or compatibility with newer Python versions.
- Performance gains claimed in the description relative to multiprocessing.Pool under typical workloads.
- Whether Windows and macOS caveats documented in the Troubleshooting section materially affect usability on those platforms.
What it is and what it does
MPIRE is a multiprocessing library that wraps Python's standard multiprocessing.Pool with a more convenient API and additional features. It offers map-like functions (map, imap, apply, apply_async) similar to the standard library but combines them with copy-on-write shared objects, worker state management, progress bar integration via tqdm, and automatic task chunking. The package is designed to reduce boilerplate for parallel tasks without requiring users to learn a completely new multiprocessing syntax.
The library supports worker initialization and exit functions, timeouts, graceful exception handling, worker insights for profiling efficiency, and nested worker pools. It integrates with tqdm for progress tracking and can optionally use dill for serialization to handle more complex objects like lambdas in Jupyter notebooks. Runtime dependencies include tqdm for progress bars, pygments for syntax highlighting, pywin32 for Windows support, and importlib-resources for resource access.
Use it for
- Parallelize CPU-bound tasks like batch processing across multiple workers with a progress bar.
- Load a large model or dataset once per worker during initialization, then reuse it across many tasks without serialization overhead.
- Profile multiprocessing efficiency by enabling worker insights to diagnose bottlenecks in startup, waiting, and working time.
- Run embarrassingly parallel tasks with automatic task chunking to speed up processing of small task queues.
- Parallelize lambdas and complex objects in Jupyter notebooks by enabling dill serialization through the multiprocess backend.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need multiprocessing with a gentler learning curve and built-in progress tracking.
The low install friction, permissive MIT license, and feature set (worker state, progress bars, insights) make it a solid drop-in replacement for multiprocessing.Pool. Caveat: maintenance is dormant (last release 2024-05-07), so consider your tolerance for slow bug fixes or compatibility updates.
Install
mpire on PyPI
Before you install
Low friction install with 4 runtime dependencies (pygments, tqdm, pywin32, importlib-resources). Maintenance is dormant—last release was 2024-05-07—but the repository remains active with 2066 stars and no archived status.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions; you may use, modify, and distribute MPIRE freely as long as you include the license notice.
Quickstart
pip install mpire
from mpire import WorkerPool
def task(x):
return x * 2
with WorkerPool(n_jobs=4) as pool:
results = pool.map(task, range(10))
Verify before relying
- Whether dormant maintenance status affects bug-fix responsiveness or compatibility with newer Python versions.
- Performance gains claimed in the description relative to multiprocessing.Pool under typical workloads.
- Whether Windows and macOS caveats documented in the Troubleshooting section materially affect usability on those platforms.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagespygmentstqdmpywin32importlib-resources |
| Maintenance | Dormant 829 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,303,676 / month, #2,339 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules |
Evidence: mpire-2.10.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “shared objects multiprocessing”
- mpireMPIRE provides a faster, more feature-rich alternative to Python's…
- atomic_dictAtomic-Dict provides a lock-free, shared 64-bit integer key-value map…
- mapplyProvides a lightweight, customizable multi-core apply function for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also multiprocess · aiomultiprocess · pyfunceble-process-manager · para · aioprocessing · pypeln · billiard · parallelbar · pytest-parallel · bounded-pool-executor