SILENT KILLERPanel

Current Path: > > lib > python2.7 > site-packages > pip > _vendor > cachecontrol >


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //lib/python2.7/site-packages/pip/_vendor/cachecontrol/

NameTypeSizeLast ModifiedActions
caches Directory - -
__init__.py File 302 bytes April 21 2022 18:08:21.
__init__.pyc File 583 bytes April 21 2022 18:08:34.
__init__.pyo File 583 bytes April 21 2022 18:08:34.
_cmd.py File 1320 bytes April 21 2022 18:08:21.
_cmd.pyc File 2059 bytes April 21 2022 18:08:34.
_cmd.pyo File 2059 bytes April 21 2022 18:08:34.
adapter.py File 4608 bytes April 21 2022 18:08:21.
adapter.pyc File 3523 bytes April 21 2022 18:08:34.
adapter.pyo File 3523 bytes April 21 2022 18:08:34.
cache.py File 790 bytes April 21 2022 18:08:21.
cache.pyc File 2401 bytes April 21 2022 18:08:34.
cache.pyo File 2401 bytes April 21 2022 18:08:34.
compat.py File 380 bytes April 21 2022 18:08:21.
compat.pyc File 618 bytes April 21 2022 18:08:34.
compat.pyo File 618 bytes April 21 2022 18:08:34.
controller.py File 13024 bytes April 21 2022 18:08:21.
controller.pyc File 9078 bytes April 21 2022 18:08:34.
controller.pyo File 9078 bytes April 21 2022 18:08:34.
filewrapper.py File 2531 bytes April 21 2022 18:08:21.
filewrapper.pyc File 2667 bytes April 21 2022 18:08:34.
filewrapper.pyo File 2667 bytes April 21 2022 18:08:34.
heuristics.py File 4141 bytes April 21 2022 18:08:21.
heuristics.pyc File 5937 bytes April 21 2022 18:08:34.
heuristics.pyo File 5937 bytes April 21 2022 18:08:34.
serialize.py File 6536 bytes April 21 2022 18:08:21.
serialize.pyc File 6096 bytes April 21 2022 18:08:34.
serialize.pyo File 6096 bytes April 21 2022 18:08:34.
wrapper.py File 498 bytes April 21 2022 18:08:21.
wrapper.pyc File 696 bytes April 21 2022 18:08:34.
wrapper.pyo File 696 bytes April 21 2022 18:08:34.

Reading File: //lib/python2.7/site-packages/pip/_vendor/cachecontrol//cache.py

"""
The cache object API for implementing caches. The default is a thread
safe in-memory dictionary.
"""
from threading import Lock


class BaseCache(object):

    def get(self, key):
        raise NotImplemented()

    def set(self, key, value):
        raise NotImplemented()

    def delete(self, key):
        raise NotImplemented()

    def close(self):
        pass


class DictCache(BaseCache):

    def __init__(self, init_dict=None):
        self.lock = Lock()
        self.data = init_dict or {}

    def get(self, key):
        return self.data.get(key, None)

    def set(self, key, value):
        with self.lock:
            self.data.update({key: value})

    def delete(self, key):
        with self.lock:
            if key in self.data:
                self.data.pop(key)

SILENT KILLER Tool