SurePetcare API Client
About
Python client for interacting with the SurePetcare API:
https://app-api.beta.surehub.io/index.html?urls.primaryName=V1
Includes:
- Core async IO client (
surepcio) - CLI tool (
surepccli)
For Home Assistant integration see: https://github.com/FredrikM97/hass-surepetcare
CLI
This repo also support (to some extent) cli commands. The cli can be installed with uv sync --extra cli and is not included by default.
To see available commands use:
surepccli - -help
However, most functionality requires login therefore use the
surepccli account login <email>
It is possible to fetch available households with:
surepccli household
There is also support to store some properties in .env file. Check available properties to the household and device for more info.
Supported devices
- Hub
- Pet door
- Feeder Connect
- Dual Scan Connect
- Dual Scan Pet Door
- poseidon Connect
- No ID Dog Bowl Connect
Enjoy the integration?
Star ⭐ the repository to help others discover the integration.
Contributing
- Before pushing validate the changes with:
pre-commit run --all-files.. - Run
uv sync --all-extras --devto install development dependencies fromuv.lock. - Use
uv lockwhen dependency constraints change and commit the updateduv.lock. - Run tests with
uv run pytest testsand snapshot updates withuv run pytest --snapshot-update tests. - For a quick vulnerability check against the lockfile:
uv export --frozen --all-extras --format requirements-txt --no-hashes -o requirements.lock.txt && uv tool run --from pip-audit pip-audit -r requirements.lock.txt. - Start application and enable debug. The debug logs contain request data that can be provided with an issue and for snapshot testing.
Release files for py-surepetcare 0.6.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py_surepetcare-0.6.4.tar.gz | 29.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_surepetcare-0.6.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 74.5 kB
Release files / py_surepetcare-0.6.4.tar.gz
| Download URL | py_surepetcare-0.6.4.tar.gz |
|---|---|
| Size | 29.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
979727ae2820cc5905afb5a18632f9f3d3bdce6309e99e0dedd46d5fb41a0e5a
|
|
BLAKE2b-256 checksum How to use checksums |
61dd20bf20210c275acdcaa61e342f23b7d3a101cc8483c020f6ef3296a6e382
|
| 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 Aug 26, 2026.
Transparency logRelease files / py_surepetcare-0.6.4-py3-none-any.whl
| Download URL | py_surepetcare-0.6.4-py3-none-any.whl |
|---|---|
| Size | 44.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
40f611b6be97a67576890af3d7620e767c36dcb85f37ea15fc2be7d45d06be42
|
|
BLAKE2b-256 checksum How to use checksums |
2a119b075448057d74da346b2f0f8f87c279f4e9a98b682ca89ff05f255d1f7c
|
| 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 Aug 26, 2026.
Transparency log