Skip to content

cachetools 7.0.5

Version history | Download JSON

  • PyPI https://pypi.org/project/cachetools/
    Repository https://github.com/tkem/cachetools

  • py.typed

  • Coverage


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "Typed" : 0
        "Any" : 0
        "Untyped" : 190
    • 0.0% coverage
    • 0.0% coverage (strict)
    • 190 typable
      • 0 typed
      • 190 untyped
      • 0 Any
  • Typables


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "functions" : 44
        "classes" : 143
        "other" : 0
    • 11 functions (+0 overloads)
      • 33 parameters
    • 7 classes
      • 59 methods (+0 overloads)
        • 79 parameters
      • 5 properties
    • 3 modules
      • 0 attrs

Modules

Module Coverage Coverage (strict) Typables Ignores
cachetools 0.0% 0.0% 158 0
cachetools.func 0.0% 0.0% 18 0
cachetools.keys 0.0% 0.0% 14 0

Incomplete Annotations

cachetools (158 missing, 0 any)

Symbol Typable Typed Any
func cachedmethod 6 0 0
meth TLRUCache.init 5 0 0
meth TLRUCache.contains 2 0 0
meth TLRUCache.getitem 3 0 0
meth TLRUCache.setitem 4 0 0
meth TLRUCache.delitem 3 0 0
meth TLRUCache.iter 1 0 0
meth TLRUCache.expire 2 0 0
meth TLRUCache.popitem 1 0 0
meth TLRUCache.clear 1 0 0
meth TLRUCache.getitem 2 0 0
prop TLRUCache.ttu 1 0 0
func cached 6 0 0
meth LFUCache.__init 3 0 0
meth LFUCache.getitem 3 0 0
meth LFUCache.setitem 4 0 0
meth LFUCache.delitem 3 0 0
meth LFUCache.popitem 1 0 0
meth LFUCache.clear 1 0 0
meth LFUCache.touch 2 0 0
meth RRCache.__init 4 0 0
meth RRCache.setitem 4 0 0
meth RRCache.delitem 3 0 0
meth RRCache.popitem 1 0 0
meth RRCache.clear 1 0 0
prop RRCache.choice 1 0 0
meth LRUCache.init 3 0 0
meth LRUCache.getitem 3 0 0
meth LRUCache.setitem 4 0 0
meth LRUCache.delitem 3 0 0
meth LRUCache.popitem 1 0 0
meth LRUCache.clear 1 0 0
meth LRUCache.touch 2 0 0
meth FIFOCache.__init 3 0 0
meth FIFOCache.setitem 4 0 0
meth FIFOCache.delitem 3 0 0
meth FIFOCache.popitem 1 0 0
meth FIFOCache.clear 1 0 0
meth Cache.init 3 0 0
meth Cache.repr 1 0 0
meth Cache.getitem 2 0 0
meth Cache.setitem 3 0 0
meth Cache.delitem 2 0 0
meth Cache.contains 2 0 0
meth Cache.missing 2 0 0
meth Cache.iter 1 0 0
meth Cache.len 1 0 0
meth Cache.get 3 0 0
meth Cache.pop 3 0 0
meth Cache.setdefault 3 0 0
meth Cache.clear 1 0 0
meth Cache.getsizeof 2 0 0
prop Cache.maxsize 1 0 0
prop Cache.currsize 1 0 0
attr Cache.marker 1 0 0
attr Cache.__size 1 0 0
attr Cache.getsizeof 1 0 0
meth TTLCache.__init 5 0 0
meth TTLCache.contains 2 0 0
meth TTLCache.getitem 3 0 0
meth TTLCache.setitem 4 0 0
meth TTLCache.delitem 3 0 0
meth TTLCache.iter 1 0 0
meth TTLCache.setstate 2 0 0
meth TTLCache.expire 2 0 0
meth TTLCache.popitem 1 0 0
meth TTLCache.clear 1 0 0
meth TTLCache.__getlink 2 0 0
prop TTLCache.ttl 1 0 0

cachetools.func (18 missing, 0 any)

Symbol Typable Typed Any
func rr_cache 4 0 0
func lru_cache 3 0 0
func ttl_cache 5 0 0
func lfu_cache 3 0 0
func fifo_cache 3 0 0

cachetools.keys (14 missing, 0 any)

Symbol Typable Typed Any
func typedmethodkey 4 0 0
func typedkey 3 0 0
func methodkey 4 0 0
func hashkey 3 0 0

Type-Ignore Comments

No type-ignore comments.