{"id":27116,"library":"llamaindex-py-client","title":"LlamaIndex Python Client","description":"Official Python client for LlamaIndex cloud API, version 0.1.19. Provides easy access to LlamaCloud services like indexing, querying, and managing documents. Released as needed.","status":"active","version":"0.1.19","language":"python","source_language":"en","source_url":"https://github.com/run-llama/llamaindex-py-client","tags":["llamaindex","client","cloud","python"],"install":[{"cmd":"pip install llamaindex-py-client","lang":"bash","label":"Install"}],"dependencies":[],"imports":[{"note":"The correct package name is 'llama_index_cloud' not 'llamaindex_py_client'.","wrong":"from llamaindex_py_client import LlamaCloudIndex","symbol":"LlamaCloudIndex","correct":"from llama_index_cloud import LlamaCloudIndex"}],"quickstart":{"code":"import os\nfrom llama_index_cloud import LlamaCloudIndex\n\napi_key = os.environ.get('LLAMA_CLOUD_API_KEY', '')\nindex = LlamaCloudIndex(\n    name=\"my_index\",\n    project_name=\"my_project\",\n    api_key=api_key\n)\nprint(index.name)","lang":"python","description":"Initialize a cloud index with API key from environment."},"warnings":[{"fix":"Replace imports from 'llamaindex_py_client' with 'llama_index_cloud'.","message":"The module 'llamaindex_py_client' is deprecated. Use 'llama_index_cloud' instead.","severity":"deprecated","affected_versions":">=0.1.0"},{"fix":"Update to v0.1.0+ and adjust code accordingly.","message":"Breaking change: API endpoints and response formats changed in v0.1.0.","severity":"breaking","affected_versions":"<0.1.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Use 'from llama_index_cloud import ...' instead of 'from llamaindex_py_client import ...'.","cause":"The package installs as 'llama_index_cloud', not 'llamaindex_py_client'.","error":"ModuleNotFoundError: No module named 'llamaindex_py_client'"},{"fix":"Check docs: import from 'llama_index_cloud' directly for classes.","cause":"Outdated version or wrong import path. LlamaCloudIndex may be in submodule.","error":"AttributeError: module 'llama_index_cloud' has no attribute 'LlamaCloudIndex'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}