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.1.tar.gz (58.1 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.1-py2.py3-none-any.whl (84.6 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: hstrat-0.1.1.tar.gz
  • Upload date:
  • Size: 58.1 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.1.tar.gz
Algorithm Hash digest
SHA256 3275fa71ce28db6370b903ba1c2c94feee6c74f6a8b4e968615b547ece72f7e0
MD5 f8107537c1ea5caf99721a466d0af87c
BLAKE2b-256 abe5e7025160f3ac3252c2fd5ecd8c6ab1e646cd024c246e9adcc4e440a7cfe7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hstrat-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 84.6 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.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 19e568f30808d3bd7859b45bf50c79699a36d0b55fedf428c5bb5e84e90c5ee5
MD5 4dd4a03a257925d6cd87729166e4ffc6
BLAKE2b-256 541ebc6b092eabfedfda37b421be43d042c433abd746f4af8a86026ebc80b5bf

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