Buckets:
| from enum import Enum | |
| from types import ModuleType | |
| from typing import ( | |
| Final, | |
| Literal as L, | |
| NotRequired, | |
| TypedDict, | |
| overload, | |
| type_check_only, | |
| ) | |
| _CompilerConfigDictValue = TypedDict( | |
| "_CompilerConfigDictValue", | |
| { | |
| "name": str, | |
| "linker": str, | |
| "version": str, | |
| "commands": str, | |
| "args": str, | |
| "linker args": str, | |
| }, | |
| ) | |
| _CompilerConfigDict = TypedDict( | |
| "_CompilerConfigDict", | |
| { | |
| "c": _CompilerConfigDictValue, | |
| "cython": _CompilerConfigDictValue, | |
| "c++": _CompilerConfigDictValue, | |
| }, | |
| ) | |
| _MachineInformationDict = TypedDict( | |
| "_MachineInformationDict", | |
| { | |
| "host": _MachineInformationDictValue, | |
| "build": _MachineInformationDictValue, | |
| "cross-compiled": NotRequired[L[True]], | |
| }, | |
| ) | |
| class _MachineInformationDictValue(TypedDict): | |
| cpu: str | |
| family: str | |
| endian: L["little", "big"] | |
| system: str | |
| _BuildDependenciesDictValue = TypedDict( | |
| "_BuildDependenciesDictValue", | |
| { | |
| "name": str, | |
| "found": NotRequired[L[True]], | |
| "version": str, | |
| "include directory": str, | |
| "lib directory": str, | |
| "openblas configuration": str, | |
| "pc file directory": str, | |
| }, | |
| ) | |
| class _BuildDependenciesDict(TypedDict): | |
| blas: _BuildDependenciesDictValue | |
| lapack: _BuildDependenciesDictValue | |
| class _PythonInformationDict(TypedDict): | |
| path: str | |
| version: str | |
| _SIMDExtensionsDict = TypedDict( | |
| "_SIMDExtensionsDict", | |
| { | |
| "baseline": list[str], | |
| "found": list[str], | |
| "not found": list[str], | |
| }, | |
| ) | |
| _ConfigDict = TypedDict( | |
| "_ConfigDict", | |
| { | |
| "Compilers": _CompilerConfigDict, | |
| "Machine Information": _MachineInformationDict, | |
| "Build Dependencies": _BuildDependenciesDict, | |
| "Python Information": _PythonInformationDict, | |
| "SIMD Extensions": _SIMDExtensionsDict, | |
| }, | |
| ) | |
| ### | |
| __all__ = ["show_config"] | |
| CONFIG: Final[_ConfigDict] = ... | |
| class DisplayModes(Enum): | |
| stdout = "stdout" | |
| dicts = "dicts" | |
| def _check_pyyaml() -> ModuleType: ... | |
| def show(mode: L["stdout"] = "stdout") -> None: ... | |
| def show(mode: L["dicts"]) -> _ConfigDict: ... | |
| def show_config(mode: L["stdout"] = "stdout") -> None: ... | |
| def show_config(mode: L["dicts"]) -> _ConfigDict: ... | |
Xet Storage Details
- Size:
- 2.38 kB
- Xet hash:
- f546630a5a61233bedce1279e952bb0f314c204e58e7e30dedd9fba4e0c3406e
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.