GitHub / tmux-python / libtmux
⚙️ Python API / wrapper for tmux
JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmux-python%2Flibtmux
PURL: pkg:github/tmux-python/libtmux
Stars: 1,109
Forks: 112
Open issues: 86
License: mit
Language: Python
Size: 4.09 MB
Dependencies parsed at: Pending
Created at: over 9 years ago
Updated at: 2 days ago
Pushed at: about 19 hours ago
Last synced at: about 17 hours ago
Commit Stats
Commits: 1770
Authors: 40
Mean commits per author: 44.25
Development Distribution Score: 0.102
More commit stats: https://commits.ecosyste.ms/hosts/GitHub/repositories/tmux-python/libtmux
Topics: api, cli, library, python, python-3, terminal, tmux
v0.35.0 - Simplify `target`s
v0.35.0
Breaking changes
- refactor: Eliminate redundant targets / window_index’s across codebase by @tony in https://github.com/tmux-python/libtmux/pull/536
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.34.0...v0.35.0
Download
v0.34.0 - Command overhaul
v0.34.0
Breaking
Command target change (#535)
Commands: All cmd() methods using custom or overridden targets must use the keyword argument target. This avoids entanglement with inner shell values that include -t for other purposes. These methods include:
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.33.0...v0.34.0
Download
v0.33.0 - Split and new window improvements
v0.33.0
Breaking changes
Improved new sessions (#532)
-
Session.new_window():- Learned
direction, viaWindowDirection). - PEP 3102 keyword-only arguments after window name (#534).
- Learned
-
Added {meth}
Window.new_window()shorthand to create window based on that
window’s position.
Improved window splitting (#532)
-
Window.split_window()toWindow.split()- Deprecate
Window.split_window()
- Deprecate
-
Pane.split_window()toPane.split()-
Deprecate
Pane.split_window() -
Learned
direction, viaPaneDirection).- Deprecate
verticalandhorizontalin favor ofdirection.
- Deprecate
-
Learned
zoom
-
Tweak: Pane position (#532)
It’s now possible to retrieve the position of a pane in a window via a bool helper::
Development
-
poetry: 1.7.1 -> 1.8.1
See also: https://github.com/python-poetry/poetry/blob/1.8.1/CHANGELOG.md
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.32.0...v0.33.0b0
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.32.0...v0.33.0
Download
v0.33.0b1 - Fix for split and new window
v0.33.0b1 Pre-release
What’s Changed
- Split, new window follow ups by @tony in https://github.com/tmux-python/libtmux/pull/534
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.33.0b0...v0.33.0b1
Download
v0.33.0b0 - Splitting and new window improvements
v0.33.0b0 Pre-release
Breaking changes
Improved new sessions (#532)
-
Session.new_window()toSession.new_window()- Learned
direction, viaWindowDirection).
- Learned
Improved window splitting (#532)
-
Window.split_window()toWindow.split()- Deprecate
Window.split_window()
- Deprecate
-
Pane.split_window()toPane.split()-
Deprecate
Pane.split_window() -
Learned
direction, viaPaneDirection).- Deprecate
verticalandhorizontalin favor ofdirection.
- Deprecate
-
Learned
zoom
-
Tweak: Pane position (#532)
It’s now possible to retrieve the position of a pane in a window via a bool helper::
Development
-
poetry: 1.7.1 -> 1.8.1
See also: https://github.com/python-poetry/poetry/blob/1.8.1/CHANGELOG.md
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.32.0...v0.33.0b0
Download
v0.32.0 - module export improvement, ruff 0.3.0
v0.32.0
What’s Changed
- Fix docstring ordering in pane.split_window by @Ngalstyan4 in https://github.com/tmux-python/libtmux/pull/528
- Add implicit exports into init.py by @ssbarnea in https://github.com/tmux-python/libtmux/pull/531
New Contributors
- @Ngalstyan4 made their first contribution in https://github.com/tmux-python/libtmux/pull/528
- @ssbarnea made their first contribution in https://github.com/tmux-python/libtmux/pull/531
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.31.0...v0.32.0
Download
v0.31.0post0 - Doc fixes
v0.31.0post0
Post-release Documentation Fixes
- Doc fixes to command examples
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.31.0...v0.31.0post0
Download
v0.31.0 - Command overhaul, renamings
v0.31.0
Cleanups (#527)
-
Streamline {Server,Session,Window,Pane}.cmd(), across all usages to:
- Use cmd: str as first positional
- Removed unused keyword arguments **kwargs
Renamings (#527)
- Session.attached_window renamed to Session.active_window()
- Session.attached_window deprecated
- Session.attached_pane renamed to Session.active_pane()
- Session.attached_pane deprecated
- Window.attached_pane renamed to Window.active_pane()
- Window.attached_pane deprecated
Improvements (#527)
Server.attached_windowsnow usersQueryList’s.filter()
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.30.2...v0.31.0
Download
v0.30.2: Bump `TMUX_MAX_VERSION`
v0.30.2
TMUX_MAX_VERSION: 3.3 -> 3.4
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.30.1...v0.30.2
Download
v0.30.1 - pytest plugin renamings
v0.30.1
- pytest plugin, test module: Update to renamed methods introduced in v0.30.0
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.30.0...v0.30.1
Download