{"id":26838,"library":"cloudsearch","title":"cloudsearch","description":"A Python SDK for Amazon CloudSearch. Provides a simple interface to search, upload, and manage documents in an AWS CloudSearch domain. Version 0.0.12, with no recent release.","status":"active","version":"0.0.12","language":"python","source_language":"en","source_url":"https://github.com/thanakijwanavit/cloudsearch/tree/master/","tags":["aws","cloudsearch","search","sdk"],"install":[{"cmd":"pip install cloudsearch","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Direct import 'import cloudsearch' does not bring CloudSearch class into namespace; must use from-import.","wrong":"import cloudsearch","symbol":"CloudSearch","correct":"from cloudsearch import CloudSearch"}],"quickstart":{"code":"import os\nfrom cloudsearch import CloudSearch\n\nclient = CloudSearch(\n    domain_name=os.environ.get('CLOUDSEARCH_DOMAIN', 'example-domain'),\n    region=os.environ.get('CLOUDSEARCH_REGION', 'us-east-1'),\n    access_key_id=os.environ.get('AWS_ACCESS_KEY_ID', ''),\n    secret_access_key=os.environ.get('AWS_SECRET_ACCESS_KEY', '')\n)\nresult = client.search(q='test')\nprint(result)","lang":"python","description":"Initialize CloudSearch client and perform a basic search."},"warnings":[{"fix":"Use boto3 directly for role-based auth, or implement your own credential chain.","message":"The library does not support IAM roles or STS tokens directly; you must pass literal key/secret. Not suitable for EC2 instance profiles.","severity":"gotcha","affected_versions":"<=0.0.12"},{"fix":"Migrate to Amazon OpenSearch Service or a self-managed solution.","message":"AWS CloudSearch is not actively developed by AWS; consider using OpenSearch or Elasticsearch for new projects.","severity":"deprecated","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'pip install cloudsearch' and verify spelling.","cause":"Package not installed or typo in pip install.","error":"ModuleNotFoundError: No module named 'cloudsearch'"},{"fix":"Use 'from cloudsearch import CloudSearch'.","cause":"Using 'import cloudsearch' then trying 'cloudsearch.CloudSearch()' incorrectly.","error":"AttributeError: module 'cloudsearch' has no attribute 'CloudSearch'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}