SILENT KILLERPanel

Current Path: > > opt > alt > python37 > lib > python3.7 > site-packages > pip > _vendor > msgpack


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: //opt/alt/python37/lib/python3.7/site-packages/pip/_vendor/msgpack

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
__init__.py File 1118 bytes November 13 2023 21:31:06.
_version.py File 20 bytes November 13 2023 21:31:06.
exceptions.py File 1081 bytes November 13 2023 21:31:06.
ext.py File 6034 bytes November 13 2023 21:31:06.
fallback.py File 37133 bytes November 13 2023 21:31:06.

Reading File: //opt/alt/python37/lib/python3.7/site-packages/pip/_vendor/msgpack/__init__.py

# coding: utf-8
from ._version import version
from .exceptions import *
from .ext import ExtType, Timestamp

import os
import sys


if os.environ.get("MSGPACK_PUREPYTHON") or sys.version_info[0] == 2:
    from .fallback import Packer, unpackb, Unpacker
else:
    try:
        from ._cmsgpack import Packer, unpackb, Unpacker
    except ImportError:
        from .fallback import Packer, unpackb, Unpacker


def pack(o, stream, **kwargs):
    """
    Pack object `o` and write it to `stream`

    See :class:`Packer` for options.
    """
    packer = Packer(**kwargs)
    stream.write(packer.pack(o))


def packb(o, **kwargs):
    """
    Pack object `o` and return packed bytes

    See :class:`Packer` for options.
    """
    return Packer(**kwargs).pack(o)


def unpack(stream, **kwargs):
    """
    Unpack an object from `stream`.

    Raises `ExtraData` when `stream` contains extra bytes.
    See :class:`Unpacker` for options.
    """
    data = stream.read()
    return unpackb(data, **kwargs)


# alias for compatibility to simplejson/marshal/pickle.
load = unpack
loads = unpackb

dump = pack
dumps = packb

SILENT KILLER Tool