Python API¶
Warning
The full Python API is experimental. See the Conan stability section for more information.
The Python API is a set of Python classes that allow you to interact with Conan programmatically. It’s designed to be used as part of the custom commands extension point, or in Python scripts or applications, providing a more flexible and powerful way to work with Conan than the command line interface.
It is organized in submodules, each one providing a specific set of functionalities.
Note that only the documented public members of these classes are guaranteed to be stable, and the rest of the members are considered private and can change without notice.
There are also some model classes that represent the data structures used in the API. Note that as with the API, only the documented public members are guaranteed to be stable, and the rest of the members are considered private and can change without notice.