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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

passiter-0.0.7-py2.py3-none-any.whl (3.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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