Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
_common.pyi17 linesDownload Raw Back to random
1from collections.abc import Callable
2from typing import Any, NamedTuple, TypeAlias
3
4import numpy as np
5
6__all__: list[str] = ["interface"]
7
8_CDataVoidPointer: TypeAlias = Any
9
10class interface(NamedTuple):
11    state_address: int
12    state: _CDataVoidPointer
13    next_uint64: Callable[..., np.uint64]
14    next_uint32: Callable[..., np.uint32]
15    next_double: Callable[..., np.float64]
16    bit_generator: _CDataVoidPointer
17 
codekingpro/portable-devtools · Team Ai