davidtran999 commited on
Commit
f22837b
·
verified ·
1 Parent(s): f3192a6

Upload backend/venv/lib/python3.10/site-packages/diskcache/__init__.py with huggingface_hub

Browse files
backend/venv/lib/python3.10/site-packages/diskcache/__init__.py ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ DiskCache API Reference
3
+ =======================
4
+
5
+ The :doc:`tutorial` provides a helpful walkthrough of most methods.
6
+ """
7
+
8
+ from .core import (
9
+ DEFAULT_SETTINGS,
10
+ ENOVAL,
11
+ EVICTION_POLICY,
12
+ UNKNOWN,
13
+ Cache,
14
+ Disk,
15
+ EmptyDirWarning,
16
+ JSONDisk,
17
+ Timeout,
18
+ UnknownFileWarning,
19
+ )
20
+ from .fanout import FanoutCache
21
+ from .persistent import Deque, Index
22
+ from .recipes import (
23
+ Averager,
24
+ BoundedSemaphore,
25
+ Lock,
26
+ RLock,
27
+ barrier,
28
+ memoize_stampede,
29
+ throttle,
30
+ )
31
+
32
+ __all__ = [
33
+ 'Averager',
34
+ 'BoundedSemaphore',
35
+ 'Cache',
36
+ 'DEFAULT_SETTINGS',
37
+ 'Deque',
38
+ 'Disk',
39
+ 'ENOVAL',
40
+ 'EVICTION_POLICY',
41
+ 'EmptyDirWarning',
42
+ 'FanoutCache',
43
+ 'Index',
44
+ 'JSONDisk',
45
+ 'Lock',
46
+ 'RLock',
47
+ 'Timeout',
48
+ 'UNKNOWN',
49
+ 'UnknownFileWarning',
50
+ 'barrier',
51
+ 'memoize_stampede',
52
+ 'throttle',
53
+ ]
54
+
55
+ try:
56
+ from .djangocache import DjangoCache # noqa
57
+
58
+ __all__.append('DjangoCache')
59
+ except Exception: # pylint: disable=broad-except # pragma: no cover
60
+ # Django not installed or not setup so ignore.
61
+ pass
62
+
63
+ __title__ = 'diskcache'
64
+ __version__ = '5.6.3'
65
+ __build__ = 0x050603
66
+ __author__ = 'Grant Jenks'
67
+ __license__ = 'Apache 2.0'
68
+ __copyright__ = 'Copyright 2016-2023 Grant Jenks'