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 python console and type

1
2
3
4
5
from treevalue.config.meta import __VERSION__, __TITLE__, __AUTHOR__

if __name__ == '__main__':
    print(__TITLE__, __VERSION__)
    print("Powered by", __AUTHOR__)

If the output is like below and no error occurs, you have successfully installed Treevalue.

1
2
treevalue 0.0.1
Powered by HansBug, DI-engine's Contributors

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