semvec/pypi-packages huggingface dataset:
itolparser 0.2.1
Generate iTOL files from tables
Requires Python: >=3

# itolparser
Small script to produce iTOL colorstrip metadata files from a table

# Background

iTOL is a web interface to display and manipulate phylogenetic trees, together with metadata. Producing these metadata files can be cumbersome, which is why this script might come in handy.

# Method

itolparser takes a table as input file, and loops through each column. By default, all columns are parsed as categorical. Specific columns can be parsed as continuous by providing a comma-separated list of column names with `--continuous` or ignore columns with `--ignore`.

For categorical columns, colours are selected based on the number of categories in the column. If there are more than 18 values, random colours are generated. Additionally, an annotation file will be created (labeled with `_filtered`) where a maximum number of colours is used, sorted on occurrence (controlled by `--maxcategories`) and uses grey color for other categories. This is e.g. useful for ST typing, which is categorical data often with a lot of different values.

Output files are written to a directory. Parameters such as margin and colorstrip width can be controlled with `--margin` and `--stripwidth` respectively (these can also be changed online in iTOL itself).

# Bugs and suggestions

Create an issue or shoot me an email at boas [dot] vanderputten [at] amsterdamumc [dot] nl
bundle-app 1.0.2
Constructs a macOS App bundle with a python executable.
Requires Python: >=3.10
Keywords: files,metadata

Bundle App
==========

This python package builds a macOS Application bundle for
a python/tkinter app.  It embeds the frameworks built by
the 3-manifolds frameworks project within the app.

To get started, by building a simple example app, run
this command::

    python3 -m bundle_app.init Silly

This will create a directory named silly which serves
as a development directory for the app.  In particular,
the script main.py is what runs your app.  To create your
silly app, do::

    cd silly
    python3 -m bundle_app.build

When you build your real app you will want to replace
the icon file with one designed for your app and edit
main.py so that it runs your app.  You may create a
Requirements.txt file in the development directory to
specify pypi packages which should be installed within
the embedded python framework.  You may also edit
info.toml and the sdef file to suit your needs. 

To add pypi packages to your app, add a standard
requirements.txt file to the development directory
and run::

    python3 -m bundle_app.add_packages

To remove unnecessary components and reduce the size
of your app bundle, first edit the file superfluous.txt
and then run::

    python3 -m bundle_app.streamline