Skip to main content

Newick Tree Validator and Formatter

Simple utility to validate and format Newick trees.

Usage

Validation without formatting:

./main.py <tree.nwk>

In place formatting:

./main.py <tree.nwk> --inplace

Outputting formatted tree to a separate file:

./main.py <tree.nwk> --outfile <output.nwk>

Outputting list of terminal nodes into a text file:

./main.py <tree.nwk> --terminals <terminals.txt>

Requirements

  • Python
  • Typer
  • BioPython

Release

This project uses Poetry for dependency management and packaging.

To build a release, run:

poetry build

To publish a release to PyPI, run:

poetry publish

Metadata

Release files for nwkfmt 0.2.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 nwkfmt 0.2.0
File Size Uploaded Provenance Actions
nwkfmt-0.2.0.tar.gz 3.1 kB Without provenance Details for nwkfmt-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 6.7 kB

Release files / nwkfmt-0.2.0.tar.gz

Download URL nwkfmt-0.2.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b9d8c780199b7cbaaafb34a6bef9abace923e42562525b0aedc3a0a9724d9739
BLAKE2b-256 checksum
How to use checksums
a175f6ce1ee8d149a1f7a87de7ea6fdf608fef3b557fed6a79c23bb4801350aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.0 CPython/3.11.3 Darwin/22.5.0

Release files / nwkfmt-0.2.0-py3-none-any.whl

Download URL nwkfmt-0.2.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69f5ef8f2e106c7c950d85449ee5b17a2f90b4ec487d60fa3fcd88d5b63b9dd5
BLAKE2b-256 checksum
How to use checksums
1726879a4063c892b2136444a83812d11b1392928667e042b2f0aff1fd9aa336
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.0 CPython/3.11.3 Darwin/22.5.0

Security for nwkfmt 0.2.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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