Skip to content

OpenVINO Python API structure

Anastasia Kuporosova edited this page Dec 5, 2022 · 10 revisions

OpenVINO Python API has the following structure:

src/bindings/python
            ├── docs                                          - root folder for Python API
            ├── src
            │     ├── compatibility                           - all sources for the old Python API (a.k.a. Python API 1.0)
            │     │         ├── ngraph                        - python source code for nGraph API
            │     │         ├── openvino                       
            │     │         │        ├── inference_engine     - source code for openvino.inference_engine API
            │     │         │        ├── requirements.txt     - requirements which are need to be installed for building and using Python API 1.0
            │     │         │        ├── requirements-dev.txt - requirements which are need to be installed for building Python API 1.0
            │     │         │        └── requirements_dev.txt - requirements which are need to be installed for running codestyle check for Python API 1.0
            │     │         └── pyngraph                      - binding code for nGraph API 
            │     ├── openvino
            │     │         ├── frontend                      -
            │     └── pyopenvino
            │               ├── core                          - 
            │               ├── frontend                      -
            │               ├── graph                         -
            │               ├── test_utils                    -
            │               ├── utils                         -
            │               └── pyopenvino.cpp                -  
            ├── tests                                         - tests for Python API 2.0 (2022.1 release and newer)
            │    ├── mock
            │    ├── test_frontend
            │    ├── test_graph
            │    ├── test_onnx
            │    ├── test_runtime
            │    ├── test_transformations
            │    └── test_utils                               - functions, models which are used in tests
            ├── tests_compatibility                           - tests for Python API 1.0
            │    ├── test_inference_engine
            │    ├── test_ngraph
            │    ├── test_onnx
            │    └── test_utils                               - functions, models which are used in tests
            ├── thirdparty
            │    └── pybind11                                 - pybind11 library which is used for building Python API 2.0
            ├── wheel                                         - source files which build Python API wheel package
            │    └── requirements-dev.txt                     - requirements which are need to be installed for building Python API wheel package
            ├── requirements.txt                              - requirements which are need to be installed for building and using Python API
            └── requirements_test.txt                         - requirements which are need to be installed for testing Python API

Clone this wiki locally