An open API service providing repository metadata for many open source software ecosystems.

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

Releases
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 a dict.

    • 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 argument

      Old:

      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 argument

      Old:

      window.show_window_options('DISPLAY')

      Now

      window.show_window_option('DISPLAY')

What’s new

Development

  • Fix incorrect function name findWhere() (#391)

PRs

Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.12.0...v0.13.0

over 3 years ago
Download
v0.13.0a1 - Typing tweaks, deprecate `retry()`

v0.13.0a1 Pre-release

What’s Changed

Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.13.0a0...v0.13.0a1

over 3 years ago
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 a dict.

    • 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 argument

      Old:

      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 argument

      Old:

      window.show_window_options('DISPLAY')

      Now

      window.show_window_option('DISPLAY')

What’s new

Development

  • Fix incorrect function name findWhere() (#391)

PRs

Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.12.0...v0.13.0a0

over 3 years ago
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

Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.11.0...v0.12.0

over 3 years ago
Download
v0.12.0a1

v0.12.0a1 Pre-release

What’s Changed

New Contributors

Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.11.0...v0.12.0a1

over 3 years ago
Download
v0.11.0

v0.11.0

What’s Changed

New Contributors

Full Changelog: https://github.com/tmux-python/libtmux/compare/v0.10.3...v0.11.0

over 3 years ago
Download
v0.10.1

v0.10.1

Update Window.select_window() for #271

about 4 years ago
Download
v0.10.0

v0.10.0

  • #321: Convert to markdown
  • #271: Fix select_window() by providing the session ID as argument to -t. Thanks @Flowdalic
  • Drop python 3.5 support
over 4 years ago
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.
over 4 years ago
Download