{"id":27757,"library":"fyta-cli","title":"FYTA CLI Library","description":"Python library to access the FYTA API for plant monitoring. Current version 0.7.2, weekly release cadence.","status":"active","version":"0.7.2","language":"python","source_language":"en","source_url":"https://github.com/dontinelli/fyta_cli","tags":["fyta","plant-monitoring","api-wrapper","async"],"install":[{"cmd":"pip install fyta-cli","lang":"bash","label":"stable"}],"dependencies":[],"imports":[{"wrong":"from fyta_cli.fyta import Fyta","symbol":"Fyta","correct":"from fyta_cli import Fyta"}],"quickstart":{"code":"import asyncio\nfrom fyta_cli.fyta import Fyta\n\nasync def main():\n    fyta = Fyta(email='your_email@example.com', password='your_password')\n    await fyta.login()\n    plants = await fyta.get_all_plants()\n    print(plants)\n\nasyncio.run(main())","lang":"python","description":"Initialize Fyta with email and password, login, and fetch plant data."},"warnings":[{"fix":"Wrap code in async functions and use await on all Fyta methods.","message":"Version 0.7.x changed the login method from synchronous to asynchronous; all API calls now require async/await.","severity":"breaking","affected_versions":">=0.7.0"},{"fix":"Use `from fyta_cli.fyta import Fyta`.","message":"The package name on PyPI is 'fyta-cli' but the module import path is 'fyta_cli' (underscore).","severity":"gotcha","affected_versions":"all"},{"fix":"Store credentials in environment variables and load them into the Fyta constructor.","message":"Credentials handling: The library does not support environment variables natively; you must pass email and password directly or implement your own config.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.7.2':16 'access':7 'api':10,25 'api-wrapp':24 'async':27 'cadenc':19 'cli':2 'current':14 'fyta':1,9,20 'librari':3,5 'monitor':13,23 'plant':12,22 'plant-monitor':21 'python':4 'releas':18 'version':15 'week':17 'wrapper':26","created_at":"2026-05-09T05:51:55.710011+00:00","updated_at":"2026-05-09T05:51:55.710011+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'Fyta' from 'fyta_cli' (/tmp/tmpars9nmo1/venv/lib/python3.12/site-packages/fyta_cli/__init__.py)"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"fyta-cli","cli_version":"sh: 1: fyta-cli: not found","type":"library","homepage":null,"github":"https://github.com/dontinelli/fyta_cli","docs":null,"changelog":"https://github.com/dontinelli/fyta_cli/blob/master/CHANGELOG.md","pypi":"https://pypi.org/project/fyta-cli/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["communication","data"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}