Save and load tmux sessions thru JSON, YAML configs. Control tmux through Python objects.
Project description
tmuxp, a novel approach to manage tmux(1) (>= 1.8) workspaces through python objects, JSON or YAML.
How tmuxp helps you tmux:
Save your most common tmux session layouts in JSON or YAML. See a simple or very elaborate configuration.
Store layouts personally (~/.tmuxp) or include in your project, see ~/.tmuxp.{yaml,json}. See the author’s tmuxp configs and the the projects’ tmuxp.yaml.
Freeze the layout of live sessions.
Automate running such as sourcing into a virtualenv. The configuration also supports per window commands where all panes inherit commands. See Examples.
Run a bootstrapping script to check environment / install dependencies / setup project before loading starts so your development works across systems. See this projects bootstrap_env.py and before_script example.
Load tmux sessions in the background by passing -d flag.
Load multiple tmux configurations tmuxp load config1.yaml config2.yaml.
Switch sessions from inside a current tmux session. tmuxp will detect if you’re in a session and offer to switch-client for you.
Offer to re-attach a tmux session if your config is already loaded.
For more things you can do with tmuxp, see Examples.
CLI auto-completion with bash, zsh and tcsh.
Use as a python library, see the python API quickstart.
Well tested a gain against live tmux (1.8+ and git). See travis.yml, tmuxp on Travis CI and testing page.
Import configs teamocil and tmuxinator.
Thorough Documentation (also in 中文), Source, Commands, Internals.
and much, much more.
Ready to begin? See the Quickstart. Want to learn more about tmux itself? Read The Tao of Tmux.
Project details
tmux support |
1.8, 1.9a, 2.0, 2.1 |
python support |
2.6, 2.7, >= 3.3 |
config support |
yaml, json, python dict |
Source |
|
Docs |
|
API |
|
Changelog |
|
Issues |
|
Travis |
|
Test Coverage |
|
pypi |
|
Open Hub |
|
License |
BSD. |
git repo |
|
install stable |
|
install dev |
See the developing and testing page in the docs for more. |
tests |
|
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file tmuxp-0.11.0.tar.gz
.
File metadata
- Download URL: tmuxp-0.11.0.tar.gz
- Upload date:
- Size: 82.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82a4b79a7d7cadb1048ef368ca05224392299a0e492e42c433e93a35b8a95ae0 |
|
MD5 | feed222c5041301a2790f31ccd822e42 |
|
BLAKE2b-256 | 49fdb0bb79517953673ce3a4f1e65763c572b6a5f82e9d2ab60d32049aced8aa |