phylogenetic 0.1.0__tar.gz

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,61 @@
1
+ # Bijux shared
2
+ .DS_Store
3
+ .idea/
4
+ .vscode/
5
+ .tox/
6
+ .tox
7
+ .venv/
8
+ .venv
9
+ .venv-esm/
10
+ .coverage
11
+ .coverage.*
12
+ .python-version
13
+ .mypy_cache/
14
+ .pytest_cache/
15
+ .ruff_cache/
16
+ .hypothesis/
17
+ .hypothesis
18
+ .benchmarks
19
+ .nox/
20
+ .cache/
21
+ .tmp/
22
+ .github/tmp/
23
+ site/
24
+ build/
25
+ dist/
26
+ htmlcov/
27
+ node_modules/
28
+ *.egg-info/
29
+ pip-wheel-metadata/
30
+
31
+ artifacts/*
32
+ packages/*/artifacts/
33
+ packages/*/artifacts
34
+
35
+ **/__pycache__/
36
+ **/.pytest_cache/
37
+ **/.ruff_cache/
38
+ **/.mypy_cache/
39
+ **/.pytype/
40
+ **/.hypothesis/
41
+ **/.hypothesis
42
+ **/.benchmarks/
43
+ **/.benchmarks
44
+ **/.tox/
45
+ **/.tox
46
+ **/.venv/
47
+ **/.venv
48
+ **/.nox/
49
+ **/.cache/
50
+ **/site/
51
+ **/build/
52
+ **/dist/
53
+ **/htmlcov/
54
+ **/*.egg-info/
55
+ **/*.pyc
56
+ **/*.pyo
57
+ *.swp
58
+ *.swo
59
+
60
+ # Repo-specific
61
+ data/**/~$*.xlsx
@@ -0,0 +1,16 @@
1
+ # Changelog
2
+
3
+ ## 0.1.0 - 2026-07-04
4
+
5
+ ### Added
6
+
7
+ - Added `phylogenetic` as the short compatibility distribution for the
8
+ canonical `bijux-phylogenetics` runtime.
9
+ - Added the shorter package and CLI import surface while preserving the same
10
+ benchmark, workflow, and reporting surfaces as the canonical runtime.
11
+
12
+ ### Changed
13
+
14
+ - Aligned alias-package docs, package metadata, and release navigation with the
15
+ canonical runtime so users can choose the shorter install name without
16
+ losing the public trust and workflow guidance.
@@ -0,0 +1,192 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ Copyright 2026 Bijan Mousavi <bijan@bijux.io>
181
+
182
+ Licensed under the Apache License, Version 2.0 (the "License");
183
+ you may not use this file except in compliance with the License.
184
+ You may obtain a copy of the License at
185
+
186
+ http://www.apache.org/licenses/LICENSE-2.0
187
+
188
+ Unless required by applicable law or agreed to in writing, software
189
+ distributed under the License is distributed on an "AS IS" BASIS,
190
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
191
+ See the License for the specific language governing permissions and
192
+ limitations under the License.
@@ -0,0 +1,3 @@
1
+ Copyright 2026 Bijan Mousavi <bijan@bijux.io>
2
+
3
+ This repository is licensed under the Apache License, Version 2.0.
@@ -0,0 +1,131 @@
1
+ Metadata-Version: 2.4
2
+ Name: phylogenetic
3
+ Version: 0.1.0
4
+ Summary: Compatibility alias package for the canonical native phylogenetics runtime.
5
+ Project-URL: Documentation, https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/
6
+ Project-URL: Native Workflows, https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/operations/
7
+ Project-URL: Evidence Book, https://bijux.io/bijux-phylogenetics/02-bijux-phylogenetics-evidence-book/
8
+ Project-URL: Benchmarks, https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/operations/native-benchmark-review/
9
+ Project-URL: Interface Guide, https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/interfaces/surface-selection/
10
+ Project-URL: Artifact Guide, https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/interfaces/artifact-consumption-guide/
11
+ Project-URL: Release Guide, https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/quality/release-review-workflow/
12
+ Project-URL: Repository, https://github.com/bijux/bijux-phylogenetics
13
+ Project-URL: Issues, https://github.com/bijux/bijux-phylogenetics/issues
14
+ Project-URL: Changelog, https://github.com/bijux/bijux-phylogenetics/blob/main/packages/phylogenetic/CHANGELOG.md
15
+ Project-URL: Security, https://github.com/bijux/bijux-phylogenetics/blob/main/SECURITY.md
16
+ Author-email: Bijan Mousavi <bijan@bijux.io>
17
+ License: Apache-2.0
18
+ Keywords: bayesian-inference,bioinformatics,comparative-biology,evolution,maximum-likelihood,phylogenetics
19
+ Classifier: Development Status :: 4 - Beta
20
+ Classifier: Intended Audience :: Science/Research
21
+ Classifier: Programming Language :: Python :: 3
22
+ Classifier: Programming Language :: Python :: 3 :: Only
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
25
+ Requires-Python: >=3.11
26
+ Requires-Dist: bijux-phylogenetics<1.0,>=0.1.0
27
+ Provides-Extra: dev
28
+ Requires-Dist: bandit<2.0,>=1.8.6; extra == 'dev'
29
+ Requires-Dist: build<2.0,>=1.3.0; extra == 'dev'
30
+ Requires-Dist: codespell<3.0,>=2.4.1; extra == 'dev'
31
+ Requires-Dist: deptry<1.0,>=0.24.0; extra == 'dev'
32
+ Requires-Dist: hatch<2.0,>=1.14.0; extra == 'dev'
33
+ Requires-Dist: mypy<3.0,>=1.18.2; extra == 'dev'
34
+ Requires-Dist: pip-audit<3.0,>=2.9.0; extra == 'dev'
35
+ Requires-Dist: pydantic<3.0,>=2.12; extra == 'dev'
36
+ Requires-Dist: pydocstyle<7.0,>=6.3.0; extra == 'dev'
37
+ Requires-Dist: pytest-asyncio<2.0,>=1.0.0; extra == 'dev'
38
+ Requires-Dist: pytest-cov<8.0,>=6.2.1; extra == 'dev'
39
+ Requires-Dist: pytest-timeout<3.0,>=2.4.0; extra == 'dev'
40
+ Requires-Dist: pytest-xdist<4.0,>=3.8.0; extra == 'dev'
41
+ Requires-Dist: pytest<10.0,>=9.0.3; extra == 'dev'
42
+ Requires-Dist: radon<7.0,>=6.0.1; extra == 'dev'
43
+ Requires-Dist: ruff<1.0,>=0.13.0; extra == 'dev'
44
+ Requires-Dist: twine<7.0,>=6.2.0; extra == 'dev'
45
+ Requires-Dist: vulture<3.0,>=2.14; extra == 'dev'
46
+ Description-Content-Type: text/markdown
47
+
48
+ # phylogenetic
49
+
50
+ <!-- bijux-phylogenetics-badges:generated:start -->
51
+ [![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-3776AB?logo=python&logoColor=white)](https://pypi.org/project/phylogenetic/)
52
+ [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-0F766E)](https://github.com/bijux/bijux-phylogenetics/blob/main/LICENSE)
53
+ [![Verify](https://github.com/bijux/bijux-phylogenetics/actions/workflows/verify.yml/badge.svg?branch=main)](https://github.com/bijux/bijux-phylogenetics/actions/workflows/verify.yml?query=branch%3Amain)
54
+ [![Release PyPI](https://img.shields.io/badge/release-pypi%20workflow-2563EB?logo=githubactions&logoColor=white)](https://github.com/bijux/bijux-phylogenetics/actions/workflows/release-pypi.yml)
55
+ [![Release GHCR](https://img.shields.io/badge/release-ghcr%20workflow-2563EB?logo=githubactions&logoColor=white)](https://github.com/bijux/bijux-phylogenetics/actions/workflows/release-ghcr.yml)
56
+ [![Release GitHub](https://img.shields.io/badge/release-github%20workflow-2563EB?logo=githubactions&logoColor=white)](https://github.com/bijux/bijux-phylogenetics/actions/workflows/release-github.yml)
57
+ [![Docs](https://github.com/bijux/bijux-phylogenetics/actions/workflows/deploy-docs.yml/badge.svg)](https://github.com/bijux/bijux-phylogenetics/actions/workflows/deploy-docs.yml)
58
+
59
+ [![phylogenetic](https://img.shields.io/pypi/v/phylogenetic?label=phylogenetic&logo=pypi)](https://pypi.org/project/phylogenetic/)
60
+ [![bijux-phylogenetics](https://img.shields.io/pypi/v/bijux-phylogenetics?label=bijux--phylogenetics&logo=pypi)](https://pypi.org/project/bijux-phylogenetics/)
61
+
62
+ [![phylogenetic](https://img.shields.io/badge/phylogenetic-ghcr-181717?logo=github)](https://github.com/bijux/bijux-phylogenetics/pkgs/container/bijux-phylogenetics%2Fphylogenetic)
63
+ [![bijux-phylogenetics](https://img.shields.io/badge/bijux--phylogenetics-ghcr-181717?logo=github)](https://github.com/bijux/bijux-phylogenetics/pkgs/container/bijux-phylogenetics%2Fbijux-phylogenetics)
64
+
65
+ [![phylogenetic docs](https://img.shields.io/badge/docs-phylogenetic-2563EB?logo=materialformkdocs&logoColor=white)](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/)
66
+ [![bijux-phylogenetics docs](https://img.shields.io/badge/docs-bijux--phylogenetics-2563EB?logo=materialformkdocs&logoColor=white)](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/)
67
+ <!-- bijux-phylogenetics-badges:generated:end -->
68
+
69
+ Compatibility alias package for `bijux-phylogenetics`.
70
+
71
+ This distribution installs the canonical phylogenetics runtime under the
72
+ shorter `phylogenetic` package and CLI names. It is not a reduced runtime and
73
+ it is not a fork. It points at the same benchmark, workflow, and reporting
74
+ surfaces that the canonical package publishes.
75
+
76
+ ```mermaid
77
+ flowchart LR
78
+ A[phylogenetic] --> B[Shorter install name]
79
+ A --> C[Shorter CLI name]
80
+ A --> D[Same canonical runtime behavior]
81
+ ```
82
+
83
+ ## Install
84
+
85
+ `phylogenetic` supports Python 3.11 and newer.
86
+
87
+ ```bash
88
+ python3.11 -m pip install phylogenetic
89
+ phylogenetic --help
90
+ ```
91
+
92
+ ## What You Still Get
93
+
94
+ Installing the alias package still gives you access to the same documented
95
+ runtime depth:
96
+
97
+ | Capability family | What carries through the alias |
98
+ | --- | --- |
99
+ | Trees and alignments | inspection, validation, comparison, and preparation workflows |
100
+ | Native runtime | native likelihood and native inference surfaces |
101
+ | Comparative analysis | comparative and ancestral workflows |
102
+ | Reporting | benchmark, workflow, and reporting surfaces |
103
+ | External engines | governed wrapper-backed external-engine workflows |
104
+
105
+ ## What The Alias Does Not Change
106
+
107
+ - it does not remove native inference surfaces
108
+ - it does not remove comparative, ancestral, or parsimony families
109
+ - it does not change the evidence-book or quality reading model
110
+ - it does not publish a smaller scientific contract than the canonical package
111
+
112
+ Choose this package when you want the shorter install and command names while
113
+ keeping the same public runtime contract.
114
+
115
+ Choose the canonical `bijux-phylogenetics` package instead when you want the
116
+ most explicit package name for notebooks, papers, release notes, or downstream
117
+ documentation.
118
+
119
+ ## Read This Next
120
+
121
+ - [Runtime product guide](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/)
122
+ - [Runtime architecture](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/architecture/)
123
+ - [Surface selection guide](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/interfaces/surface-selection/)
124
+ - [Artifact consumption guide](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/interfaces/artifact-consumption-guide/)
125
+ - [Native Inference And Benchmark Surfaces](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/interfaces/native-inference-and-benchmarks/)
126
+ - [Native maximum-likelihood workflows](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/operations/native-maximum-likelihood-workflows/)
127
+ - [Native Bayesian workflows](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/operations/native-bayesian-workflows/)
128
+ - [Native benchmark review](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/operations/native-benchmark-review/)
129
+ - [Release review workflow](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/quality/release-review-workflow/)
130
+ - [Evidence-book guide](https://bijux.io/bijux-phylogenetics/02-bijux-phylogenetics-evidence-book/)
131
+ - [Canonical runtime package on GitHub](https://github.com/bijux/bijux-phylogenetics/tree/main/packages/bijux-phylogenetics)
@@ -0,0 +1,84 @@
1
+ # phylogenetic
2
+
3
+ <!-- bijux-phylogenetics-badges:generated:start -->
4
+ [![Python 3.11+](https://img.shields.io/badge/python-3.11%2B-3776AB?logo=python&logoColor=white)](https://pypi.org/project/phylogenetic/)
5
+ [![License: Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-0F766E)](https://github.com/bijux/bijux-phylogenetics/blob/main/LICENSE)
6
+ [![Verify](https://github.com/bijux/bijux-phylogenetics/actions/workflows/verify.yml/badge.svg?branch=main)](https://github.com/bijux/bijux-phylogenetics/actions/workflows/verify.yml?query=branch%3Amain)
7
+ [![Release PyPI](https://img.shields.io/badge/release-pypi%20workflow-2563EB?logo=githubactions&logoColor=white)](https://github.com/bijux/bijux-phylogenetics/actions/workflows/release-pypi.yml)
8
+ [![Release GHCR](https://img.shields.io/badge/release-ghcr%20workflow-2563EB?logo=githubactions&logoColor=white)](https://github.com/bijux/bijux-phylogenetics/actions/workflows/release-ghcr.yml)
9
+ [![Release GitHub](https://img.shields.io/badge/release-github%20workflow-2563EB?logo=githubactions&logoColor=white)](https://github.com/bijux/bijux-phylogenetics/actions/workflows/release-github.yml)
10
+ [![Docs](https://github.com/bijux/bijux-phylogenetics/actions/workflows/deploy-docs.yml/badge.svg)](https://github.com/bijux/bijux-phylogenetics/actions/workflows/deploy-docs.yml)
11
+
12
+ [![phylogenetic](https://img.shields.io/pypi/v/phylogenetic?label=phylogenetic&logo=pypi)](https://pypi.org/project/phylogenetic/)
13
+ [![bijux-phylogenetics](https://img.shields.io/pypi/v/bijux-phylogenetics?label=bijux--phylogenetics&logo=pypi)](https://pypi.org/project/bijux-phylogenetics/)
14
+
15
+ [![phylogenetic](https://img.shields.io/badge/phylogenetic-ghcr-181717?logo=github)](https://github.com/bijux/bijux-phylogenetics/pkgs/container/bijux-phylogenetics%2Fphylogenetic)
16
+ [![bijux-phylogenetics](https://img.shields.io/badge/bijux--phylogenetics-ghcr-181717?logo=github)](https://github.com/bijux/bijux-phylogenetics/pkgs/container/bijux-phylogenetics%2Fbijux-phylogenetics)
17
+
18
+ [![phylogenetic docs](https://img.shields.io/badge/docs-phylogenetic-2563EB?logo=materialformkdocs&logoColor=white)](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/)
19
+ [![bijux-phylogenetics docs](https://img.shields.io/badge/docs-bijux--phylogenetics-2563EB?logo=materialformkdocs&logoColor=white)](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/)
20
+ <!-- bijux-phylogenetics-badges:generated:end -->
21
+
22
+ Compatibility alias package for `bijux-phylogenetics`.
23
+
24
+ This distribution installs the canonical phylogenetics runtime under the
25
+ shorter `phylogenetic` package and CLI names. It is not a reduced runtime and
26
+ it is not a fork. It points at the same benchmark, workflow, and reporting
27
+ surfaces that the canonical package publishes.
28
+
29
+ ```mermaid
30
+ flowchart LR
31
+ A[phylogenetic] --> B[Shorter install name]
32
+ A --> C[Shorter CLI name]
33
+ A --> D[Same canonical runtime behavior]
34
+ ```
35
+
36
+ ## Install
37
+
38
+ `phylogenetic` supports Python 3.11 and newer.
39
+
40
+ ```bash
41
+ python3.11 -m pip install phylogenetic
42
+ phylogenetic --help
43
+ ```
44
+
45
+ ## What You Still Get
46
+
47
+ Installing the alias package still gives you access to the same documented
48
+ runtime depth:
49
+
50
+ | Capability family | What carries through the alias |
51
+ | --- | --- |
52
+ | Trees and alignments | inspection, validation, comparison, and preparation workflows |
53
+ | Native runtime | native likelihood and native inference surfaces |
54
+ | Comparative analysis | comparative and ancestral workflows |
55
+ | Reporting | benchmark, workflow, and reporting surfaces |
56
+ | External engines | governed wrapper-backed external-engine workflows |
57
+
58
+ ## What The Alias Does Not Change
59
+
60
+ - it does not remove native inference surfaces
61
+ - it does not remove comparative, ancestral, or parsimony families
62
+ - it does not change the evidence-book or quality reading model
63
+ - it does not publish a smaller scientific contract than the canonical package
64
+
65
+ Choose this package when you want the shorter install and command names while
66
+ keeping the same public runtime contract.
67
+
68
+ Choose the canonical `bijux-phylogenetics` package instead when you want the
69
+ most explicit package name for notebooks, papers, release notes, or downstream
70
+ documentation.
71
+
72
+ ## Read This Next
73
+
74
+ - [Runtime product guide](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/)
75
+ - [Runtime architecture](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/architecture/)
76
+ - [Surface selection guide](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/interfaces/surface-selection/)
77
+ - [Artifact consumption guide](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/interfaces/artifact-consumption-guide/)
78
+ - [Native Inference And Benchmark Surfaces](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/interfaces/native-inference-and-benchmarks/)
79
+ - [Native maximum-likelihood workflows](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/operations/native-maximum-likelihood-workflows/)
80
+ - [Native Bayesian workflows](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/operations/native-bayesian-workflows/)
81
+ - [Native benchmark review](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/operations/native-benchmark-review/)
82
+ - [Release review workflow](https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/quality/release-review-workflow/)
83
+ - [Evidence-book guide](https://bijux.io/bijux-phylogenetics/02-bijux-phylogenetics-evidence-book/)
84
+ - [Canonical runtime package on GitHub](https://github.com/bijux/bijux-phylogenetics/tree/main/packages/bijux-phylogenetics)
@@ -0,0 +1,97 @@
1
+ [build-system]
2
+ requires = ["hatchling>=1.27.0,<1.31", "hatch-vcs>=0.4.0,<1.0"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "phylogenetic"
7
+ description = "Compatibility alias package for the canonical native phylogenetics runtime."
8
+ readme = "README.md"
9
+ requires-python = ">=3.11"
10
+ license = { text = "Apache-2.0" }
11
+ license-files = []
12
+ authors = [
13
+ { name = "Bijan Mousavi", email = "bijan@bijux.io" },
14
+ ]
15
+ keywords = [
16
+ "bayesian-inference",
17
+ "bioinformatics",
18
+ "comparative-biology",
19
+ "evolution",
20
+ "maximum-likelihood",
21
+ "phylogenetics",
22
+ ]
23
+ dynamic = ["version"]
24
+ classifiers = [
25
+ "Development Status :: 4 - Beta",
26
+ "Intended Audience :: Science/Research",
27
+ "Programming Language :: Python :: 3",
28
+ "Programming Language :: Python :: 3 :: Only",
29
+ "Programming Language :: Python :: 3.11",
30
+ "Topic :: Scientific/Engineering :: Bio-Informatics",
31
+ ]
32
+ dependencies = [
33
+ "bijux-phylogenetics>=0.1.0,<1.0",
34
+ ]
35
+
36
+ [project.urls]
37
+ Documentation = "https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/"
38
+ "Native Workflows" = "https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/operations/"
39
+ "Evidence Book" = "https://bijux.io/bijux-phylogenetics/02-bijux-phylogenetics-evidence-book/"
40
+ Benchmarks = "https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/operations/native-benchmark-review/"
41
+ "Interface Guide" = "https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/interfaces/surface-selection/"
42
+ "Artifact Guide" = "https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/interfaces/artifact-consumption-guide/"
43
+ "Release Guide" = "https://bijux.io/bijux-phylogenetics/01-bijux-phylogenetics/quality/release-review-workflow/"
44
+ Repository = "https://github.com/bijux/bijux-phylogenetics"
45
+ Issues = "https://github.com/bijux/bijux-phylogenetics/issues"
46
+ Changelog = "https://github.com/bijux/bijux-phylogenetics/blob/main/packages/phylogenetic/CHANGELOG.md"
47
+ Security = "https://github.com/bijux/bijux-phylogenetics/blob/main/SECURITY.md"
48
+
49
+ [project.optional-dependencies]
50
+ dev = [
51
+ "pytest>=9.0.3,<10.0",
52
+ "pytest-xdist>=3.8.0,<4.0",
53
+ "pytest-asyncio>=1.0.0,<2.0",
54
+ "pytest-cov>=6.2.1,<8.0",
55
+ "pytest-timeout>=2.4.0,<3.0",
56
+ "hatch>=1.14.0,<2.0",
57
+ "pydantic>=2.12,<3.0",
58
+ "ruff>=0.13.0,<1.0",
59
+ "mypy>=1.18.2,<3.0",
60
+ "vulture>=2.14,<3.0",
61
+ "deptry>=0.24.0,<1.0",
62
+ "bandit>=1.8.6,<2.0",
63
+ "pip-audit>=2.9.0,<3.0",
64
+ "build>=1.3.0,<2.0",
65
+ "codespell>=2.4.1,<3.0",
66
+ "pydocstyle>=6.3.0,<7.0",
67
+ "radon>=6.0.1,<7.0",
68
+ "twine>=6.2.0,<7.0",
69
+ ]
70
+
71
+ [project.scripts]
72
+ phylogenetic = "phylogenetic.cli:main"
73
+
74
+ [tool.hatch.version]
75
+ source = "vcs"
76
+ tag-pattern = "^v(?P<version>.*)$"
77
+ fallback-version = "0.1.0"
78
+ raw-options = { git_describe_command = "git describe --dirty --tags --long --match 'v*'", local_scheme = "dirty-tag", version_scheme = "guess-next-dev", root = "../..", search_parent_directories = true }
79
+
80
+ [tool.hatch.build]
81
+ include = [
82
+ "README.md",
83
+ "CHANGELOG.md",
84
+ "src/phylogenetic/**",
85
+ ]
86
+
87
+ [tool.hatch.build.targets.sdist]
88
+ exclude = ["LICENSE", "NOTICE", "tests"]
89
+ include = [
90
+ "README.md",
91
+ "CHANGELOG.md",
92
+ "src/phylogenetic/**",
93
+ ]
94
+ force-include = { "../../LICENSE" = "LICENSE", "../../NOTICE" = "NOTICE" }
95
+
96
+ [tool.hatch.build.targets.wheel]
97
+ packages = ["src/phylogenetic"]
@@ -0,0 +1,47 @@
1
+ """Compatibility alias module for bijux-phylogenetics."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from importlib import import_module, metadata
6
+ from typing import Any
7
+
8
+ from bijux_phylogenetics.comparative.common import (
9
+ ComparativeDataset as ComparativeDataset,
10
+ )
11
+
12
+ from .runtime_alias import install_runtime_aliases
13
+
14
+ _ALIAS_PACKAGE = "phylogenetic"
15
+ _RUNTIME_PACKAGE = "bijux_phylogenetics"
16
+ _LOCAL_SUBMODULES = frozenset({"__main__", "cli", "runtime_alias"})
17
+ _runtime_module = import_module(_RUNTIME_PACKAGE)
18
+
19
+ install_runtime_aliases(
20
+ alias_package=_ALIAS_PACKAGE,
21
+ runtime_package=_RUNTIME_PACKAGE,
22
+ local_submodules=_LOCAL_SUBMODULES,
23
+ )
24
+
25
+ for _name in getattr(_runtime_module, "__all__", ()):
26
+ if _name == "__version__":
27
+ continue
28
+ globals()[_name] = getattr(_runtime_module, _name)
29
+
30
+ try:
31
+ __version__ = metadata.version(_ALIAS_PACKAGE)
32
+ except metadata.PackageNotFoundError:
33
+ __version__ = "0.1.0"
34
+
35
+ __all__ = list(getattr(_runtime_module, "__all__", ()))
36
+ if "ComparativeDataset" not in __all__:
37
+ __all__.append("ComparativeDataset")
38
+
39
+
40
+ def __getattr__(name: str) -> Any:
41
+ """Forward top-level compatibility lookups to the canonical runtime package."""
42
+ return getattr(_runtime_module, name)
43
+
44
+
45
+ def __dir__() -> list[str]:
46
+ """Expose the canonical runtime attributes in interactive discovery."""
47
+ return sorted(set(globals()) | set(dir(_runtime_module)))
@@ -0,0 +1,8 @@
1
+ """Module entrypoint for the `phylogenetic` compatibility CLI."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from .cli import main
6
+
7
+ if __name__ == "__main__":
8
+ raise SystemExit(main())
@@ -0,0 +1,41 @@
1
+ """Compatibility CLI entrypoint for the `phylogenetic` distribution."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import argparse
6
+ from collections.abc import Sequence
7
+ from typing import Any
8
+
9
+ from bijux_phylogenetics.cli import build_parser as build_runtime_parser
10
+ from bijux_phylogenetics.cli import run_command as dispatch_runtime_command
11
+
12
+ __all__ = ["build_parser", "main", "run_command"]
13
+
14
+
15
+ def build_parser() -> argparse.ArgumentParser:
16
+ """Build the canonical command-line parser for the alias package."""
17
+ parser = build_runtime_parser()
18
+ parser.prog = "phylogenetic"
19
+ return parser
20
+
21
+
22
+ def run_command(
23
+ args: Any,
24
+ *,
25
+ parser: argparse.ArgumentParser | None = None,
26
+ ) -> int:
27
+ """Dispatch parsed command-line arguments through runtime handlers."""
28
+ if parser is None:
29
+ parser = build_parser()
30
+ return dispatch_runtime_command(args, parser=parser)
31
+
32
+
33
+ def main(argv: Sequence[str] | None = None) -> int:
34
+ """CLI entry point."""
35
+ parser = build_parser()
36
+ args = parser.parse_args(argv)
37
+ return run_command(args, parser=parser)
38
+
39
+
40
+ if __name__ == "__main__":
41
+ raise SystemExit(main())
@@ -0,0 +1,101 @@
1
+ """Route compatibility-package submodules to the canonical runtime package."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from collections.abc import Collection
6
+ from importlib import import_module
7
+ from importlib.abc import Loader, MetaPathFinder
8
+ from importlib.machinery import ModuleSpec
9
+ from importlib.util import find_spec
10
+ import sys
11
+ from types import ModuleType
12
+
13
+
14
+ class _RuntimeAliasLoader(Loader):
15
+ """Load the canonical runtime module for an alias-package submodule."""
16
+
17
+ def __init__(self, alias_name: str, runtime_name: str) -> None:
18
+ """Remember the alias and runtime module names for one import."""
19
+ self._alias_name = alias_name
20
+ self._runtime_name = runtime_name
21
+
22
+ def create_module(self, spec: ModuleSpec) -> ModuleType:
23
+ """Import the canonical runtime module and register the alias name."""
24
+ module = import_module(self._runtime_name)
25
+ sys.modules[self._alias_name] = module
26
+ return module
27
+
28
+ def exec_module(self, module: ModuleType) -> None:
29
+ """Keep the alias name bound to the already imported runtime module."""
30
+ sys.modules.setdefault(self._alias_name, module)
31
+
32
+
33
+ class _RuntimeAliasFinder(MetaPathFinder):
34
+ """Resolve alias-package submodules through the canonical runtime package."""
35
+
36
+ def __init__(
37
+ self,
38
+ *,
39
+ alias_package: str,
40
+ runtime_package: str,
41
+ local_submodules: Collection[str],
42
+ ) -> None:
43
+ """Configure one alias-package namespace bridge."""
44
+ self.alias_package = alias_package
45
+ self.runtime_package = runtime_package
46
+ self.local_submodules = frozenset(local_submodules)
47
+ self._alias_prefix = f"{alias_package}."
48
+
49
+ def find_spec(
50
+ self,
51
+ fullname: str,
52
+ path: object | None = None,
53
+ target: ModuleType | None = None,
54
+ ) -> ModuleSpec | None:
55
+ """Return an alias-module spec when the runtime module exists."""
56
+ del path, target
57
+ if not fullname.startswith(self._alias_prefix):
58
+ return None
59
+ module_suffix = fullname.removeprefix(self._alias_prefix)
60
+ if module_suffix.partition(".")[0] in self.local_submodules:
61
+ return None
62
+ runtime_name = f"{self.runtime_package}.{module_suffix}"
63
+ runtime_spec = find_spec(runtime_name)
64
+ if runtime_spec is None:
65
+ return None
66
+ alias_spec = ModuleSpec(
67
+ name=fullname,
68
+ loader=_RuntimeAliasLoader(fullname, runtime_name),
69
+ origin=runtime_spec.origin,
70
+ is_package=runtime_spec.submodule_search_locations is not None,
71
+ )
72
+ if runtime_spec.submodule_search_locations is not None:
73
+ alias_spec.submodule_search_locations = list(
74
+ runtime_spec.submodule_search_locations
75
+ )
76
+ return alias_spec
77
+
78
+
79
+ def install_runtime_aliases(
80
+ *,
81
+ alias_package: str,
82
+ runtime_package: str,
83
+ local_submodules: Collection[str],
84
+ ) -> None:
85
+ """Install a finder that maps alias-package submodules onto runtime modules."""
86
+ for finder in sys.meta_path:
87
+ if not isinstance(finder, _RuntimeAliasFinder):
88
+ continue
89
+ if (
90
+ finder.alias_package == alias_package
91
+ and finder.runtime_package == runtime_package
92
+ ):
93
+ return
94
+ sys.meta_path.insert(
95
+ 0,
96
+ _RuntimeAliasFinder(
97
+ alias_package=alias_package,
98
+ runtime_package=runtime_package,
99
+ local_submodules=local_submodules,
100
+ ),
101
+ )