Python module (submodule repositary), which provides content (video streams) from various online stream sources to corresponding Enigma2, Kodi, Plex plugins

123456789101112131415161718192021222324252627282930313233343536
  1. "DiskCache: disk and file backed cache."
  2. from .core import Cache, Disk, UnknownFileWarning, EmptyDirWarning, Timeout
  3. from .core import DEFAULT_SETTINGS, ENOVAL, EVICTION_POLICY, UNKNOWN
  4. from .fanout import FanoutCache
  5. from .persistent import Deque, Index
  6. __all__ = [
  7. 'Cache',
  8. 'Disk',
  9. 'UnknownFileWarning',
  10. 'EmptyDirWarning',
  11. 'Timeout',
  12. 'DEFAULT_SETTINGS',
  13. 'ENOVAL',
  14. 'EVICTION_POLICY',
  15. 'UNKNOWN',
  16. 'FanoutCache',
  17. 'Deque',
  18. 'Index',
  19. ]
  20. try:
  21. from .djangocache import DjangoCache # pylint: disable=wrong-import-position
  22. __all__.append('DjangoCache')
  23. except Exception: # pylint: disable=broad-except
  24. # Django not installed or not setup so ignore.
  25. pass
  26. __title__ = 'diskcache'
  27. __version__ = '3.1.1'
  28. __build__ = 0x030101
  29. __author__ = 'Grant Jenks'
  30. __license__ = 'Apache 2.0'
  31. __copyright__ = 'Copyright 2016-2018 Grant Jenks'