Install directly from GitHub:
pip install git+https://github.com/msgmate-io/open-chat-go-python-client.gitInstall locally (from this monorepo root):
python3 -m venv .venv
source .venv/bin/activate
pip install -e ./clients/oc_python_clientRun the CLI:
oc_client --host http://localhost:1984 --username admin --password password --message "hi"
# or authenticate with an API token
oc_client --host http://localhost:1984 --api-token ocat_xxx --message "hi"Use the integration test script in this repository:
python development/scripts/test_client.py