Skip to main content

A tmux parameterizer

Project description

zmux

PyPI Changelog Tests License

A tmux parameterizer

Zmux provides a simple way to parameterize commands across several tmux panes. A simple example:

$ zmux launch "ls {directory}"
Supply up to 6 values for directory: ., zmux

💅 Creating tmux layout

🚀 Sending command to pane 1/2
🚀 Sending command to pane 2/2
% ls .
LICENSE         setup.py        zmux
README.md       tests           zmux.egg-info

______________________________________________________

% ls zmux
__init__.py     __main__.py     __pycache__     cli.py

Installation

Installation using pipx is recommended:

pipx install zmux

Or using pip:

pip install zmux

Usage

For help, run:

zmux --help

You can also use:

python -m zmux --help

Development

To contribute to this tool, first checkout the code. Then create a new virtual environment:

cd zmux
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zmux-0.1.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distribution

zmux-0.1-py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page