Installation

Treevalue is currently hosted on PyPI. It required python >= 3.6.

You can simply install Treevalue from PyPI with the following command:

pip install treevalue

You can also install with the newest version through GitHub:

pip install -U git+https://github.com/opendilab/treevalue.git@main

After installation, open your shell console and use the cli like the script below.

1
2
3
treevalue -v &&
  echo '' &&
  treevalue -h
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
Treevalue, version 1.2.1.
Developed by HansBug (hansbug@buaa.edu.cn), DI-engine's Contributors.

Usage: treevalue [OPTIONS] COMMAND [ARGS]...

Options:
  -v, --version  Show package's version information.
  -h, --help     Show this message and exit.

Commands:
  export  Export trees to binary files, compression is available.
  graph   Generate graph by trees and graphviz elements.

In newest version of treevalue, cli is supported to do some data processing. Here is the version and help display.

Treevalue is still under development, you can also check out the documents in stable version through https://opendilab.github.io/treevalue/.