pypicloud.cache.dynamo module¶
Store package data in DynamoDB
- class pypicloud.cache.dynamo.DynamoCache(request=None, engine=None, graceful_reload=False, **kwargs)[source]¶
Bases:
ICache
Caching database that uses DynamoDB
- all(name)[source]¶
Search for all versions of a package
- Parameters
- namestr
The name of the package
- Returns
- packageslist
List of all
Package
s with the given name
- check_health()[source]¶
Check the health of the cache backend
- Returns
- (healthy, status)(bool, str)
Tuple that describes the health status and provides an optional status message
- class pypicloud.cache.dynamo.DynamoPackage(*_, **__)[source]¶
Bases:
Package
,Model
Python package stored in DynamoDB