__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.217.17: ~ $
"""
pkgdata is a simple, extensible way for a package to acquire data file
resources.

The getResource function is equivalent to the standard idioms, such as
the following minimal implementation:

    import sys, os

    def getResource(identifier, pkgname=__name__):
        pkgpath = os.path.dirname(sys.modules[pkgname].__file__)
        path = os.path.join(pkgpath, identifier)
        return file(os.path.normpath(path), mode='rb')

When a __loader__ is present on the module given by __name__, it will defer
getResource to its get_data implementation and return it as a file-like
object (such as StringIO).
"""

__all__ = ["getResource"]
import sys
import os

try:
    from pkg_resources import resource_stream, resource_exists
except ImportError:

    def resource_exists(_package_or_requirement, _resource_name):
        """
        A stub for when we fail to import this function.

        :return: Always returns False
        """
        return False

    def resource_stream(_package_of_requirement, _resource_name):
        """
        A stub for when we fail to import this function.

        Always raises a NotImplementedError when called.
        """
        raise NotImplementedError


def getResource(identifier, pkgname=__name__):
    """
    Acquire a readable object for a given package name and identifier.
    An IOError will be raised if the resource can not be found.

    For example:
        mydata = getResource('mypkgdata.jpg').read()

    Note that the package name must be fully qualified, if given, such
    that it would be found in sys.modules.

    In some cases, getResource will return a real file object.  In that
    case, it may be useful to use its name attribute to get the path
    rather than use it as a file-like object.  For example, you may
    be handing data off to a C API.
    """

    # When pyinstaller (or similar tools) are used, resource_exists may raise
    # NotImplemented error
    try:
        if resource_exists(pkgname, identifier):
            return resource_stream(pkgname, identifier)
    except NotImplementedError:
        pass

    mod = sys.modules[pkgname]
    path_to_file = getattr(mod, "__file__", None)
    if path_to_file is None:
        raise OSError(f"{repr(mod)} has no __file__!")
    path = os.path.join(os.path.dirname(path_to_file), identifier)

    # pylint: disable=consider-using-with
    return open(os.path.normpath(path), "rb")

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
__pyinstaller Folder 0755
_sdl2 Folder 0755
threads Folder 0755
__init__.py File 9.26 KB 0644
__init__.pyi File 19.92 KB 0644
_camera.cpython-313-aarch64-linux-gnu.so File 66.93 KB 0644
_camera_opencv.py File 5.33 KB 0644
_camera_vidcapture.py File 3.32 KB 0644
_common.pyi File 1.32 KB 0644
_freetype.cpython-313-aarch64-linux-gnu.so File 132.87 KB 0644
_sprite.cpython-313-aarch64-linux-gnu.so File 397.24 KB 0644
base.cpython-313-aarch64-linux-gnu.so File 66.55 KB 0644
base.pyi File 586 B 0644
bufferproxy.cpython-313-aarch64-linux-gnu.so File 67.02 KB 0644
bufferproxy.pyi File 458 B 0644
camera.py File 5.94 KB 0644
camera.pyi File 1.59 KB 0644
color.cpython-313-aarch64-linux-gnu.so File 67.66 KB 0644
color.pyi File 2 KB 0644
colordict.py File 25.17 KB 0644
constants.cpython-313-aarch64-linux-gnu.so File 130.02 KB 0644
constants.pyi File 9.67 KB 0644
cursors.py File 17.67 KB 0644
cursors.pyi File 2.04 KB 0644
display.cpython-313-aarch64-linux-gnu.so File 67.78 KB 0644
display.pyi File 2.22 KB 0644
draw.cpython-313-aarch64-linux-gnu.so File 66.94 KB 0644
draw.pyi File 1.65 KB 0644
draw_py.py File 18.22 KB 0644
event.cpython-313-aarch64-linux-gnu.so File 67.69 KB 0644
event.pyi File 1.45 KB 0644
fastevent.py File 1.65 KB 0644
fastevent.pyi File 249 B 0644
font.cpython-313-aarch64-linux-gnu.so File 67.48 KB 0644
font.pyi File 2.03 KB 0644
freesansbold.ttf File 973.08 KB 0644
freetype.py File 2.17 KB 0644
freetype.pyi File 3.43 KB 0644
ftfont.py File 6.01 KB 0644
gfxdraw.cpython-313-aarch64-linux-gnu.so File 66.84 KB 0644
gfxdraw.pyi File 2.44 KB 0644
image.cpython-313-aarch64-linux-gnu.so File 66.52 KB 0644
image.pyi File 1.67 KB 0644
imageext.cpython-313-aarch64-linux-gnu.so File 66.3 KB 0644
joystick.cpython-313-aarch64-linux-gnu.so File 67.34 KB 0644
joystick.pyi File 1.32 KB 0644
key.cpython-313-aarch64-linux-gnu.so File 67.04 KB 0644
key.pyi File 562 B 0644
locals.py File 1.17 KB 0644
locals.pyi File 9.69 KB 0644
macosx.py File 329 B 0644
mask.cpython-313-aarch64-linux-gnu.so File 67.88 KB 0644
mask.pyi File 2.25 KB 0644
math.cpython-313-aarch64-linux-gnu.so File 136.43 KB 0644
math.pyi File 11.41 KB 0644
midi.py File 23.77 KB 0644
midi.pyi File 1.73 KB 0644
mixer.cpython-313-aarch64-linux-gnu.so File 68.63 KB 0644
mixer.pyi File 2.79 KB 0644
mixer_music.cpython-313-aarch64-linux-gnu.so File 66.74 KB 0644
mixer_music.pyi File 691 B 0644
mouse.cpython-313-aarch64-linux-gnu.so File 66.52 KB 0644
mouse.pyi File 1.16 KB 0644
newbuffer.cpython-313-aarch64-linux-gnu.so File 68.02 KB 0644
pixelarray.cpython-313-aarch64-linux-gnu.so File 67.46 KB 0644
pixelarray.pyi File 1.2 KB 0644
pixelcopy.cpython-313-aarch64-linux-gnu.so File 66.32 KB 0644
pixelcopy.pyi File 534 B 0644
pkgdata.py File 2.36 KB 0644
py.typed File 0 B 0644
pygame.ico File 142.11 KB 0644
pygame_icon.bmp File 630 B 0644
pygame_icon.icns File 257.96 KB 0644
pygame_icon_mac.bmp File 256.13 KB 0644
pypm.cpython-313-aarch64-linux-gnu.so File 133.62 KB 0644
rect.cpython-313-aarch64-linux-gnu.so File 69.1 KB 0644
rect.pyi File 6.97 KB 0644
rwobject.cpython-313-aarch64-linux-gnu.so File 66.32 KB 0644
rwobject.pyi File 544 B 0644
scrap.cpython-313-aarch64-linux-gnu.so File 66.41 KB 0644
scrap.pyi File 366 B 0644
sndarray.py File 3.99 KB 0644
sndarray.pyi File 337 B 0644
sprite.py File 61.42 KB 0644
sprite.pyi File 9.52 KB 0644
surface.cpython-313-aarch64-linux-gnu.so File 260.43 KB 0644
surface.pyi File 4.62 KB 0644
surfarray.py File 14.07 KB 0644
surfarray.pyi File 1.26 KB 0644
surflock.cpython-313-aarch64-linux-gnu.so File 66.4 KB 0644
surflock.pyi File 122 B 0644
sysfont.py File 15.03 KB 0644
time.cpython-313-aarch64-linux-gnu.so File 66.97 KB 0644
time.pyi File 501 B 0644
transform.cpython-313-aarch64-linux-gnu.so File 67.14 KB 0644
transform.pyi File 1.95 KB 0644
version.py File 2.4 KB 0644
version.pyi File 600 B 0644
Filemanager