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: 4 days ago
Pushed at: 3 days ago
Last synced at: 3 days 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.14.0a0 - Basic doctests
v0.14.0a0 Pre-release
What’s Changed
- Basic doctest by @tony in https://github.com/tmux-python/libtmux/pull/394
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.13.0...v0.14.0a0
Download
v0.13.0 - Type annotations
v0.13.0
Breaking changes
-
Deprecated individual item lookups (#390)
-
Removed key lookups from
libtmux.common.EnvironmentMixin.show_environment()Only
EnvironmentMixin.show_environment()(without an argument) exists, and it still returns adict. -
Add key lookups via
libtmux.common.EnvironmentMixin.getenv()Before:
server.show_environment('DISPLAY')After:
server.getenv('DISPLAY')Before:
session.show_environment('DISPLAY')After:
session.getenv('DISPLAY') -
Removed key lookups from
Session.show_options()session.show_options() # still returns dict, without an argumentOld:
session.show_options('DISPLAY')Now:
session.show_option('DISPLAY') -
Removed key lookups from
Window.show_window_options()window.show_window_options() # still returns dict, without an argumentOld:
window.show_window_options('DISPLAY')Now
window.show_window_option('DISPLAY')
-
What’s new
-
Improved typings
Now
mypy --strictcompliant (#383)
Development
- Fix incorrect function name
findWhere()(#391)
PRs
- fix(temp_window):
findWhere->find_whereby @tony in https://github.com/tmux-python/libtmux/pull/391 - API Changes - Simplify
EnvironmentMixinby @tony in https://github.com/tmux-python/libtmux/pull/390 - Mypy: Strict annotations by @tony in https://github.com/tmux-python/libtmux/pull/383
- chore!(test): Remove retry(), deprecated in 0.13 by @tony in https://github.com/tmux-python/libtmux/pull/393
- More typing improvements by @tony in https://github.com/tmux-python/libtmux/pull/392
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.12.0...v0.13.0
Download
v0.13.0a1 - Typing tweaks, deprecate `retry()`
v0.13.0a1 Pre-release
What’s Changed
- chore!(test): Remove
libtmux.test.retry(), deprecated in 0.13 by @tony in https://github.com/tmux-python/libtmux/pull/393 - More typing improvements by @tony in https://github.com/tmux-python/libtmux/pull/392
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.13.0a0...v0.13.0a1
Download
v0.13.0a0 - Strict mypy typings
v0.13.0a0 Pre-release
Breaking changes
-
Deprecated individual item lookups (#390)
-
Removed key lookups from
libtmux.common.EnvironmentMixin.show_environment()Only
EnvironmentMixin.show_environment()(without an argument) exists, and it still returns adict. -
Add key lookups via
libtmux.common.EnvironmentMixin.getenv()Before:
server.show_environment('DISPLAY')After:
server.getenv('DISPLAY')Before:
session.show_environment('DISPLAY')After:
session.getenv('DISPLAY') -
Removed key lookups from
Session.show_options()session.show_options() # still returns dict, without an argumentOld:
session.show_options('DISPLAY')Now:
session.show_option('DISPLAY') -
Removed key lookups from
Window.show_window_options()window.show_window_options() # still returns dict, without an argumentOld:
window.show_window_options('DISPLAY')Now
window.show_window_option('DISPLAY')
-
What’s new
-
Improved typings
Now
mypy --strictcompliant (#383)
Development
- Fix incorrect function name
findWhere()(#391)
PRs
- fix(temp_window):
findWhere->find_whereby @tony in https://github.com/tmux-python/libtmux/pull/391 - API Changes - Simplify
EnvironmentMixinby @tony in https://github.com/tmux-python/libtmux/pull/390 - Mypy: Strict annotations by @tony in https://github.com/tmux-python/libtmux/pull/383
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.12.0...v0.13.0a0
Download
v0.12.0 - Internal cleanups, doc, basic typings
v0.12.0
v0.13.0 (or v0.14.0) will be the one that’s fully typed
What’s Changed
Compatibility
- Update
TMUX_MAX_VERSION, add 3.3a to CI #387
Testing
- Modify
retry()to take a callable and enforce the timeout by @categulario in #372
Typings
- mypy annotations #382
- Core relational typings:
Server,Session,Window,Pane#385
Chores
- Import tweaks #384
- docs: sphinx-autoapi #367
New Contributors
- @categulario made their first contribution in https://github.com/tmux-python/libtmux/pull/372
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.11.0...v0.12.0
Download
v0.12.0a1
v0.12.0a1 Pre-release
What’s Changed
- Drop python 3.7 and 3.8 by @tony in https://github.com/tmux-python/libtmux/pull/363
- sphinx-autoapi by @tony in https://github.com/tmux-python/libtmux/pull/367
- Modify retry() to take a callable and enforce the timeout by @categulario in https://github.com/tmux-python/libtmux/pull/372
- Revert “compat!: Drop python 3.7 and 3.8 (#363)” by @tony in https://github.com/tmux-python/libtmux/pull/375
New Contributors
- @categulario made their first contribution in https://github.com/tmux-python/libtmux/pull/372
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.11.0...v0.12.0a1
Download
v0.11.0
v0.11.0
What’s Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/tmux-python/libtmux/pull/353
- split on a special wildcard instead of tab by @JonathanRaiman in https://github.com/tmux-python/libtmux/pull/298
- Fix format seperator by @jagguli in https://github.com/tmux-python/libtmux/pull/343
- Black: Format w/ string normalization by @tony in https://github.com/tmux-python/libtmux/pull/354
- pyupgrade @ 3.7 by @tony in https://github.com/tmux-python/libtmux/pull/357
- Create codeql-analysis.yml by @tony in https://github.com/tmux-python/libtmux/pull/356
- Adding unobtrusive type hinting by @otherJL0 in https://github.com/tmux-python/libtmux/pull/359
- Adding type hints to class methods returning self and child by @otherJL0 in https://github.com/tmux-python/libtmux/pull/361
- Refactor: Cleaning up by @otherJL0 in https://github.com/tmux-python/libtmux/pull/362
New Contributors
- @JonathanRaiman made their first contribution in https://github.com/tmux-python/libtmux/pull/298
- @jagguli made their first contribution in https://github.com/tmux-python/libtmux/pull/343
- @otherJL0 made their first contribution in https://github.com/tmux-python/libtmux/pull/359
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.10.3...v0.11.0
Download
v0.8.5
v0.8.5
- #297: Enchance subprocess interaction std[in|out|err]. Needed for interact with big buffer, fixes :issue:
251, thank you @gil-obradors! - #303: Add common.get_libtmux_version which gives the tmux version as a loose constraint. Fix linking to terms inside docs, and duplicate description of module which sphinx warned about in api.rst.
- #266: Fix issue on local tests where env variables would cause show-environment to pause tests indefinitely.
Download