Skip to content
@tmux-python

python utilities for tmux

permissively licensed. for the public good.

tmux-python

tmux-python

Python libraries and tools for tmux: typed control over servers, sessions, windows, and panes, declarative session workspaces, and Model Context Protocol integration.

Packages

Project What it does PyPI Documentation
libtmux Typed Python API and pytest plugin for tmux servers, sessions, windows, and panes PyPI libtmux.org/en/py/
tmuxp Declarative session manager that loads and freezes tmux workspaces from YAML or JSON PyPI tmuxp.git-pull.com
libtmux-mcp Model Context Protocol server for inspecting and driving tmux from AI tools PyPI MCP docs

Ports in other languages

The sister libtmux organization hosts ports of libtmux in Rust, Go, TypeScript, C++, Swift, JVM, .NET, Ruby, Lua, BEAM, Haskell, OCaml, Lisp, Julia, Perl, Raku, and PowerShell, documented at libtmux.org.

Contributing

Read the AI policy for how these projects treat AI tools, issue reports, and pull requests.

Pinned Loading

  1. tmuxp tmuxp Public

    🖥️ Session manager for tmux, built on libtmux.

    Python 4.6k 251

  2. libtmux libtmux Public

    ⚙️ Python API / wrapper for tmux

    Python 1.2k 128

Repositories

Showing 6 of 6 repositories
  • libvt Public

    Pure-Python, zero-dependency, typed virtual terminal emulator

    tmux-python/libvt's past year of commit activity
    Python 0 MIT 0 17 2 Updated Nov 24, 2026
  • libtmux Public

    ⚙️ Python API / wrapper for tmux

    tmux-python/libtmux's past year of commit activity
    Python 1,218 MIT 128 94 55 Updated Nov 24, 2026
  • tmuxp Public

    🖥️ Session manager for tmux, built on libtmux.

    tmux-python/tmuxp's past year of commit activity
    Python 4,601 MIT 251 114 28 Updated Nov 23, 2026
  • libtmux-mcp Public

    MCP for tmux, powered by libtmux

    tmux-python/libtmux-mcp's past year of commit activity
    Python 15 MIT 1 30 16 Updated Nov 22, 2026
  • .github Public

    Default community health files for the tmux-python organization

    tmux-python/.github's past year of commit activity
    0 0 0 0 Updated Nov 22, 2026
  • tmux-manuals Public

    tmux version manuals in text format, for easy diffs

    tmux-python/tmux-manuals's past year of commit activity
    Python 3 1 0 0 Updated Sep 17, 2022