Registry / aws / cloudsearch

cloudsearch

JSON →
library0.0.12pypypi✓ verified 84d ago

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.

pip install cloudsearch
INSTALL
IMPORT
SIG · CLOUDSEARCH
C
cloudsearch
awspythonv0.0.12
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.

CloudSearch
✓ import cloudsearch
✗ from cloudsearch import CloudSearch

Initialize CloudSearch client and perform a basic search.

import os from cloudsearch import CloudSearch client = CloudSearch( domain_name=os.environ.get('CLOUDSEARCH_DOMAIN', 'example-domain'), region=os.environ.get('CLOUDSEARCH_REGION', 'us-east-1'), access_key_id=os.environ.get('AWS_ACCESS_KEY_ID', ''), secret_access_key=os.environ.get('AWS_SECRET_ACCESS_KEY', '') ) result = client.search(q='test') print(result)
Debug
Known issues
gotchaThe library does not support IAM roles or STS tokens directly; you must pass literal key/secret. Not suitable for EC2 instance profiles.
fix
Use boto3 directly for role-based auth, or implement your own credential chain.
affects: <=0.0.12
deprecatedAWS CloudSearch is not actively developed by AWS; consider using OpenSearch or Elasticsearch for new projects.
fix
Migrate to Amazon OpenSearch Service or a self-managed solution.
affects: all
Upgrade
Version history
0.0.12latest on PyPI · released Apr 20, 2021
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
18
Amazon
1
OpenAI (training)
1
Resources
cloudsearch — pip install cloudsearch · libregistry