Skip to main content

six_totp is a lightweight Python library for generating 6-digit passcodes.

Project description

six_totp

six_totp is a lightweight Python library for generating 6-digit passcodes.

Features

  • Generates a secure, 6-digit one-time passcode with generate_totp()
  • Easy to use with a single function call
  • No external dependencies

Installation

Install via PyPI:

pip install six_totp

Usage:

from six_totp.core import generate_totp

code = generate_totp()
print(code)
# example output: 075231

Contributing

Contributions, issues, and feature requests are welcome! Feel free to fork the repository and submit a pull request. Repository link

License

This project is licensed under the MIT License

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

six_totp-1.0.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

six_totp-1.0.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file six_totp-1.0.0.tar.gz.

File metadata

  • Download URL: six_totp-1.0.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for six_totp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e7fc1f4129ccef411b888739513004481d6e371b740f074131bea374fc05c5cc
MD5 3be3a7e99666ad1a92c70db760e442e4
BLAKE2b-256 17733a573c20c78fcf44ec3dcda4662788563951d463a34e4c67c26e8382e918

See more details on using hashes here.

File details

Details for the file six_totp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: six_totp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for six_totp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7f128fb86628f01c2fcbb06252239d4935ef2820afab946d35b72ff237387d18
MD5 43fe93bc25681cc8438ccf61f964f436
BLAKE2b-256 fa68310e3f019315c1eb6b7fbd45502b3731459f8292008ca31dcd7479d48d12

See more details on using hashes here.

Supported by

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