tmux-python/libtmux
Some data may be outdated — see provenance labels.
⚙️ Python API / wrapper for tmux observed · 2026-10-01
Health v2 · maintenance only
93/100
- Activity 97
- Release rhythm 85
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-22. Adoption (stars, forks) is never an input.
- gap_med: 5
- age_days: 3804
- days_rel: 101
- days_push: 22
- n_releases_24m: 38
Adoption not part of the score
1212 stars · 127 forks observed · 2026-10-01
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
libtmux is a typed, object-oriented Python API for tmux, letting you control servers, sessions, windows, and panes as Python objects instead of parsing shell output. It powers tmuxp and includes a pytest plugin for isolated tmux test fixtures.
Use cases
- control tmux sessions from python
- automate terminal multiplexer workflows
- create and manage tmux windows and panes programmatically
- write pytest tests with isolated tmux sessions
- script tmux session setup and teardown
- query live tmux sessions without parsing shell output
When to choose
- you need programmatic, typed control of tmux from Python
- you're building tools like tmuxp that manage tmux workspaces
- you want isolated tmux fixtures in pytest
- you need to traverse or filter live tmux sessions, windows, and panes
When to avoid
- you just need simple one-off tmux shell commands
- you use tmux older than 3.2a
- you need a stable 1.0 API - libtmux is pre-1.0 and APIs may change
Facets
library · maturity active
developer-tools cli testing workflow-automation developer-tools python cli tmux terminal-multiplexer orm-wrapper pytest-plugin session-management command-line automation terminal linux macos
5 sources
- readme: https://github.com/tmux-python/libtmux · fetched 2026-10-01 · 8acaa62e7f81
- homepage: https://libtmux.git-pull.com · fetched 2026-08-29 · ce727827e1a8
- site_page: https://libtmux.git-pull.com/quickstart · fetched 2026-08-29 · 302af9a66338
- registry_pypi: https://pypi.org/pypi/libtmux/json · fetched 2026-08-29 · 8df6f854b99b
- site_page: https://libtmux.git-pull.com/history · fetched 2026-08-29 · 42657b3534fb
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tmux-python/libtmux | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="tmux-python/libtmux")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem