initial commit
This commit is contained in:
51
venv/Lib/site-packages/ormsgpack/__init__.py
Normal file
51
venv/Lib/site-packages/ormsgpack/__init__.py
Normal file
@@ -0,0 +1,51 @@
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
from .ormsgpack import (
|
||||
OPT_DATETIME_AS_TIMESTAMP_EXT,
|
||||
OPT_NAIVE_UTC,
|
||||
OPT_NON_STR_KEYS,
|
||||
OPT_OMIT_MICROSECONDS,
|
||||
OPT_PASSTHROUGH_BIG_INT,
|
||||
OPT_PASSTHROUGH_DATACLASS,
|
||||
OPT_PASSTHROUGH_DATETIME,
|
||||
OPT_PASSTHROUGH_ENUM,
|
||||
OPT_PASSTHROUGH_SUBCLASS,
|
||||
OPT_PASSTHROUGH_TUPLE,
|
||||
OPT_PASSTHROUGH_UUID,
|
||||
OPT_REPLACE_SURROGATES,
|
||||
OPT_SERIALIZE_NUMPY,
|
||||
OPT_SERIALIZE_PYDANTIC,
|
||||
OPT_SORT_KEYS,
|
||||
OPT_UTC_Z,
|
||||
Ext,
|
||||
MsgpackDecodeError,
|
||||
MsgpackEncodeError,
|
||||
__version__,
|
||||
packb,
|
||||
unpackb,
|
||||
)
|
||||
|
||||
__all__ = (
|
||||
"__version__",
|
||||
"packb",
|
||||
"unpackb",
|
||||
"Ext",
|
||||
"MsgpackDecodeError",
|
||||
"MsgpackEncodeError",
|
||||
"OPT_DATETIME_AS_TIMESTAMP_EXT",
|
||||
"OPT_NAIVE_UTC",
|
||||
"OPT_NON_STR_KEYS",
|
||||
"OPT_OMIT_MICROSECONDS",
|
||||
"OPT_PASSTHROUGH_BIG_INT",
|
||||
"OPT_PASSTHROUGH_DATACLASS",
|
||||
"OPT_PASSTHROUGH_DATETIME",
|
||||
"OPT_PASSTHROUGH_ENUM",
|
||||
"OPT_PASSTHROUGH_SUBCLASS",
|
||||
"OPT_PASSTHROUGH_TUPLE",
|
||||
"OPT_PASSTHROUGH_UUID",
|
||||
"OPT_REPLACE_SURROGATES",
|
||||
"OPT_SERIALIZE_NUMPY",
|
||||
"OPT_SERIALIZE_PYDANTIC",
|
||||
"OPT_SORT_KEYS",
|
||||
"OPT_UTC_Z",
|
||||
)
|
||||
41
venv/Lib/site-packages/ormsgpack/__init__.pyi
Normal file
41
venv/Lib/site-packages/ormsgpack/__init__.pyi
Normal file
@@ -0,0 +1,41 @@
|
||||
from collections.abc import Callable
|
||||
from typing import Any
|
||||
|
||||
__version__: str
|
||||
|
||||
def packb(
|
||||
obj: Any,
|
||||
/,
|
||||
default: Callable[[Any], Any] | None = ...,
|
||||
option: int | None = None,
|
||||
) -> bytes: ...
|
||||
def unpackb(
|
||||
obj: bytes | bytearray | memoryview,
|
||||
/,
|
||||
*,
|
||||
ext_hook: Callable[[int, bytes], Any] | None = ...,
|
||||
option: int | None = ...,
|
||||
) -> Any: ...
|
||||
|
||||
class MsgpackDecodeError(ValueError): ...
|
||||
class MsgpackEncodeError(TypeError): ...
|
||||
|
||||
class Ext:
|
||||
def __init__(self, tag: int, data: bytes) -> None: ...
|
||||
|
||||
OPT_DATETIME_AS_TIMESTAMP_EXT: int
|
||||
OPT_NAIVE_UTC: int
|
||||
OPT_OMIT_MICROSECONDS: int
|
||||
OPT_PASSTHROUGH_BIG_INT: int
|
||||
OPT_PASSTHROUGH_DATACLASS: int
|
||||
OPT_PASSTHROUGH_DATETIME: int
|
||||
OPT_PASSTHROUGH_ENUM: int
|
||||
OPT_PASSTHROUGH_SUBCLASS: int
|
||||
OPT_PASSTHROUGH_TUPLE: int
|
||||
OPT_PASSTHROUGH_UUID: int
|
||||
OPT_REPLACE_SURROGATES: int
|
||||
OPT_SERIALIZE_NUMPY: int
|
||||
OPT_SERIALIZE_PYDANTIC: int
|
||||
OPT_NON_STR_KEYS: int
|
||||
OPT_SORT_KEYS: int
|
||||
OPT_UTC_Z: int
|
||||
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
import os
|
||||
|
||||
|
||||
def get_hook_dirs() -> list[str]:
|
||||
return [os.path.dirname(__file__)]
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
hiddenimports = [
|
||||
"dataclasses",
|
||||
"enum",
|
||||
"uuid",
|
||||
]
|
||||
BIN
venv/Lib/site-packages/ormsgpack/ormsgpack.cp311-win_amd64.pyd
Normal file
BIN
venv/Lib/site-packages/ormsgpack/ormsgpack.cp311-win_amd64.pyd
Normal file
Binary file not shown.
0
venv/Lib/site-packages/ormsgpack/py.typed
Normal file
0
venv/Lib/site-packages/ormsgpack/py.typed
Normal file
Reference in New Issue
Block a user