openvino/src/bindings/python
Przemyslaw Wysocki 84a3aab115
[PyOV] Backport of wheel building fix (#19013)
* Add upper bound

* backport flake fix

* Support of protobuf >= 21 (#18351)

* Corrected typo

* Ability to compile with newer protobuf versions

* Limit numpy (#18406)

* Revert "[PyOV] Pin version of Cython for API 1.0 (#18604)" (#18681)

* Revert "[PyOV] Pin version of Cython for API 1.0 (#18604)"

This reverts commit 787796d88f.

* Suppressed clang warning

* Restrict scipy module version for POT (#18237)

* Restrict scipy module version for POT

Latest release https://pypi.org/project/scipy/1.11.0 causes dependency conflicts

* Bump OMZ to include scipy restriction

---------

Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>

---------

Co-authored-by: Ilya Lavrenov <ilya.lavrenov@intel.com>
Co-authored-by: Alina Kladieva <alina.kladieva@intel.com>
Co-authored-by: Roman Kazantsev <roman.kazantsev@intel.com>
2023-08-07 18:23:05 +04:00
..
docs [Docs][PyOV] Fix broken link to section (#16553) 2023-03-26 21:58:52 +04:00
src [PyOV] Backport of wheel building fix (#19013) 2023-08-07 18:23:05 +04:00
tests [PyOV] Backport of wheel building fix (#19013) 2023-08-07 18:23:05 +04:00
tests_compatibility [CPU] Enable Python test test_infer_request.test_infer_mixed_values with bool for ARM (#17111) 2023-04-21 19:52:32 +04:00
thirdparty [PyOV] Bump pybind to 2.10.4 (#17251) 2023-04-27 16:41:45 +04:00
wheel [PyOV] Backport of wheel building fix (#19013) 2023-08-07 18:23:05 +04:00
.clang-format Rename runtime to src (#8842) 2021-11-27 11:28:25 +03:00
.gitignore [PyOV] Making offline_transformations a private module (#13213) 2022-09-28 18:38:52 +02:00
CMakeLists.txt Fixed Python API build for Ubuntu 22.04 with python3.11 (#17297) 2023-04-29 03:38:01 +04:00
README.md [DOCS] Link adjustment for dev docs + fix to build.md CPU link for 23.0 (#17747) 2023-05-31 11:34:22 +02:00
constraints.txt [PyOV] Backport of wheel building fix (#19013) 2023-08-07 18:23:05 +04:00
pyproject.toml [PYTHON API] Check new config (#11402) 2022-06-13 10:21:04 +02:00
requirements.txt [PyOV] OVDict class - new return value from inference (#16370) 2023-03-22 16:12:07 +01:00
requirements_test.txt limit linter (#17624) 2023-05-22 23:58:06 +04:00
setup.cfg [PyOV] Fix mypy after bump, general refactor (#13913) 2022-11-08 19:26:39 +04:00
setup.py Interpolate 11 exposed to Python (#16465) 2023-03-22 18:12:16 +00:00

README.md

OpenVINO Python API

OpenVINO Python API is a part of the OpenVINO library. The component is responsible for:

  • Bindings of OpenVINO - allowing users to use the OpenVINO library in their Python code. Python API provides bindings to basic and advanced APIs from OpenVINO Runtime.
  • Extending OpenVINO with pythonic features - on top of direct translations from C++, Python API component:
    • Adds specific extensions to support numpy-based data.
    • Provides support for external frameworks inputs.
    • Provides shortcuts and helpers with more pythonic design.
    • Allows to apply advanced concepts, like shared memory, to take full advantage of OpenVINO.

OpenVINO Python API uses the common codestyle checks which are adjusted to project needs.

Key contacts

If you have any questions, feature requests or want us to review your PRs, send us a message or ping us on GitHub via openvino-ie-python-api-maintainers. You can always directly contact everyone from this group.

Components

OpenVINO PYTHON API has the following structure:

  • docs - folder that contains developer documentation and code examples.
  • src - folder with all source files for Python API.
  • tests - tests directory for current API.
  • tests_compatibility - tests directory for compatibility API.
  • thirdparty - folder that contains third-party modules like pybind11.
  • wheel - wheel-specific directory that contains all specific requirements and files used during wheel creation.

Tutorials

If you want to contribute to OpenVINO Python API, here is the list of learning materials and project guidelines:

See also