Note
This is the main/production branch of this repository. For more information about the different releases go to the release tab or switch the branch to "X.Y.Z-stubs".
This project provides type stubs for pyds to improve the support of these important bindings in IDEs.
With the usage of this project, you agree to the license terms, found in the License chapter. This project is not affiliated with NVIDIA or the authors and maintainer of the pyds repository. It is the result of the need for type hints for a simpler and more stable implementation of DeepStream pipelines in Python.
Note
The stubs are distributed as a third-party stub-only library according to PEP 561 because this project is not related to NVIDIA and if they ship stubs, this project can easily be deprecated and publicly archived.
This library can be easily installed with pip.
The stub versions matches the versions of pyds. For example, stub version 1.1.8 fits to pyds
version
1.1.8. If any fix has to be applied, the fourth position would be incremented. So the first fix of
1.1.8 results in 1.1.8.1.
Please pin your version directly or limit it upper-wise like:
pyds-stubs>=1.1.8,<1.1.9
There is no magic, just only import pyds as you would normally do. This package is intended to be used during the development and can be omitted in runtime environments.
This project is published under Apache License, Version 2.0 - please comply with it, if you use/modify/distribute it. The license can be found in "LICENSE".
I recently (Jun, 2025) saw a discussion on your forum. If there is any official stub support by NVIDIA, this project will be deprecated and publicly archived. I hope to hear from you ;)