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 basic tests in directory tests
; see the dependencies
in the pyproject.toml file.
To run tests you have to use pytest. To run all tests just run it in the top level directory of the project:
pytest
See the pytest documentation for more info.
The documentation is available in docs
directory. You can build it using:
sphinx-build -b html docs docs-html
[*] | Project logo is assembled from images by Freepik |