This provides common parser and validator for Silicon Heaven tree representation. It is formed of nodes forming path and methods associated with those paths as defined in Silicon Heaven RPC.
The SHV Tree simplifies and implements common operations such as ls and dir methods and basic type description. The core of this project is definition of format describing the tree but it also provides SHV device implementation based on the provided tree.
The installation can be done with package manager pip
.
$ pip install pyshvtree
This project contains tests in directory tests
.
To run tests you have to use pytest. To run all tests just run it in the top level directory of the project. See the pytest documentation for more info.
The documentation is stored in docs directory. You can build the latest version from the source code using:
$ sphinx-build -b html docs docs-html
[*] | Project logo is assembled from images by Freepik |