pypeek
: https://github.com/firatkiral/pypeek
# 为了不污染系统 Python 环境, 使用 pipx 安装,它会为应用创建一个独立的虚拟环境
sudo apt install pipx
# 换国内源,它与 pip 是一样的
nano ~/.config/pip/pip.conf
# 加入以下内容
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
trusted-host = pypi.tuna.tsinghua.edu.cn
# 安装 pypeek,安装位置 ~/.local/bin/pypeek
pipx install pypeek
# 将运行路径加入到 $PATH 中
export PATH=$HOME/.local/bin:$PATH
source ~/.bashrc