ykman.settings
Attributes
Exceptions
Error accessing the OS keystore |
|
Error unwrapping a particular secret value |
Classes
dict() -> new empty dictionary |
|
dict() -> new empty dictionary |
Module Contents
- ykman.settings.XDG_DATA_HOME
- ykman.settings.XDG_CONFIG_HOME
- ykman.settings.KEYRING_SERVICE
- ykman.settings.KEYRING_KEY
- class ykman.settings.Settings(name)[source]
Bases:
dict
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s
(key, value) pairs
- dict(iterable) -> new dictionary initialized as if via:
d = {} for k, v in iterable:
d[k] = v
- dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list. For example: dict(one=1, two=2)
- fname
- __hash__ = None
- ykman.settings.Configuration
- exception ykman.settings.UnwrapValueError[source]
Bases:
Exception
Error unwrapping a particular secret value
- class ykman.settings.AppData(name, keyring_service=KEYRING_SERVICE, keyring_key=KEYRING_KEY)[source]
Bases:
Settings
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object’s
(key, value) pairs
- dict(iterable) -> new dictionary initialized as if via:
d = {} for k, v in iterable:
d[k] = v
- dict(**kwargs) -> new dictionary initialized with the name=value pairs
in the keyword argument list. For example: dict(one=1, two=2)