Installing terrapi outside of terrabyte
You can install terrapi on desktop or server outside of terrabyte. This requires Python 3.10 or higher versions to run.
Installing terrapi via pip
Checkout your required version from terrapi
pip install git+https://github.com/DLR-terrabyte/terrapi.git@latest-release
Afterwards, the terrapi cli command interface is available in your python environment (see usage)
Activate shell autocomplete
If you are using the bash, fish, or zsh shell, you can activate bash autocomplete of the terrapi cli by running one of the following commands (or adding it to your shell startup file or env postactivate file to activate by default).
bash (add to ~/.bashrc) :
eval "$(_TERRAPI_COMPLETE=bash_source terrapi)"
zsh (add to ~/.zshrc):
eval "$(_TERRAPI_COMPLETE=zsh_source terrapi)"
fish (add to ~/.config/fish/completions/terrapi.fish)
_TERRAPI_COMPLETE=zsh_source terrapi > ~/.config/fish/completions/terrapi.fish