Skip to content

Commit

Permalink
deploy stub files [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 3, 2024
1 parent 25309f7 commit b13b777
Show file tree
Hide file tree
Showing 42 changed files with 3,002 additions and 0 deletions.
11 changes: 11 additions & 0 deletions pycrostates/__init__.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from . import cluster as cluster
from . import datasets as datasets
from . import metrics as metrics
from . import preprocessing as preprocessing
from . import utils as utils
from . import viz as viz
from ._version import __version__ as __version__
from .utils._logs import set_log_level as set_log_level
from .utils.sys_info import sys_info as sys_info

__all__: tuple[str, ...]
20 changes: 20 additions & 0 deletions pycrostates/_typing.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
from abc import ABC
from typing import Optional, Union

from numpy.random import Generator, RandomState
from numpy.typing import NDArray

class CHData(ABC):
"""Typing for CHData."""

class CHInfo(ABC):
"""Typing for CHInfo."""

class Cluster(ABC):
"""Typing for a clustering class."""

class Segmentation(ABC):
"""Typing for a clustering class."""

RANDomState = Optional[Union[int, RandomState, Generator]]
Picks = Optional[Union[str, NDArray[int]]]
5 changes: 5 additions & 0 deletions pycrostates/cluster/__init__.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from . import utils as utils
from .aahc import AAHCluster as AAHCluster
from .kmeans import ModKMeans as ModKMeans

__all__: tuple[str, ...]
Loading

0 comments on commit b13b777

Please sign in to comment.