Buckets:

download
raw
332 Bytes
import time
from cachetools import TTLCache
class FtTTLCache(TTLCache):
"""
A TTLCache with a different default timer to allow for easier mocking in tests.
"""
def __init__(self, maxsize, ttl, timer=time.time, getsizeof=None):
super().__init__(maxsize=maxsize, ttl=ttl, timer=timer, getsizeof=getsizeof)

Xet Storage Details

Size:
332 Bytes
·
Xet hash:
787cc1aab64f03fdb6d40684daafc71d5e6e1975889138ed20af0466359f43d5

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.