Skip to main content

Python library for SurePetcare API

Project description

SurePetcare API Client

PyPI version Python Version License Documentation Status PyPI Downloads

Build Status Code Coverage Open in Dev Containers

About

This repository provides a Python client for accessing the SurePetcare API.

It consist of io support (surepcio) and a cli (surepccli).

For home assistant support use the hass-surepetcare

Cli support

This repo also support (to some extent) cli commands. The cli is installed with pip install .[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

Contributing

Before pushing validate the changes with: pre-commit run --all-files.. Run pip install .[dev] to add dependencies for development. Start application and enable debug. The debug logs contain the request data which can be provided with a issue and for snapshot testing.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

py_surepetcare-0.5.12.tar.gz (25.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_surepetcare-0.5.12-py3-none-any.whl (39.7 kB view details)

Uploaded Python 3

File details

Details for the file py_surepetcare-0.5.12.tar.gz.

File metadata

  • Download URL: py_surepetcare-0.5.12.tar.gz
  • Upload date:
  • Size: 25.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for py_surepetcare-0.5.12.tar.gz
Algorithm Hash digest
SHA256 52924846b4a3d54ea1c57250aebae999b2c378a00fc60bc2cbc0263b15b02601
MD5 b88eec5fe97856caadf60ca7750d08bd
BLAKE2b-256 d82e9e984174c1501787df70f5c3309f34698b03e49a2537e41d2b97a6c213c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_surepetcare-0.5.12.tar.gz:

Publisher: release.yml on FredrikM97/py-surepetcare

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_surepetcare-0.5.12-py3-none-any.whl.

File metadata

File hashes

Hashes for py_surepetcare-0.5.12-py3-none-any.whl
Algorithm Hash digest
SHA256 60ce073bc0eeac306812dfeacbe3a1c27f3ed693f628c74c7b747d22cac3bb27
MD5 c5a2d3305824ade4475f78a4e2cf6a95
BLAKE2b-256 a095667f362efbcb37da549d98c5e6339761713518600383924b41d2d7ec4deb

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_surepetcare-0.5.12-py3-none-any.whl:

Publisher: release.yml on FredrikM97/py-surepetcare

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page