Skip to content

Commit

Permalink
Fix #178: Flatten package file hierarchy.
Browse files Browse the repository at this point in the history
  • Loading branch information
tkem committed Sep 27, 2021
1 parent 40d2710 commit be507a6
Show file tree
Hide file tree
Showing 10 changed files with 584 additions and 622 deletions.
590 changes: 581 additions & 9 deletions src/cachetools/__init__.py

Large diffs are not rendered by default.

117 changes: 0 additions & 117 deletions src/cachetools/cache.py

This file was deleted.

102 changes: 0 additions & 102 deletions src/cachetools/decorators.py

This file was deleted.

31 changes: 0 additions & 31 deletions src/cachetools/fifo.py

This file was deleted.

11 changes: 3 additions & 8 deletions src/cachetools/func.py
@@ -1,5 +1,7 @@
"""`functools.lru_cache` compatible memoizing function decorators."""

__all__ = ("fifo_cache", "lfu_cache", "lru_cache", "mru_cache", "rr_cache", "ttl_cache")

import collections
import functools
import math
Expand All @@ -11,15 +13,8 @@
except ImportError: # pragma: no cover
from dummy_threading import RLock

from . import FIFOCache, LFUCache, LRUCache, MRUCache, RRCache, TTLCache
from . import keys
from .fifo import FIFOCache
from .lfu import LFUCache
from .lru import LRUCache
from .mru import MRUCache
from .rr import RRCache
from .ttl import TTLCache

__all__ = ("lfu_cache", "lru_cache", "mru_cache", "rr_cache", "ttl_cache")


_CacheInfo = collections.namedtuple(
Expand Down
34 changes: 0 additions & 34 deletions src/cachetools/lfu.py

This file was deleted.

40 changes: 0 additions & 40 deletions src/cachetools/lru.py

This file was deleted.

40 changes: 0 additions & 40 deletions src/cachetools/mru.py

This file was deleted.

0 comments on commit be507a6

Please sign in to comment.