Skip to main content

Simple password generator

Project description

Install

pip install passiter

Usage

  • passwords are 8 characters containing 2 uppercases, 2 numbers and 1 symbol by default
from passiter import passiter
p = passiter()
for _ in range(10):
    print(next(p))
# bA2x9m,P
# b:vOj29N
# sN%6gCh4
# ,khl0M5O
# jZ3F1v{d
# H5Atra^1
# t$7qM4Zv
# 7lUi6[Tj
# Y6p5cw_E
# Db>Qn45p
  • you can change passwords length and number of uppercases, numbers, symbols
from passiter import passiter
p = passiter(length=16, uppers=3, numbers=3, symbols=0)
for _ in range(10):
    print(next(p))
# b8DxXreiajv4A0hs
# fcs9xitykSj7q6VO
# gUVyi3Du7ode5kzs
# I9wzlhedt1njV0Xr
# wNA1lbf34geGhjcm
# 1G6zobtlk3euiLhM
# kh9cKuaZ2yonjH4x
# F6KbSql4vs0gfdar
# ojI8tqwlSzmBib09
# hgxp6kvSwZdjVb07

Project details


Download files

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

Files for passiter, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size passiter-0.0.7-py2.py3-none-any.whl (3.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page