Parsing library for re-structuring datasets of pv plants. Parsing Library consist of two packages parsing python library as an extension and refacto c++ library.
CMake v3.15+ - found at https://cmake.org/
C++ Compiler - needs to support at least the C++17 standard, i.e. MSVC, GCC, Clang
Build dev container
cd docker
docker-compose build
docker-compose run refacto bash
mkdir build/ && cd build/
cmake .. -DCMAKE_INSTALL_PREFIX=/absolute/path/to/custom/install/directory
cmake --build . --target install
Note: to disable to build test add -DRefacto_ENABLE_UNIT_TESTING=OFF
flag
cd build # if not in the build directory already
ctest -C Release # or `ctest -C Debug` or any other configuration you wish to test
This will compile all the code, build the c++ library and run the tests.
Modules:
Name | Type | Library |
---|---|---|
XMLParser | XML files | Refacto & Parsing |
CSVParser | CSV files | Refacto & Parsing |
Decompressdir | Compressed files | Refactor & Parsing |
Compressdir | XML and CSV files | Refactor & Parsing |
Cleandir | Clean files | Refactor & Parsing |
Python Package QParsing is located interface/py3
To build the package
python3 setup.py install_library build_ext sdist bdist_wheel