python-parallelism

Installation
SKILL.md

Python Parallelism

Overview

Python's concurrency landscape changed fundamentally in 2025-2026. The GIL is becoming optional (Python 3.13+ experimental, 3.14 officially supported with 5-10% single-thread penalty). But for most code, the right tool depends on whether your workload is I/O-bound or CPU-bound — not whether the GIL exists.

Decision Framework

Is your workload I/O-bound or CPU-bound?

I/O-bound (network, disk, database):
  ├── Many concurrent connections? → asyncio (TaskGroup)
  ├── Simple parallel I/O? → ThreadPoolExecutor
  └── Background jobs? → Celery / Dramatiq / arq
Installs
2
GitHub Stars
6
First Seen
Sep 28, 2026