Using the APIΒΆ

In addition to the pyinfra CLI, pyinfra provides a full Python API. As of v3 this API can be considered mostly stable. See the API Reference.

An example of how to use the API can be found here. Note: this is not yet tested and pending future updates.