skeletonpaths 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,53 @@
1
+ """Skeleton graphs and candidate path extraction from binary masks."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from importlib.metadata import PackageNotFoundError, version
6
+
7
+ from .core import (
8
+ DEFAULT_MAX_PATHS,
9
+ NoFeasiblePathError,
10
+ PathScore,
11
+ PathSearchLimitError,
12
+ SkeletonEdge,
13
+ SkeletonGraph,
14
+ SkeletonNode,
15
+ SkeletonPath,
16
+ TopologyPathInventory,
17
+ build_skeleton_graph,
18
+ graph_from_mask,
19
+ graph_from_skeleton,
20
+ prepare_topology_paths,
21
+ prune_spurs,
22
+ rank_paths,
23
+ rank_topology_paths,
24
+ select_path,
25
+ select_topology_path,
26
+ )
27
+
28
+ try:
29
+ __version__ = version("skeletonpaths")
30
+ except PackageNotFoundError:
31
+ __version__ = "0.0.0+unknown"
32
+
33
+ __all__ = [
34
+ "DEFAULT_MAX_PATHS",
35
+ "NoFeasiblePathError",
36
+ "PathScore",
37
+ "PathSearchLimitError",
38
+ "SkeletonEdge",
39
+ "SkeletonGraph",
40
+ "SkeletonNode",
41
+ "SkeletonPath",
42
+ "TopologyPathInventory",
43
+ "__version__",
44
+ "build_skeleton_graph",
45
+ "graph_from_mask",
46
+ "graph_from_skeleton",
47
+ "prepare_topology_paths",
48
+ "prune_spurs",
49
+ "rank_paths",
50
+ "rank_topology_paths",
51
+ "select_path",
52
+ "select_topology_path",
53
+ ]
@@ -0,0 +1,24 @@
1
+ # file generated by vcs-versioning
2
+ # don't change, don't track in version control
3
+ from __future__ import annotations
4
+
5
+ __all__ = [
6
+ "__version__",
7
+ "__version_tuple__",
8
+ "version",
9
+ "version_tuple",
10
+ "__commit_id__",
11
+ "commit_id",
12
+ ]
13
+
14
+ version: str
15
+ __version__: str
16
+ __version_tuple__: tuple[int | str, ...]
17
+ version_tuple: tuple[int | str, ...]
18
+ commit_id: str | None
19
+ __commit_id__: str | None
20
+
21
+ __version__ = version = '0.1.0'
22
+ __version_tuple__ = version_tuple = (0, 1, 0)
23
+
24
+ __commit_id__ = commit_id = 'g6c3685615'