Download venv/lib/python3.12/site-packages/orjson/__init__.pyi from caddrlhst/grtest: direct link, hf CLI and curl.
- Browser
- Download file 761 Bytes
-
https://huggingface.co/spaces/caddrlhst/grtest/resolve/main/venv/lib/python3.12/site-packages/orjson/__init__.pyi
- Command line
-
hf download hf://spaces/caddrlhst/grtest/venv/lib/python3.12/site-packages/orjson/__init__.pyi
-
curl -L -o __init__.pyi https://huggingface.co/spaces/caddrlhst/grtest/resolve/main/venv/lib/python3.12/site-packages/orjson/__init__.pyi
761 Bytes
| import json | |
| from typing import Any, Callable, Optional, Union | |
| __version__: str | |
| def dumps( | |
| __obj: Any, | |
| default: Optional[Callable[[Any], Any]] = ..., | |
| option: Optional[int] = ..., | |
| ) -> bytes: ... | |
| def loads(__obj: Union[bytes, bytearray, memoryview, str]) -> Any: ... | |
| class JSONDecodeError(json.JSONDecodeError): ... | |
| class JSONEncodeError(TypeError): ... | |
| class Fragment(tuple): | |
| contents: Union[bytes, str] | |
| OPT_APPEND_NEWLINE: int | |
| OPT_INDENT_2: int | |
| OPT_NAIVE_UTC: int | |
| OPT_NON_STR_KEYS: int | |
| OPT_OMIT_MICROSECONDS: int | |
| OPT_PASSTHROUGH_DATACLASS: int | |
| OPT_PASSTHROUGH_DATETIME: int | |
| OPT_PASSTHROUGH_SUBCLASS: int | |
| OPT_SERIALIZE_DATACLASS: int | |
| OPT_SERIALIZE_NUMPY: int | |
| OPT_SERIALIZE_UUID: int | |
| OPT_SORT_KEYS: int | |
| OPT_STRICT_INTEGER: int | |
| OPT_UTC_Z: int | |