Registry / communication / fyta-cli

fyta-cli

JSON →
library0.7.2pypypiunverified

Python library to access the FYTA API for plant monitoring. Current version 0.7.2, weekly release cadence.

pip install fyta-cli
INSTALL
IMPORT
SIG · FYTA-CLI
F
fyta-cli
communicationpythonv0.7.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Fyta
✓ from fyta_cli import Fyta
✗ from fyta_cli.fyta import Fyta

Initialize Fyta with email and password, login, and fetch plant data.

import asyncio from fyta_cli.fyta import Fyta async def main(): fyta = Fyta(email='your_email@example.com', password='your_password') await fyta.login() plants = await fyta.get_all_plants() print(plants) asyncio.run(main())
fyta-cli --version
Debug
Known issues
breakingVersion 0.7.x changed the login method from synchronous to asynchronous; all API calls now require async/await.
fix
Wrap code in async functions and use await on all Fyta methods.
affects: >=0.7.0
gotchaThe package name on PyPI is 'fyta-cli' but the module import path is 'fyta_cli' (underscore).
fix
Use `from fyta_cli.fyta import Fyta`.
affects: all
gotchaCredentials handling: The library does not support environment variables natively; you must pass email and password directly or implement your own config.
fix
Store credentials in environment variables and load them into the Fyta constructor.
affects: all
Upgrade
Version history
0.7.2latest on PyPI · released Mar 19, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
32
Amazon
1
OpenAI (training)
1
Resources
fyta-cli — pip install fyta-cli · libregistry