This directory contains the Python modules for the cuOpt project.
- Each subdirectory contains the Python modules for a specific cuOpt package. For example,
libcuoptdirectory contains the Python wrappers for the cuOpt C++ library. This is the main package for the cuOpt project. And it just loads shared libraries and make it available for other Python modules.cuoptPython package useslibcuoptpackage as dependency and build on top of it.
python/
├── libcuopt/
├── cuopt/
└── ...- Each of these Python modules have a
testsdirectory that contains the tests for the module. Python tests are written usingpytest. For example,python/cuopt/cuopt/tests/directory contains the tests for thecuoptPython package.
python/
├── cuopt/
│ ├── cuopt/
│ │ └── tests/
│ └── ...
└── ...- Each of these Python modules have a
pyproject.tomlfile that contains the dependencies for the module. For example,python/cuopt/pyproject.tomlfile contains the dependencies for thecuoptPython package.
python/
├── cuopt/
│ ├── pyproject.toml
│ └── ...
└── ...- The dependencies are defined in the dependencies.yaml file in the root folder. For example, the
python/cuopt/pyproject.tomlfile contains the dependencies for thecuoptPython package. Therefore, any changes to dependencies should be done in the dependencies.yaml file. Please refer to different sections in the dependencies.yaml file for more details.