A Skybell Gen5 API Python library running on Python 3.
Project description
aioskybellgen
Asynchronous python communication driver for Skybell Cloud APIs
Installation
python3 -m pip install aioskybellgen
Example usage
More examples can be found in the tests directory.
"""Provide an example usage of aioskybellgen."""
# Sign on to Skybell API
async with Skybell(
username=USER_NAME, password=PASSWORD, get_devices=True
) as client:
# Update the user and session cache
await client.async_update_cache({CONST.ACCESS_TOKEN: ""})
# Get the initial set of devices without events and activities
devices = await client.async_initialize()
for device in devices:
# Update/refresh the activities and events
await device.async_update()
print(f"Device: {device.device_id}, Status: {device.status}")
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)
try:
loop.run_until_complete(async_example())
except KeyboardInterrupt:
pass
Contribute
All contributions are welcome!
- Fork the repository
- Clone the repository locally and open the devcontainer or use GitHub codespaces
- Do your changes
- Lint the files with
make lint - Ensure all tests passes with
make test - Ensure 100% coverage with
make coverage - Commit your work, and push it to GitHub
- Create a PR against the
developbranch
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
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 aioskybellgen-0.1.5.tar.gz.
File metadata
- Download URL: aioskybellgen-0.1.5.tar.gz
- Upload date:
- Size: 35.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
264b56e1610cf4f9958de847c31abb50aef40945d4adc35dd04a981111f03de1
|
|
| MD5 |
8d8c23b23f05c80923428591fbb40ad0
|
|
| BLAKE2b-256 |
5e29b1f48f26a5943e267011d39b832455d25fe3baa8eac7e2ebd47c20f78629
|
Provenance
The following attestation bundles were made for aioskybellgen-0.1.5.tar.gz:
Publisher:
python-publish.yml on tcareyintx/aioskybellgen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aioskybellgen-0.1.5.tar.gz -
Subject digest:
264b56e1610cf4f9958de847c31abb50aef40945d4adc35dd04a981111f03de1 - Sigstore transparency entry: 1297986402
- Sigstore integration time:
-
Permalink:
tcareyintx/aioskybellgen@036158dcc1b58520884c79afe09f2bf1ef6e4e1c -
Branch / Tag:
refs/tags/0.1.5 - Owner: https://github.com/tcareyintx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@036158dcc1b58520884c79afe09f2bf1ef6e4e1c -
Trigger Event:
release
-
Statement type:
File details
Details for the file aioskybellgen-0.1.5-py3-none-any.whl.
File metadata
- Download URL: aioskybellgen-0.1.5-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
860892e485b41cf89ae3b2dab526d4195e92dc20ffd08423294d4e9be500fe82
|
|
| MD5 |
b2dce8f123ea47c618169fae91219994
|
|
| BLAKE2b-256 |
c114fd3604831aae6499da862c4081442989c3f12abdca690fde1f3ad5d5a5f1
|
Provenance
The following attestation bundles were made for aioskybellgen-0.1.5-py3-none-any.whl:
Publisher:
python-publish.yml on tcareyintx/aioskybellgen
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aioskybellgen-0.1.5-py3-none-any.whl -
Subject digest:
860892e485b41cf89ae3b2dab526d4195e92dc20ffd08423294d4e9be500fe82 - Sigstore transparency entry: 1297986502
- Sigstore integration time:
-
Permalink:
tcareyintx/aioskybellgen@036158dcc1b58520884c79afe09f2bf1ef6e4e1c -
Branch / Tag:
refs/tags/0.1.5 - Owner: https://github.com/tcareyintx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@036158dcc1b58520884c79afe09f2bf1ef6e4e1c -
Trigger Event:
release
-
Statement type: