"This package can be used to control the Baby Brezza's Formula Pro Advanced WiFi."
Project description
pybabyfpa
This package can be used to control Baby Brezza's Formula Pro Advanced WiFi.
NOTE: This is an unofficial community project which is not affiliated with Baby Brezza.
Sample Usage
import asyncio
from pybabyfpa import Fpa
async def main():
fpa = Fpa()
await fpa.login("email@example.com", "password")
# await fpa.refresh(refresh_token_from_previous_session)
# Basic user information
print(f"Name: {fpa.first_name} {fpa.last_name}")
print(f"Email: {fpa.email}")
for device in fpa.devices:
print(f"Device: {device.device_id} '{device.title}'")
# Device information
details = await fpa.get_device_details(fpa.devices[0].device_id)
for bottle in details.bottles:
print(f"Bottle {bottle.id}: '{bottle.title}' {bottle.volume}{bottle.volume_unit} of {bottle.formula}")
# Start a bottle
await fpa.start_bottle(details.bottles[0].id)
await fpa.close()
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
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 pybabyfpa-0.0.7.tar.gz.
File metadata
- Download URL: pybabyfpa-0.0.7.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7189259895b27a1caa0909ccffc7645807ef0d5c2ba8c6c040b53aa3b6914c7
|
|
| MD5 |
5686dbbf5ea4e60ac9d544bfb0aabc5c
|
|
| BLAKE2b-256 |
74a79becc694501e0dffff35594e05b29d0d66d88081f2fe991b605ce4b79c76
|
Provenance
The following attestation bundles were made for pybabyfpa-0.0.7.tar.gz:
Publisher:
publish.yaml on joncar/pybabyfpa
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pybabyfpa-0.0.7.tar.gz -
Subject digest:
c7189259895b27a1caa0909ccffc7645807ef0d5c2ba8c6c040b53aa3b6914c7 - Sigstore transparency entry: 178281779
- Sigstore integration time:
-
Permalink:
joncar/pybabyfpa@8f91cdbc38025d753dcd437f15fedeea5c63253a -
Branch / Tag:
refs/tags/v0.0.7 - Owner: https://github.com/joncar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@8f91cdbc38025d753dcd437f15fedeea5c63253a -
Trigger Event:
push
-
Statement type:
File details
Details for the file pybabyfpa-0.0.7-py3-none-any.whl.
File metadata
- Download URL: pybabyfpa-0.0.7-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54a1aef1cbd47f61fa12cc0833c8f47d7548da7e19dcaa8790db3b9102c10c44
|
|
| MD5 |
adfed350c959ae95b29ffe7494dd3d93
|
|
| BLAKE2b-256 |
76c711f1bedf957923c6113f4223a7c24817f3b45a881df4750d91a90b520f3e
|
Provenance
The following attestation bundles were made for pybabyfpa-0.0.7-py3-none-any.whl:
Publisher:
publish.yaml on joncar/pybabyfpa
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pybabyfpa-0.0.7-py3-none-any.whl -
Subject digest:
54a1aef1cbd47f61fa12cc0833c8f47d7548da7e19dcaa8790db3b9102c10c44 - Sigstore transparency entry: 178281782
- Sigstore integration time:
-
Permalink:
joncar/pybabyfpa@8f91cdbc38025d753dcd437f15fedeea5c63253a -
Branch / Tag:
refs/tags/v0.0.7 - Owner: https://github.com/joncar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@8f91cdbc38025d753dcd437f15fedeea5c63253a -
Trigger Event:
push
-
Statement type: