安裝 LibPttea

Python 版本

建議使用最新的 Python 版本,最低要求 Python ≥ 3.10

Dependency

LibPttea 目前依賴於以下套件,在安裝過程中將會自動安裝,細節可參考 pyproject.toml

  • AnsiParser is a convenient library for converting ANSI escape sequences into text or HTML.

  • websockets is a library for building WebSocket servers and clients in Python with a focus on correctness, simplicity, robustness, and performance.

安裝

你可以使用以下方式安裝 LibPttea。

建議使用 Python 套件管理器,來管理套件及虛擬環境。

Poetry (推薦)

poetry add libpttea

Pip

pip install libpttea