$npx skillfedfor your agent

subprocess32

A backport of the subprocess module from Python 3 for use on 2.x.

SkipPyPI LibrariesReleased May 2019710.2K downloads / moPSF licensePlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — subprocess32-3.5.4-cp27-cp27m-macosx_10_6_intel.whl · subprocess32-3.5.4-cp27-cp27mu-manylinux2014_x86_64.whl
v3.5.4 · released 2019-05-20 · Python >=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4

No, unless you are maintaining a legacy Python 2 codebase that cannot be migrated. The project is abandoned, the repository archived, and Python 2 itself is long past end-of-life. The C extension may not compile on modern build systems. If you control the codebase, upgrade to Python 3; if you cannot, use this only as a temporary measure while planning migration.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Python 2 only (2.6, 2.7); requires POSIX platform; C extension compilation needed at install time.
  • Medium install friction due to compiled C extension.
  • Repository archived since 2020 and project abandoned; last release was 2019-05-20, over 2643 days ago.

License · maintenance · safety

PSF license (permissive) — Licensed under PSF license (permissive). No licensing restrictions on use or redistribution.

last release 2019-05-20 (2643 days) · last repo commit 2020-06-16 · 173 stars · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 710,240 downloads/mo, #5,260 on PyPI

Verify before relying

import sys, os
if os.name == 'posix' and sys.version_info[0] < 3:
    import subprocess32 as subprocess
else:
    import subprocess

result = subprocess.run(['echo', 'hello'], timeout=5)
  • Whether the C extension compiles cleanly on modern build systems given the 2020 last commit date.
  • Current status of the archived repository and whether security patches or critical fixes are still available.
Same gist for agents: .md · .json

What it is and what it does

subprocess32 is a backport of Python 3's subprocess module for Python 2, designed to bring reliability improvements and modern APIs to older Python environments on POSIX systems. It includes a C extension that handles the fork/exec code path safely in multithreaded applications, addressing concurrency bugs present in Python 2's standard subprocess. The package backports timeout support from Python 3.3 and the run() API from Python 3.5, while keeping other features frozen at Python 3.2 level.

This package is intended as a drop-in replacement for Python 2's subprocess module on POSIX platforms (Linux, macOS, BSD, Solaris). However, the project is now abandoned—the repository was archived in 2020 and the last release was in May 2019. Python 2 itself reached end-of-life years ago, making this package primarily useful only for maintaining legacy Python 2 codebases that cannot be migrated.

Use it for

  • Fixing concurrency bugs in legacy Python 2.7 applications that spawn subprocesses from multithreaded code.
  • Adding timeout support to subprocess calls in Python 2.6 or 2.7 without upgrading to Python 3.
  • Providing a unified subprocess API across Python 2 and 3 for codebases that must support both versions.
  • Replacing Python 2's built-in subprocess module on POSIX systems to gain thread-safe fork/exec handling.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No, unless you are maintaining a legacy Python 2 codebase that cannot be migrated.

The project is abandoned, the repository archived, and Python 2 itself is long past end-of-life. The C extension may not compile on modern build systems. If you control the codebase, upgrade to Python 3; if you cannot, use this only as a temporary measure while planning migration.

Install

subprocess32 on PyPI

Before you install

Medium install friction due to compiled C extension. Repository archived since 2020 and project abandoned; last release was 2019-05-20, over 2643 days ago. Not maintained.

Python 2 only (2.6, 2.7); requires POSIX platform; C extension compilation needed at install time.

License in practice

Licensed under PSF license (permissive). No licensing restrictions on use or redistribution.

Quickstart

import sys, os
if os.name == 'posix' and sys.version_info[0] < 3:
    import subprocess32 as subprocess
else:
    import subprocess

result = subprocess.run(['echo', 'hello'], timeout=5)

Verify before relying

  • Whether the C extension compiles cleanly on modern build systems given the 2020 last commit date.
  • Current status of the archived repository and whether security patches or critical fixes are still available.

Package facts

LicensePSF license permissive
Python supportSupports the current Python release >=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceAbandoned 2,643 days since the last release
Last repo commit repository archived
First released
Downloads710,240 / month, #5,260 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Python Software Foundation LicenseOperating System :: MacOSOperating System :: MacOS :: MacOS XOperating System :: POSIXOperating System :: POSIX :: BSDOperating System :: POSIX :: LinuxOperating System :: POSIX :: SunOS/SolarisProgramming Language :: Python :: 2 :: OnlyProgramming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Libraries

Evidence: subprocess32-3.5.4-cp27-cp27m-macosx_10_6_intel.whl; subprocess32-3.5.4-cp27-cp27mu-manylinux2014_x86_64.whl

Tags

Capabilities
python 2 subprocess backportthread-safe subprocess python 2subprocess timeout python 2fork exec reliability python 2posix subprocess python 2.7
Topics
python-2-legacyposix-only

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 › “python 2 subprocess backport”

  • subprocess32A backport of Python 3's subprocess module to Python 2, with…
  • shellescapeProvides a `quote()` function that shell-escapes Python strings to…
  • backports.tarfileProvides a backport of Python's tarfile module for use on Python…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also multiprocessing · taskgroup · futures · EasyProcess · functools32 · pathlib · fissix · backports.tempfile · wrapt-timeout-decorator · selectors2