Skip to main content

Haplodemo

PyPI - Version PyPI - Python Version GitHub - Tests GitHub - Windows GitHub - macOS

A graphical backend module to visualize, edit and export haplotype networks.

This is not a standalone application. For an implementation that visualizes sequence files, visit Hapsolutely.

Examples

Lay out the initial graph using a modified spring algorithm:

Long tree

Interact with the graph before saving the results:

Heavy tree

Supports haploweb visualization:

Haploweb

Installation

Haplodemo is available on PyPI. You can install it through pip:

pip install itaxotools-haplodemo

Executables

Standalone executables are included for demonstrating the library capabilities.

It is not possible to open custom haplotype networks with the demo program.

Release Windows MacOS

Usage

Launch the demo application to get an overview of the features: haplodemo

Demo

To get started on instantiating the scene, view and controls, look at window.py.

For some examples of data visualization, look at demos.py.

For a comprehensive example of a network in YAML format, look at members_graph.yaml.

The network can be given in tree or graph format using the HaploTreeNode and HaploGraph types. It is also possible to load a network from a properly formatted YAML file, or directly from a Python dictionary. Alternatively, populate the scene manually with nodes and edges.

Release files for itaxotools-haplodemo 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for itaxotools-haplodemo 0.3.0
File Size Uploaded
itaxotools_haplodemo-0.3.0.tar.gz 865.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for itaxotools-haplodemo 0.3.0
File Interpreter ABI Platform
itaxotools_haplodemo-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 950.4 kB

Release files / itaxotools_haplodemo-0.3.0.tar.gz

Download URL itaxotools_haplodemo-0.3.0.tar.gz
Size 865.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0a5a1f74991d97af99631fdcaea4d9013047bc401f2f8d1c141c267e6e1b3ab4
BLAKE2b-256 checksum
How to use checksums
1bbb776036ebde70878c12e5a09fc2f7507ea0358973f4eeb3e99019d0b4c9b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 4, 2025.

Transparency log

Release files / itaxotools_haplodemo-0.3.0-py3-none-any.whl

Download URL itaxotools_haplodemo-0.3.0-py3-none-any.whl
Size 84.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b4293fdc950db1e469a2972c7221457648661a40e3d90d994921c23790520c29
BLAKE2b-256 checksum
How to use checksums
b98ecf0c9b7418554e7366b4603bee2c51cad61232606c69627fdfbd9247bb8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 4, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page