nitrokey.updates¶
- exception nitrokey.updates.DownloadError¶
 ベースクラス:
Exception- __init__(msg)¶
 - パラメータ:
 msg (str)
- 戻り値の型:
 None
- exception nitrokey.updates.OverwriteError¶
 ベースクラス:
Exception- __init__(path)¶
 - パラメータ:
 path (str)
- 戻り値の型:
 None
- class nitrokey.updates.Asset¶
 ベースクラス:
objectAsset(tag: str, url: str)
- __init__(tag, url)¶
 - パラメータ:
 tag (str)
url (str)
- 戻り値の型:
 None
- download(f, callback=None)¶
 - パラメータ:
 f (BinaryIO)
callback (Callable[[int, int], None] | None)
- 戻り値の型:
 None
- download_to_dir(d, overwrite=False, callback=None)¶
 - パラメータ:
 d (str)
overwrite (bool)
callback (Callable[[int, int], None] | None)
- 戻り値の型:
 str
- read(callback=None)¶
 - パラメータ:
 callback (Callable[[int, int], None] | None)
- 戻り値の型:
 bytes
- tag: str¶
 
- url: str¶
 
- class nitrokey.updates.Release¶
 ベースクラス:
objectリリース(タグ: str, アセット: リスト[str])
- __init__(tag, assets)¶
 - パラメータ:
 tag (str)
assets (list[str])
- 戻り値の型:
 None
- assets: list[str]¶
 
- tag: str¶