Skip to main content

To generate random and strong passwords.

Project description

Zenpass

PyPI Pypi - License PyPI - Python Version

To generate random and strong passwords.

Installation

pip install -U zenpass

Usage

usage: zenpass [options]

optional arguments:
  -h, --help         show this help message and exit
  -v, --version      show version number and exit.

to customize Password:
  -l , --length      to set length to the password
  -n , --ignore      to ignore unwanted characters to the password
  -i , --include     to include characters to the password
  -o , --only        to create password only using wanted characters
  -s , --separator   the separator character
  -c , --seplen      the length of characters between separator
  --repeat           to repeat the characters in the password (default : False)
  --separation       to separate password characters using separator (default : False)
  --show             to show password (default : False)
  
keywords: [alphabets, uppercase, lowercase, numbers, symbols] 
can be given as input for following params: ignore, include, only

Python Script

To generate a random password.

from zenpass import PasswordGenerator

pg = PasswordGenerator()
pg.generate()

Command Line

To generate a random password.

$ zenpass
Password copied to clipboard.

To set the password length, Default password length is 8-16.

$ zenpass -l 10 --show
Password: Q3m/vro|uR
Password copied to clipboard.

Whether the characters in passwords repeat or not, Default value of repeat is False.

$ zenpass -r --show
Password: 96Ndl;1D$jQu4Z2
Password copied to clipboard.

To include, ignore or use only 'alphabets', 'numbers', 'uppercase', 'lowercase', 'symbols' and random characters in generating password.

To ignore numbers in passwords.

$ zenpass -n numbers --show
Password: uyMXP‘$!ZSCYqzj
Password copied to clipboard.

To ignore characters a,b,c,d,e

$ zenpass -n abcde --show
Password: ~}t"R‘jF'ksG8~E
Password copied to clipboard.

To create a password only using special characters.

$ zenpass -o symbols -l 15 --show
Password: ?)".=-_^[_‘~{.)
Password copied to clipboard.

To include a,b,c,d,e characters in a password.

$ zenpass -o numbers -i abcde -l 15 --show
Password: 78713d1e3d926a3
Password copied to clipboard.

To separate characters in a password using separator.

$ zenpass -o uppercase --separation -l 16 --show
Password: YNQC-RKBF-DMAT-UVIP
Password copied to clipboard.

To separate characters in a password using separator _ with 5 characters between each separator.

$ zenpass -o uppercase --separation -l 15 -s _ -c 5 --show
Password: YNQCR_KBFDM_ATUVI
Password copied to clipboard.

Issues:

If you encounter any problems, please file an issue along with a detailed description.

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

zenpass-1.0.5.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

zenpass-1.0.5-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file zenpass-1.0.5.tar.gz.

File metadata

  • Download URL: zenpass-1.0.5.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for zenpass-1.0.5.tar.gz
Algorithm Hash digest
SHA256 9ebbc691471fed803a9f209960fcebac9b06e78dd445a0dfc2187d41c99dfb03
MD5 7543d0eea1a9f92a06d0135b8fa13bbf
BLAKE2b-256 573bfde2010aeaa9f1823c02d1ebb3457ffe45a183f1a32ce0b21c2c9835e25e

See more details on using hashes here.

File details

Details for the file zenpass-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: zenpass-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for zenpass-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 80c23e5add936dc536be91932249939bdcc02aaeca96dbc32e89711c03b7d2b4
MD5 dc6cfdb6021f8cd9b9e061ed6d1b3a48
BLAKE2b-256 aa75a330215da759c0ad8845ae141fa56708128e85e429470007607d90d5e296

See more details on using hashes here.

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