Skip to main content

TreeLab is part of MOLA software, fully sharing its license and rights.

Installation

From sources

Use git clone command in order to download the source files:

git clone https://github.com/Luispain/TreeLab

From a working Python environment, you can compile using pypi. For example, a user-only installation would be done as follows:

python3 -m pip --user install .
  • You may use --user option on order to install only for current user.
  • You can use --prefix option to specify the directory where the installation will be done
  • You can use -e option to install in developer mode; such that any change in *.py source files will be immediately take effect

If you do not have admin rights and you encounter problems using --prefix, then try force reinstalling all dependencies:

python3 -m pip install --force-reinstall --no-cache-dir --ignore-installed --prefix=/your/path/to/treelab/installation mola-treelab

From stable releases

PyPi

python3 -m pip --user install mola-treelab

Make sure that the installation bin directory is seen by your PATH environment variable. For exemple, in Linux:

export PATH=$PATH:~/.local/bin

Usage

You may use the API of TreeLab using a python script:

from treelab import cgns
n = cgns.Node( Name='jamon', Value=['croquetas', 'morcilla'])
n.save('out.cgns', verbose=True)

From command line, you can launch the GUI using treelab command, optionnaly followed by the absolute or relative path of the CGNS file to open and optionally using the -s option in order to load only the skeleton of the tree, for example:

treelab out.cgns

treelab showing node

Metadata

Release files for mola-treelab 0.4.6

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

Source distribution (sdist)

Source distribution for mola-treelab 0.4.6
File Size Uploaded
mola_treelab-0.4.6.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mola-treelab 0.4.6
File Interpreter ABI Platform
mola_treelab-0.4.6-py3-none-any.whl Python 3 none any Details

Total release size: 158.2 kB

Release files / mola_treelab-0.4.6.tar.gz

Download URL mola_treelab-0.4.6.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4db76e6d1d7c884f6bd309adeada9edf01f6edc2969fd3d441e531d64188f07c
BLAKE2b-256 checksum
How to use checksums
ab7a19324be06462d78f4d1af9d118e7bdb52ce7a724108f5805169e8ae50f68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release files / mola_treelab-0.4.6-py3-none-any.whl

Download URL mola_treelab-0.4.6-py3-none-any.whl
Size 153.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2a2c4e5f4e471992d79a58d3535191690f946e59e400cd7befd27929b0f2bfc1
BLAKE2b-256 checksum
How to use checksums
e43e8e41347b0348a11f82287df15d1f8ead094ba349c9aed7b26744096b4593
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release history Release notifications | RSS feed

This release

0.4.6 This release

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

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