pyapikey package

Submodules

pyapikey.core module

class pyapikey.core.TempStore[source]

Bases: object

FILENAME = '/home/mark/.config/pyapikey.temp.json'
get(key: str) Any[source]
has(key: str) bool[source]
save()[source]
set(key: str, value: Any) None[source]
pyapikey.core.default(obj)[source]
pyapikey.core.get_key(path: str) str[source]

Retrieves a password from the pass password manager.

Args:

path (str): The path to the password in the pass store.

Returns:

str: The password stored at the given path.

Raises:

Exception: If an error occurs while running the pass command.

pyapikey.core.object_hook(obj)[source]
pyapikey.core.old_get_key(domain: str) str[source]

pyapikey.static module

version which can be consumed from within the module

Module contents