Skip to main content

A simple OTP generator

Project description

Simple OTP Generator

A simple and flexible OTP (One Time Password) generator package.

Features

  • Generate OTPs with customizable length
  • Include digits, uppercase letters, and lowercase letters
  • Error handling for invalid inputs

Installation

You can install the package using pip:

pip install simple-otp-generator

Usage

from otp_generator.otp import generate_otp 

print(generate_otp(length=6, include_digits=True, include_lowercase=False,include_uppercase=True))enter code here

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

simple-otp-generator-0.1.2.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

simple_otp_generator-0.1.2-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file simple-otp-generator-0.1.2.tar.gz.

File metadata

  • Download URL: simple-otp-generator-0.1.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.1

File hashes

Hashes for simple-otp-generator-0.1.2.tar.gz
Algorithm Hash digest
SHA256 42f83560a6c98c15925f5b3e982d67631f0f83de34e330a5ca4abaf37bff8ec3
MD5 c3f5e005a80105dcd6ba6e7566f65ff6
BLAKE2b-256 041b426aff91cfcb2428e97d5c811d454cbba372bfc9ef83f66efd4c0dda7c23

See more details on using hashes here.

File details

Details for the file simple_otp_generator-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_otp_generator-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6c14a0e55d3bf74fbf28ed8b02e18ad1ad0229f7614a945848bec4326dbba054
MD5 06804fc6503e4b8ec3a156e02dfb3910
BLAKE2b-256 c9669437eec44e956adecf73504ebfcc93e13a56fb0a2091eb301edba67bf2a5

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