skillfed

mitogen

Library for writing distributed self-replicating programs.

mitogen v0.3.51 185.0K downloads/30d#10,020 on PyPI2,523
Permissive license BSD-3-Clause Active released

What it is and what it does

Mitogen is a Python library designed to enable distributed computing by allowing programs to replicate and coordinate themselves across multiple machines or processes. It is primarily known as an acceleration framework for Ansible, reducing overhead in task execution on remote hosts. The library supports a wide range of Python versions from 2.4 through 3.14, making it compatible with both legacy and modern environments. It has no runtime dependencies, keeping deployment simple and reducing compatibility friction.

The library targets system administrators and those building distributed systems. Active maintenance and recent releases suggest ongoing development and bug fixes. The permissive BSD-3-Clause license and low install friction make it accessible for both open-source and commercial projects.

Use it for:

  • Accelerating Ansible playbook execution by reducing SSH overhead on remote hosts.
  • Building distributed task execution systems that coordinate work across multiple servers.
  • Creating self-replicating programs that spawn and manage child processes on remote machines.
  • Optimizing system administration workflows requiring coordinated actions across infrastructure.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Mitogen is a library for writing distributed self-replicating programs that coordinate work across multiple machines or processes.

Yes, if you need distributed task coordination or Ansible acceleration. The library has low install friction, no dependencies, active maintenance, and a permissive license. However, the minimal documentation excerpt makes it difficult to assess fit without consulting the full docs—verify that the library's specific capabilities match your distributed computing needs before committing.

Install

mitogen on PyPI

pip

pip install mitogen

uv

uv add mitogen

poetry

poetry add mitogen

Installing mitogen

Before you install

Low install friction with no runtime dependencies. Actively maintained with recent releases; last commit 2026-07-18 with 2523 stars.

License in practice

BSD-3-Clause permissive license allows commercial and private use with minimal restrictions.

Quickstart

pip install mitogen

import mitogen
from mitogen.core import Router

router = Router()

Verify before relying

  • Specific use cases and typical workflows beyond Ansible integration are not detailed in the excerpt.
  • Performance characteristics and scalability limits for distributed deployments are unknown.
  • Whether the library is production-ready or still experimental despite the active status.

Package facts

License BSD-3-Clause (permissive)
Python support supports the current Python release (!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.4)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 27 days since the last release
Last repo commit
First released
Downloads 184,987/month — #10,020 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mitogen-0.3.51-py2.py3-none-any.whl

Environment :: ConsoleFramework :: AnsibleIntended Audience :: System AdministratorsOperating System :: MacOS :: MacOS XOperating System :: POSIXProgramming Language :: PythonProgramming Language :: Python :: 2.4Programming Language :: Python :: 2.5Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: System :: Distributed ComputingTopic :: System :: Systems Administration

Tags

distributed computing libraryself-replicating programsremote execution frameworkansible accelerationprocess orchestrationmulti-machine coordinationpython distributed systems
distributed-systemsansible-pluginremote-execution

More Distributed Computing packages