Phylopower 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.
phylopower/__init__.py ADDED
@@ -0,0 +1,32 @@
1
+ """PhyloPower's manuscript-aligned public API.
2
+
3
+ ``phylopower.cli`` is the authoritative, self-contained implementation. Its
4
+ internal workflow modules are embedded in that file, so it has no runtime
5
+ dependency on a separate ``core.py`` or other project source files.
6
+ """
7
+
8
+ from ._data import DATAGENE_DIR, DATAPRO_DIR, demo_path
9
+ from .cli import (
10
+ compute_gene_min_sample_size,
11
+ compute_protein_min_sample_size,
12
+ )
13
+
14
+ # Descriptive aliases retained for callers that used the original package
15
+ # terminology. Both aliases resolve to the authoritative cli
16
+ # implementations.
17
+ compute_taxon = compute_gene_min_sample_size
18
+ compute_taxon_function = compute_protein_min_sample_size
19
+
20
+ __all__ = [
21
+ "compute_gene_min_sample_size",
22
+ "compute_protein_min_sample_size",
23
+ "compute_taxon",
24
+ "compute_taxon_function",
25
+ "demo_path",
26
+ "DATAGENE_DIR",
27
+ "DATAPRO_DIR",
28
+ ]
29
+
30
+ __version__ = "0.1.0"
31
+ __author__ = "Phylopower authors"
32
+ __license__ = "MIT"
phylopower/__main__.py ADDED
@@ -0,0 +1,7 @@
1
+
2
+ """Run the manuscript-aligned raw-pool workflows."""
3
+
4
+ from .cli import main
5
+
6
+ if __name__ == "__main__":
7
+ main()