Add a new cnfvar2 API
authorSamir Aguiar <samir.aguiar@intra2net.com>
Sun, 15 Aug 2021 17:43:00 +0000 (14:43 -0300)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Mon, 4 Apr 2022 12:24:59 +0000 (14:24 +0200)
commitd31714a0a1f2d997263f0e3d707fb69abb6dc856
tree8a153e8a7bdc24ea9ac98c0a659a74548adf9760
parent4f4604814b8988ca2bc75d6baf29b75d6b7319c5
Add a new cnfvar2 API

It is composed of three main modules:
- binary: wrappers around the get_ and set_cnf binaries
- model: provides Cnf and CnfList classes, which are Python
representation of cnfvars with dozens of facility methods to
manipulate them
- store: classes implemented using the repository pattern that
run queries against the arnied API or the binaries using the above
module and return CnfList instances
setup.py
src/cnfvar/__init__.py [new file with mode: 0644]
src/cnfvar/binary.py [new file with mode: 0644]
src/cnfvar/model.py [new file with mode: 0644]
src/cnfvar/store.py [new file with mode: 0644]
test/cnfvar/__init__.py [new file with mode: 0644]
test/cnfvar/cnfs.cnf [new file with mode: 0644]
test/cnfvar/test_binary.py [new file with mode: 0644]
test/cnfvar/test_model.py [new file with mode: 0644]
test/cnfvar/test_store.py [new file with mode: 0644]
test/test_arnied_api.py