adsfolio.pubcache
Persistent user-level cache for the user’s ADS publication universe.
- class adsfolio.pubcache.CachedPublications(fetched_at, profile, documents)[source]
Bases:
objectPublication cache payload loaded from disk.
- adsfolio.pubcache.clear()[source]
Remove the publication cache and report whether it existed.
- Return type:
- adsfolio.pubcache.load_publications()[source]
Load the cache, returning None for missing or invalid data.
- Return type:
- adsfolio.pubcache.profile_matches(cached_profile, current_profile)[source]
Return whether a cache profile snapshot equals the current profile.
- Parameters:
cached_profile (collections.abc.Mapping[str, Any])
current_profile (collections.abc.Mapping[str, Any] | Any)
- Return type: