personalclaw-client
An async Python client for the PersonalClaw Gateway.
personalclaw-client is the small, dependency-light library that apps and
external tools use to talk to a running PersonalClaw gateway — send messages,
read status, resolve an app's data directory — without vendoring the core
package. It is a package of its own, released with the gateway and at the
gateway's version: every release bumps both, whether or not the client changed,
so personalclaw-client X.Y.Z is the client that shipped with gateway X.Y.Z.
Install
pip install personalclaw-client
# or
uv pip install personalclaw-client
Usage
import os
from personalclaw_client import PersonalClawClient
# The owner token: the value after `?token=` in the link `personalclaw token` prints.
async with PersonalClawClient(token=os.environ["PERSONALCLAW_TOKEN"]) as pc:
ok = await pc.ping()
status = await pc.get_status()
await pc.create_session("session-1")
await pc.send_message("session-1", "hello")
The client sends the token as Authorization: Bearer.
Errors
Client calls raise PersonalClawError (with a machine-readable ErrorCode) on
gateway/transport failures — catch it to distinguish "gateway unreachable" from
"bad request".
Links
- Homepage: https://personalclaw.dev
- Source & issues: https://github.com/PersonalClaw/PersonalClaw
- License: MIT
Metadata
Release files for personalclaw-client 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| personalclaw_client-0.3.0.tar.gz | 12.3 kB | With provenance | Details for personalclaw_client-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| personalclaw_client-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for personalclaw_client-0.3.0-py3-none-any.whl |
Total release size: 21.3 kB
Release files / personalclaw_client-0.3.0.tar.gz
| Download URL | personalclaw_client-0.3.0.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1480bb2aace2f68ed0cb1d795e1bfe42c92e5c923a3a211d11de0f63e76cd921
|
|
BLAKE2b-256 checksum How to use checksums |
15499be90dad525a45950d7e14d0440b9d153a17d43819c98db17093a3ec79e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logRelease files / personalclaw_client-0.3.0-py3-none-any.whl
| Download URL | personalclaw_client-0.3.0-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2c2a1bc74a1187222646cc30d5ab53ff23a29399cea271fd9d514fbc00707636
|
|
BLAKE2b-256 checksum How to use checksums |
ed838792a5bdea74f25be9c20834a80d07d97a4844b3f197bf6a2deac1ed8e43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logSecurity for personalclaw-client 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for personalclaw_client-0.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 26, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.