# LFUCache¶

class sunpy.database.caching.LFUCache(maxsize=inf)[source] [edit on github]

Attributes Summary

 to_be_removed Returns the key with the lowest times of access and its corresponding value as a tuple.

Methods Summary

 remove() Remove the least frequently used item.

Attributes Documentation

to_be_removed

Returns the key with the lowest times of access and its corresponding value as a tuple.

Methods Documentation

remove()[source] [edit on github]

Remove the least frequently used item.