mini2fa 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mini2fa/__init__.py +9 -0
- mini2fa/__main__.py +4 -0
- mini2fa/_cli.py +779 -0
- mini2fa/config.py +50 -0
- mini2fa/crypto.py +328 -0
- mini2fa/models.py +33 -0
- mini2fa/scanner.py +189 -0
- mini2fa/storage.py +414 -0
- mini2fa/totp.py +119 -0
- mini2fa-0.1.0.dist-info/METADATA +61 -0
- mini2fa-0.1.0.dist-info/RECORD +15 -0
- mini2fa-0.1.0.dist-info/WHEEL +5 -0
- mini2fa-0.1.0.dist-info/entry_points.txt +2 -0
- mini2fa-0.1.0.dist-info/licenses/LICENSE +674 -0
- mini2fa-0.1.0.dist-info/top_level.txt +1 -0
mini2fa/__init__.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"""Mini2FA - 安全的本地 TOTP 双因素认证管理工具"""
|
|
2
|
+
|
|
3
|
+
from .totp import generate_totp, verify_totp, get_remaining_seconds
|
|
4
|
+
from .crypto import CryptoManager
|
|
5
|
+
from .storage import StorageManager
|
|
6
|
+
from .scanner import scan_qrcode, scan_qrcode_from_raw_data, parse_otp_uri, preprocess_image, UnsupportedOTPTypeError
|
|
7
|
+
from .models import Account, OTPAccountInfo
|
|
8
|
+
|
|
9
|
+
__version__ = "0.1.0"
|
mini2fa/__main__.py
ADDED