Skip to main content

A small verify project

Project description

pyverify

PyPI

简介

pyverify包是一个基于tkinter库实现的GUI身份验证库

主要功能

  • 为您的py文件能够快速使用TOTP认证的功能
  • 提供一个简易的二维码生成器,可生成手机app可用的二维码

Tips:秘钥存储在运行目录下的secdata.pass文件中
删除该文件会导致无法验证

使用教程

安装

你可以在终端执行pip来安装:
pip install pyverify-xnz233

生成器

  • 生成秘钥
    • 方法一:运行包中的简易生成器utils.py
    • 方法二:调用包中manage()函数:
import pyverify
pyverify.manage()
  • 读取秘钥
    • 方法一:手机app扫码
    • 方法二:查看运行目录下secdata.pass文件

验证程序

  • 在任意py文件中的头部调用包中的gui_verify():
import pyverify
pyverify.gui_verify()

# Your code...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyverify-xnz233-1.1.2.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

pyverify_xnz233-1.1.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file pyverify-xnz233-1.1.2.tar.gz.

File metadata

  • Download URL: pyverify-xnz233-1.1.2.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.9

File hashes

Hashes for pyverify-xnz233-1.1.2.tar.gz
Algorithm Hash digest
SHA256 37ff2e87bd93f2cf96119be9f1d980a8a4f9ba2f3bc867ca1ccc73eb4fc89b62
MD5 13185a8f9612e01bc7991b9360a97aca
BLAKE2b-256 050dcafec30ff5ec04aed6459369ada5acea51d2b59737d13c2c6dd6d7126249

See more details on using hashes here.

File details

Details for the file pyverify_xnz233-1.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pyverify_xnz233-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d8e029b9de1737a55befc1e5d5c00d8e268b9c9f0a8255dd0ae552dd3a6637c7
MD5 15b4920b8058c1c9a80ba11e369b5417
BLAKE2b-256 dd9c71f288c71a210df0523a6eda2fb5cd2714e38a54667c47c4186507117f48

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page