**The Project is used To Extract Raw Data From a QR Code & Generate an OTP From Secret Code Entered Via The keyboard.**
Installation
```
# pip install opencv-python pyzbar pyotp
# pip install 2fa_decoder
```
How To Use
```
# 2fa_decoder [-h] {decode,otp} INPUT
# QR Code Decoder and OTP Generator
# Arguments:
# decode Decode QR Code With <INPUT> - Path To QR Code
# otp Generate OTP From Secret Code
# -h, --help Show This Help Message and Exit
```
Example
| Command | Output |
| :-------------: |:-------------:|
| # 2fa_decoder decode C:\Users\Test\QR-Code.png | This-Is-Raw-Data-From-QR-Code
| # 2fa_decoder otp 1233214566547899870 | 123456
Raw data
{
"_id": null,
"home_page": "https://www.nghiahl.cloud",
"name": "2fa-decoder",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "QR_Code OTP 2FA Secret-Code",
"author": "Nghia Dep Trai",
"author_email": "nghiahandsome@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/08/c6/017df76df7ff28cdccf028b8f4f6fdcf1a1f000cd4cf2cf0f842177cbc16/2fa_decoder-1.0.0.tar.gz",
"platform": null,
"description": "**The Project is used To Extract Raw Data From a QR Code & Generate an OTP From Secret Code Entered Via The keyboard.**\n\nInstallation\n```\n# pip install opencv-python pyzbar pyotp\n# pip install 2fa_decoder\n```\n\nHow To Use\n```\n# 2fa_decoder [-h] {decode,otp} INPUT\n# QR Code Decoder and OTP Generator\n# Arguments:\n# decode\t\tDecode QR Code With <INPUT> - Path To QR Code\n# otp\t\t\tGenerate OTP From Secret Code\n# -h, --help\tShow This Help Message and Exit\n```\n\nExample\n| Command\t | Output \t\t|\n| :-------------: |:-------------:|\n| # 2fa_decoder decode C:\\Users\\Test\\QR-Code.png\t| This-Is-Raw-Data-From-QR-Code\n| # 2fa_decoder otp 1233214566547899870\t\t\t\t| 123456\n",
"bugtrack_url": null,
"license": "GNU General Public License v3 (GPLv3)",
"summary": "Decode QR Code & Generate OTP",
"version": "1.0.0",
"project_urls": {
"Homepage": "https://www.nghiahl.cloud"
},
"split_keywords": [
"qr_code",
"otp",
"2fa",
"secret-code"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "33e6aa2a08bf182a96ac436078e0e237dd326f2f8e98a2f31c1970d4b87f47e3",
"md5": "365a4432cbdba5bbef959c4d236aa2d4",
"sha256": "397345dcbb87a4bf93d5c6671a530a84fbf29cfd1166b431f6afd070df96b157"
},
"downloads": -1,
"filename": "2fa_decoder-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "365a4432cbdba5bbef959c4d236aa2d4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 15350,
"upload_time": "2024-08-30T08:31:53",
"upload_time_iso_8601": "2024-08-30T08:31:53.959724Z",
"url": "https://files.pythonhosted.org/packages/33/e6/aa2a08bf182a96ac436078e0e237dd326f2f8e98a2f31c1970d4b87f47e3/2fa_decoder-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "08c6017df76df7ff28cdccf028b8f4f6fdcf1a1f000cd4cf2cf0f842177cbc16",
"md5": "6a99941e200ee0027012d6e0d4e64c2f",
"sha256": "0260ba6e1237e068f91ba1a3a836c5893499e7b605345a424da5cf29a1fba138"
},
"downloads": -1,
"filename": "2fa_decoder-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "6a99941e200ee0027012d6e0d4e64c2f",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 15805,
"upload_time": "2024-08-30T08:31:55",
"upload_time_iso_8601": "2024-08-30T08:31:55.721752Z",
"url": "https://files.pythonhosted.org/packages/08/c6/017df76df7ff28cdccf028b8f4f6fdcf1a1f000cd4cf2cf0f842177cbc16/2fa_decoder-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-30 08:31:55",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "2fa-decoder"
}