Skip to main content

SurePetcare API Client

PyPI Version Python Version Docs

Tests Coverage Downloads License Dev Container


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.

Sponsor FredrikM97 Static Badge

Contributing

  1. Before pushing validate the changes with: pre-commit run --all-files..
  2. Run uv sync --all-extras --dev to install development dependencies from uv.lock.
  3. Use uv lock when dependency constraints change and commit the updated uv.lock.
  4. Run tests with uv run pytest tests and snapshot updates with uv run pytest --snapshot-update tests.
  5. 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.
  6. 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)

Source distribution for py-surepetcare 0.6.4
File Size Uploaded
py_surepetcare-0.6.4.tar.gz 29.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for py-surepetcare 0.6.4
File Interpreter ABI Platform
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 log

Release 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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page