# API

pibootctl can be used both as a standalone application, and as an API within Python. The primary class of interest when using pibootctl as an API is `Store` in the `pibootctl.store` module, but `pibootctl.main` is useful for providing an instance of this, constructed from the pibootctl configuration.

The API is split into several modules, documented in the following sections:

- pibootctl.exc
- pibootctl.files
- pibootctl.formatter
- pibootctl.info
- pibootctl.main
- pibootctl.parser
- pibootctl.setting
- pibootctl.settings
- pibootctl.store
- pibootctl.term
- pibootctl.userstr