Skip to main content

kmux

A tmux launcher for Kubernetes that creates one pane per pod, sets the env variables POD, KUBE_CONTEXT, and KUBE_NAMESPACE and runs the commands in the given input file in every pane.

Dependencies

  • Python3.8+

  • smux

  • tmux (any version)

Installation

Run the following command:

pip3 install kmux.py

Usage

  1. Create a new file, either from scratch or by copying Sample.kmux.

  2. Type in the commands that you want to run, likely dependent on the selected POD.:

    ---------
    command1
    command2
    command3

Note that a pane does not necessary need to run any commands.

  1. Run kmux.py <input_file_name>. By default, this will run the commands in the input file against all pods in the current Kubernetes context. You may also specify a target context with the command line option --kube_context. It will exhibit undefined behavior if there is no current context and no context has been specified.

Metadata

Release files for kmux.py 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kmux.py 0.2.1
File Size Uploaded Provenance Actions
kmux.py-0.2.1.tar.gz 6.2 kB Without provenance Details for kmux.py-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kmux.py 0.2.1
File Interpreter ABI Platform Actions
kmux.py-0.2.1-py3-none-any.whl Python 3 none any Details for kmux.py-0.2.1-py3-none-any.whl

Total release size: 13.0 kB

Release files / kmux.py-0.2.1.tar.gz

Download URL kmux.py-0.2.1.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b8ad597af9d77f1aae284fd699b2f0bf149e12310fd02d9fe83961f03b1010b4
BLAKE2b-256 checksum
How to use checksums
b21800456c4b61d247150437d2bdf60f42dc9b4861d18e982449e226eb82da38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.10

Release files / kmux.py-0.2.1-py3-none-any.whl

Download URL kmux.py-0.2.1-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
485d96ffcc63f2309a211d237d37b7180f1cc6b1b71f52ebf29d3e79dc62e18c
BLAKE2b-256 checksum
How to use checksums
afddc34331f45b7eb3cb3d73b85783dafe95d46ac7c80d9216c48e5e1b2bae0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.8.10

Security for kmux.py 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page