chemistry_tools.cache

Cache for HTTP requests.

Data:

cache

The cache object.

cache_dir

The cache directory

cached_requests

Instance of requests.Session with a rate limit of 5 requests per second and a 28 day on-disk cache.

Functions:

clear_cache()

Clear the cache.

cache = <apeye.rate_limiter.HTTPCache object>

Type:    HTTPCache

The cache object.

cache_dir

Type:    PosixPathPlus

The cache directory

cached_requests

Type:    Session

Instance of requests.Session with a rate limit of 5 requests per second and a 28 day on-disk cache.

clear_cache()[source]

Clear the cache.