Python library for SurePetcare API
Project description
SurePetcare API Client
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52924846b4a3d54ea1c57250aebae999b2c378a00fc60bc2cbc0263b15b02601
|
|
| MD5 |
b88eec5fe97856caadf60ca7750d08bd
|
|
| BLAKE2b-256 |
d82e9e984174c1501787df70f5c3309f34698b03e49a2537e41d2b97a6c213c9
|
Provenance
The following attestation bundles were made for py_surepetcare-0.5.12.tar.gz:
Publisher:
release.yml on FredrikM97/py-surepetcare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
py_surepetcare-0.5.12.tar.gz -
Subject digest:
52924846b4a3d54ea1c57250aebae999b2c378a00fc60bc2cbc0263b15b02601 - Sigstore transparency entry: 1006524692
- Sigstore integration time:
-
Permalink:
FredrikM97/py-surepetcare@4766fddedf666d4a8b8e6242ca4bd55da06e9015 -
Branch / Tag:
refs/tags/v0.5.12 - Owner: https://github.com/FredrikM97
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4766fddedf666d4a8b8e6242ca4bd55da06e9015 -
Trigger Event:
release
-
Statement type:
File details
Details for the file py_surepetcare-0.5.12-py3-none-any.whl.
File metadata
- Download URL: py_surepetcare-0.5.12-py3-none-any.whl
- Upload date:
- Size: 39.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60ce073bc0eeac306812dfeacbe3a1c27f3ed693f628c74c7b747d22cac3bb27
|
|
| MD5 |
c5a2d3305824ade4475f78a4e2cf6a95
|
|
| BLAKE2b-256 |
a095667f362efbcb37da549d98c5e6339761713518600383924b41d2d7ec4deb
|
Provenance
The following attestation bundles were made for py_surepetcare-0.5.12-py3-none-any.whl:
Publisher:
release.yml on FredrikM97/py-surepetcare
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
py_surepetcare-0.5.12-py3-none-any.whl -
Subject digest:
60ce073bc0eeac306812dfeacbe3a1c27f3ed693f628c74c7b747d22cac3bb27 - Sigstore transparency entry: 1006524697
- Sigstore integration time:
-
Permalink:
FredrikM97/py-surepetcare@4766fddedf666d4a8b8e6242ca4bd55da06e9015 -
Branch / Tag:
refs/tags/v0.5.12 - Owner: https://github.com/FredrikM97
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@4766fddedf666d4a8b8e6242ca4bd55da06e9015 -
Trigger Event:
release
-
Statement type: