Skip to main content

hstrat makes working with values that might be None safer and easier

Project description

hstrat

https://img.shields.io/pypi/v/hstrat.svg https://img.shields.io/travis/mmore500/hstrat.svg Documentation Status

hstrat enables phylogenetic inference on distributed digital evolution populations

from hstrat import hstrat


individual1 = hstrat.HereditaryStratigraphicColumn()
individual2 = hstrat.HereditaryStratigraphicColumn()

individual1_child1 = individual1.CloneDescendant()

individual1.HasAnyCommonAncestorWith(individual2) # -> False
individual1_child1.HasAnyCommonAncestorWith(individual2) # -> False

individual1_grandchild1 = individual1_child1.CloneDescendant()
individual1_grandchild2 = individual1_child1.CloneDescendant()

individual1_grandchild1.CalcRankOfMrcaBoundsWith(
  individual1_grandchild2,
) # -> (1, 2)

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.0.0 (2022-02-22)

  • First release on PyPI.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hstrat-0.1.0.tar.gz (57.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hstrat-0.1.0-py2.py3-none-any.whl (84.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file hstrat-0.1.0.tar.gz.

File metadata

  • Download URL: hstrat-0.1.0.tar.gz
  • Upload date:
  • Size: 57.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for hstrat-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7fe9240fece49ff92658405cce54e06b10910a1404042fb99985d765fffac041
MD5 e5c4074e9a8ff54725922b904d89f8bd
BLAKE2b-256 9697fc065afae6438690198d7de42a291c47f29430627aa97162096e1799fe21

See more details on using hashes here.

File details

Details for the file hstrat-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: hstrat-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 84.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for hstrat-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 691d420ae9628a4c096174cf4d98a74d606e7afb389750b62579d9390e276d67
MD5 35d57af7dc27f488d7c40458464aaca2
BLAKE2b-256 342ef275049590a3280b25a71412cb58a9adbccce62fff05350c311fd30fe0b5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page