not used in favor of an improved pure-python algorithm
op_hierarchical_chainmap
A faster HierarchicalChainMap built for Octoprint with pybind11. This requires Python 3.6+.
Usage
$ git clone git@github.com:flaviut/op-hierarchical-chainmap.git
$ cd op-hierarchical-chainmap
$ virtualenv venv
$ source venv/bin/activate
$ pip install .
$ pip install pytest
$ pytest # run chainmap unit tests
$ python ./tests/test.py # run HierarchicalChainMap.deep_dict() performance tests
Development
Clion was used in the development of this program. You can open this as a Clion project using the CMakeLists.txt
file.
License
The C++ extension is licensed under the Apache 2.0 license.
Certain unit tests as well as part of HierarchicalChainMap are licensed under the AGPLv3. If you wish to use the Apache-2.0 parts of this project under that license, you may not include the AGPLv3 parts in your usage.