This contains a lot of backing code to get at profiles.
Load a profile, for a given host host. In the case where host has a ”:”, that’ll be treated as an expansion for config strings. For instance:
ppa:paultag/fluxbox will expand any %(ppa)s strings to paultag/fluxbox. Comes in super handy.
Get a list of all profiles we know about. It returns a set of strings, which can be accessed with load_profile()
Warning
This is mostly just used internally, please don’t use this directly unless you know what you’re doing(tm). In most cases, dput.profile.load_profile() and dput.profile.profiles() will do the trick.