Petkitaio

Latest version: v0.1.11.3

Safety actively analyzes 682416 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.1.11.3

<a href="https://www.buymeacoffee.com/RobertD502" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="100" width="250"></a>
<a href="https://liberapay.com/RobertD502/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg" height="75" width="150"></a>

**If you enjoy this library, consider donating by clicking on one the supported methods above.**

Changes
* Fixed BLE poll tracking when multiple water fountains on account
* Added debug messaging during device discovery
* Added `125` region error code

0.1.11.2

<a href="https://www.buymeacoffee.com/RobertD502" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="100" width="250"></a>
<a href="https://liberapay.com/RobertD502/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg" height="75" width="150"></a>

**If you enjoy this library, consider donating by clicking on one the supported methods above.**

Changes
* Update API endpoints to reflect changes made by PetKit
* Parse all group IDs (PetKit Family groups) and use IDs to obtain all devices associated with account
* Store last BLE poll for water fountains on a per-device basis instead of universally
* Raise exception if control of water fountain is attempted when no valid PetKit BLE relay is present

0.1.10

<a href="https://www.buymeacoffee.com/RobertD502" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="100" width="250"></a>
<a href="https://liberapay.com/RobertD502/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg" height="75" width="150"></a>

**If you enjoy this library, consider donating by clicking on one the supported methods above.**

Changes
- `Added optional timezone argument to PetKitClient`: On some systems, tzlocal fails to find a timezone if the system's timezone is not in the list of timezones provided by the tzlocal library. The optional timezone argument now allows users to specify the timezone to use and bypasses tzlocal. If no timezone is provided, tzlocal is used to fetch the system's timezone.

0.1.9

<a href="https://www.buymeacoffee.com/RobertD502" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="100" width="250"></a>
<a href="https://liberapay.com/RobertD502/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg" height="75" width="150"></a>

**If you enjoy this library, consider donating by clicking on one the supported methods above.**

Changes
- `Added TimezoneError exception`: If tzlocal fails to find the TZ environmental variable on the host OS, the TimezoneError exception will now be raised.

0.1.8

<a href="https://www.buymeacoffee.com/RobertD502" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="100" width="250"></a>
<a href="https://liberapay.com/RobertD502/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg" height="75" width="150"></a>

**If you enjoy this library, consider donating by clicking on one the supported methods above.**

Breaking Change
`region` requirement added: PetKit has started to determine the base_url based on the country an account is from (a new base URL has been added for EU users). As a result, the `china_account` and `asia_account` parameters have been deprecated. Instead the PetKit client now has a `region` parameter. Please see the documentation for all available regions and example usage.

0.1.7

<a href="https://www.buymeacoffee.com/RobertD502" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" height="100" width="250"></a>
<a href="https://liberapay.com/RobertD502/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg" height="75" width="150"></a>

**If you enjoy this library, consider donating by clicking on one the supported methods above.**

New Features

- `Added support for PetKit China accounts`: PetKit China accounts, that use a number for the username, are now supported by setting the client's `china_account` parameter to `True`.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.