Skip to main content

PyPI License: MIT Docs MBE DOI

physquirrel logo

physquirrel is the Python library for Squirrel—an algorithm for reconstructing semi-directed phylogenetic level-1 networks from quarnets and/or sequence alignments. It builds on phylozoo for network representations and numba for JIT-accelerated computation.


Key Features

  • δ-heuristic: construct quarnets (4-leaf subnetworks) from multiple sequence alignments in .fasta or .nexus format
  • Squirrel algorithm: reconstruct semi-directed phylogenetic level-1 networks from quarnets
  • eNewick export: serialize phylogenetic trees and networks in eNewick format
  • Visualization: plot phylogenetic networks via the optional viz dependency

Installation

pip install physquirrel

Runtime dependencies (phylozoo, numpy, networkx, numba) are installed automatically. For visualization extras:

pip install physquirrel[viz]

Documentation

For the full manual, API reference, and installation guide, visit the physquirrel docs.

Citation

If you use physquirrel, please cite:

Niels Holtgrefe, Katharina T. Huber, Leo van Iersel, Mark Jones, Samuel Martin, and Vincent Moulton. Squirrel: Reconstructing semi-directed phylogenetic level-1 networks from four-leaved networks or sequence alignments. Molecular Biology and Evolution, 42(4):msaf067, 2025. doi: 10.1093/molbev/msaf067

See also

For the graphical user interface developed for the paper, please go to gui/.

For the experimental materials corresponding to the paper, please go to experiments/.

Metadata

Release files for physquirrel 2.0.1

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

Source distribution (sdist)

Source distribution for physquirrel 2.0.1
File Size Uploaded Provenance Actions
physquirrel-2.0.1.tar.gz 46.1 kB With provenance Details for physquirrel-2.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for physquirrel 2.0.1
File Interpreter ABI Platform Actions
physquirrel-2.0.1-py3-none-any.whl Python 3 none any Details for physquirrel-2.0.1-py3-none-any.whl

Total release size: 80.7 kB

Release files / physquirrel-2.0.1.tar.gz

Download URL physquirrel-2.0.1.tar.gz
Size 46.1 kB
Tags Source
SHA-256 checksum
How to use checksums
37a34b642065fcd01cfbd9b4b749b068718abfe147f4b5f1d21a893a4f6ef239
BLAKE2b-256 checksum
How to use checksums
41d182a0c3dec031c3a190d6301fedf4ab934f8b3bffae8ff112c5e9cc62a54f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 23, 2026.

Transparency log

Release files / physquirrel-2.0.1-py3-none-any.whl

Download URL physquirrel-2.0.1-py3-none-any.whl
Size 34.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e564aae880071761a80e02586db75a2460ea6db84fb67828a4bf3ca3a820bf3b
BLAKE2b-256 checksum
How to use checksums
771c5f8465d2f6476bbb84be65ca22eb1585a2a6fa873e52b5be827a425775ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 23, 2026.

Transparency log

Security for physquirrel 2.0.1

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for physquirrel-2.0.1.tar.gz

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 Oct 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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