Registry / ai-ml / hstrat

hstrat

JSON →
library1.25.0pypypi✓ verified 84d ago

hstrat enables phylogenetic inference on distributed digital evolution populations. It provides tools for reconstructing evolutionary history from digital organisms. Current version is 1.25.0, with a monthly release cadence.

pip install hstrat
INSTALL
IMPORT
SIG · HSTRAT
H
hstrat
ai-mlpythonv1.25.0
Install
35.2s avg
Import
20ms
Disk
511MB
Pass rate
1/ 10
Env Coverage1 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.13.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
glibc
py 3.10
✕ build_error
✕ build_error
py 3.11
✕ build_error
✕ build_error
py 3.12
✕ build_error
✕ build_error
py 3.13
✕ build_error
✕ build_error
py 3.9
✕ build_error
✓ 35.2s
511MB installed
● package 511MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

hstrat
import hstrat
Main package; no common import mistake.

Basic usage: import hstrat and create a HereditaryStratigraphicColumn.

import hstrat import os # Example: create a simple phylogenetic tree from hstrat import hstrat col = hstrat.HereditaryStratigraphicColumn() # Deposit a stratum col.DepositStrata(1) print('Column deposited successfully')
hstrat --version
Debug
Known issues
breakingIn version 1.0.0, the API was overhauled. Many functions were renamed or moved. Upgrade carefully.
fix
Migrate to 1.x API: refer to migration guide at https://hstrat.readthedocs.io/en/latest/migration.html
affects: <1.0.0
gotchaThe package requires Python >=3.10; using older versions will cause import errors.
fix
Update Python to 3.10 or newer.
affects: all
deprecatedThe function `hstrat.deprecated_func` is deprecated since 1.20.0 and will be removed in 2.0.0.
fix
Replace with `hstrat.new_func` as per deprecation warning details.
affects: >=1.20.0
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'hstrat'
hstrat not installed or Python environment not matching.
fix
Run `pip install hstrat` and ensure Python >=3.10.
AttributeError: module 'hstrat' has no attribute 'HereditaryStratigraphicColumn'
Wrong import path; class is inside submodules.
fix
Use `from hstrat import hstrat; col = hstrat.HereditaryStratigraphicColumn()` or `from hstrat.hstrat import HereditaryStratigraphicColumn`.
TypeError: __init__() got an unexpected keyword argument 'foo'
API mismatch with older version.
fix
Check the API documentation for your version. Use ``help(hstrat.HereditaryStratigraphicColumn)`` to see correct parameters.
Upgrade
Version history
1.25.0latest on PyPI · released Mar 13, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
Resources
hstrat — pip install hstrat · libregistry