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.15.0 - internal overhauling and tooling
v0.15.0
Internal refactorings
New features
- Added a pytest plugin, #411.
Breaking changes
-
Remove
common.which()in favor ofshutil.which(), Credit: @rocksandska, via #407 -
Fixes #402:
common.tmux_cmd()will only strip trailing empty lines. Before this change, all empty lines were filtered out. This will lead to a more accurate behavior when usingPane.capture_pane(). Credit: @rockandska, via #405. -
Source files for
libtmuxmodules moved tosrc/, via #414.
Development
-
Add flake8-bugbear (#408)
-
Add flake8-comprehensions (#409)
Tests
- Test doctests in documentation via pytest-doctest-docutils (#410)
Documentation
-
Move to sphinx-autoissues, #406
-
Examples updated for correctness, #412 (cherry-picked from #410)
-
Render changelog in linkify_issues (#410)
-
Fix Table of contents rendering with sphinx autodoc with sphinx_toctree_autodoc_fix (#410)
Autogenerated
- fix(tmux_cmd): remove only trailing new lines in stdout by @rockandska in https://github.com/tmux-python/libtmux/pull/405
- fix(tmux_cmd): use shutil.which and only PATH to discover tmux by @rockandska in https://github.com/tmux-python/libtmux/pull/407
- build(deps): Add flake8-bugbear by @tony in https://github.com/tmux-python/libtmux/pull/408
- build(deps): Add flake8-comprehensions by @tony in https://github.com/tmux-python/libtmux/pull/409
- docs: Update doctests by @tony in https://github.com/tmux-python/libtmux/pull/412
pytestplugin by @tony in https://github.com/tmux-python/libtmux/pull/411- Add
gp-libs: Test docs via doctest, table of contents forsphinx.ext.autodoc, change issues module by @tony in https://github.com/tmux-python/libtmux/pull/410 - Move to src/ layout by @tony in https://github.com/tmux-python/libtmux/pull/414
New Contributors
- @rockandska made their first contribution in https://github.com/tmux-python/libtmux/pull/405
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.14.2...v0.15.0
Download
v0.15.0a4: Move to /src layout
v0.15.0a4 Pre-release
We moved to src/ layout in #414
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.15.0a3...v0.15.0a4
Download
v0.15.0a3 - documentation improvements
v0.15.0a3 Pre-release
What’s Changed
gp-libs is now used for sphinx plugins
Documentation
-
Render changelog in linkify_issues (#410)
-
Fix Table of contents rendering with sphinx autodoc with sphinx_toctree_autodoc_fix (#410)
Tests
- Test
doctestsin documentation via pytest-doctest-docutils (#410)
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.15.0a2...v0.15.0a3
Download
v0.15.0a2 - pytest plugin, flake8 checks
v0.15.0a2 Pre-release
What’s new
pytestplugin #411
Linting
- build(deps): Add flake8-comprehensions, #409
- build(deps): Add flake8-bugbear, #408
Documentation
- docs: Update doctests, #412
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.15.0a1...v0.15.0a2
Download
v0.15.0a1 - Move to `shutil.which()`
v0.15.0a1 Pre-release
Breaking change
- fix(tmux_cmd): use
shutil.whichand onlyPATHto discover tmux by @rockandska in https://github.com/tmux-python/libtmux/pull/407
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.15.0a0...v0.15.0a1
Download
v0.15.0a0 - Fix for new lines `tmux_cmd`
v0.15.0a0 Pre-release
Breaking changes
- fix(tmux_cmd): remove only trailing new lines in stdout by @rockandska in #405
Docs
- docs: Move to sphinx-autoissues by @tony in #406
New Contributors
- @rockandska made their first contribution in https://github.com/tmux-python/libtmux/pull/405
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.14.2...v0.15.0a0
Download
v0.14.2 - Server.new_session w/o session name fix
v0.14.2
What’s Changed
- fix(
Server.session_name): Handle empty session names better by @tony in #401, follow up to #400, for #399
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.14.1...v0.14.2
Download
v0.14.1 - `Server.session_name` tweak
v0.14.1
-
Fix:
Server.new_session: Create session w/o name by @tony in #400, for #399Note this isn’t really fixed until v0.14.2 since it still uses
Nonee.g.new-session -sNone
Other
- ci(setup-python): Use v3/v4’s caching method by @tony in https://github.com/tmux-python/libtmux/pull/398
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.14.0...v0.14.1
Download
v0.14.0 - doctests, `Pane.send_keys()` change
v0.14.0
Breaking changes
- [
Pane.send_keys()](https://libtmux.git-pull.com/reference/panes.html#libtmux.Pane.send_keys):suppress_historydefault value changed fromTruetoFalse, #395
Tests and docs
-
Fix bug in
temp_window()context manager, #394 -
Pytest configuration conftest.py moved to libtmux/conftest.py, so doctest can detect the fixtures #394
Automated PRs
- Basic doctest by @tony in https://github.com/tmux-python/libtmux/pull/394
- refactor!(
Pane.send_keys): Defaultsuppress_historyvalue toFalseby @tony in https://github.com/tmux-python/libtmux/pull/395
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.13.0...v0.14.0
Download
v0.14.0a1 - `Pane.send_keys` - history suppression off by default
v0.14.0a1 Pre-release
What’s Changed
- refactor!(
Pane.send_keys): Defaultsuppress_historyvalue toFalseby @tony in #395
Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.14.0a0...v0.14.0a1
Download