This small update focuses on a significant refactoring of the codebase to improve maintainability, readability, and structure.
The core functionality remains unchanged.
Key changes include:
- Documentation Removal: Docstrings and comments have been removed to reduce code clutter.
- Configuration Consolidation: All global constants (e.g., version info, API URLs, cryptographic parameters) are now centralized in a single AppConfig class for better organization and easier management.
- Streamlined Logic: Simplified the error handling for API requests and refined several helper functions for improved clarity and more idiomatic Python.
- Structural Enhancements: Minor improvements to the overall code structure for a cleaner and more direct implementation.
Refactors some of the code, making it cleaner and more concise.
Added an offline method of reconstructing TOTP keys and QR code provided the user has the required information.