-
-
Notifications
You must be signed in to change notification settings - Fork 73
pip
Kathará is also available as a Python package on PyPI.
You can install it using pip following this guide.
In this way you will be able to use Kathará as a Python module, both running standard CLI commands both importing it as a library directly in your Python projects.
By default, Kathará depends on Docker, but can also leverage on Kubernetes, using Megalos.
- To install Docker, you can follow this guide.
- (suggested - Linux only) Install xterm terminal emulator (usually
sudo apt install xtermorsudo yum install xtermorsudo pacman -S xterm), that is used by default.
To avoid conflicts with system-wide Python dependencies, it’s recommended to create and use a virtual environment.
python3 -m venv kathara-envNOTE: The Python version MUST be >=3.11.
Then, activate the virtual environment:
On Linux/macOS:
source kathara-env/bin/activateOn Windows
kathara-env\Scripts\activateNOTE: After the installation, you need to activate the virtual environment every time you open a new terminal to use Kathará.
You can install Kathará as a Python module directly from pip.
-
Install
pyuv, a required dependency of Kathará:- (Windows) Ensure you have Git and Microsoft C++ build tools installed
- (Linux) Ensure you have Git and GCC installed
- (macOS) Ensure you have Git and Xcode installed
- Run:
python3 -m pip install git+https://github.com/saghul/pyuv@master#egg=pyuv
-
If you are planning to use Kathará with TMUX, also install the libtmux dependency:
python3 -m pip install libtmux
-
Install Kathará:
python3 -m pip install kathara
-
(Linux) On some distros you may need to fix execute permissions on the Kathará script:
chmod +x kathara-env/lib/<python3.x>/site-packages/kathara.py
-
Check the installation:
python3 -m pip kathara check
Website: kathara.org
Contact us: [email protected]