To generate random and strong passwords.
Reason this release was yanked:
Latest versions are bug free
Project description
To generate random and strong passwords.
Installation
pip install genpasswd
Usage
To generate a random password and print it on the screen.
from genpasswd import *
arg = Password()
passwd = arg.genPass()
print(passwd)
Some Other Examples
To set the password length, Default password length is 8-16.
from genpasswd import *
arg = Password(length=5)
passwd = arg.genPass()
print(passwd)
Whether the characters in passwords repeat or not,
Default value of repeat is True.
from genpasswd import *
arg = Password(repeat=False)
passwd = arg.genPass()
print(passwd)
To ignore Characters, Numbers or special Characters in passwords.
from genpasswd import *
# to ignore or avoid alphabets
arg = Password(ignore='alphabets')
passwd = arg.genPass()
print(passwd)
To include Characters, Numbers or special Characters in passwords.
from genpasswd import *
# to include numbers in a password
arg = Password(include='numbers')
passwd = arg.genPass()
print(passwd)
To create a password only using Characters, Numbers or special Characters.
from genpasswd import *
# to generate a password only using characters 'abcde'
arg = Password(only='abcde', length=5)
passwd = arg.genPass()
print(passwd)
You can include, ignore or using only 'alphabets', 'numbers', 'uppercase', 'lowercase', 'symbols' in generating password.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file genpasswd-1.1.2.tar.gz.
File metadata
- Download URL: genpasswd-1.1.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ff10003bd902b0aabd33d9a5b771cd525f78530f98bee13e70c8a21858ee43c
|
|
| MD5 |
8cf11d460122d99a3905c2c75eb82984
|
|
| BLAKE2b-256 |
bc5ed79bf39778a50a87e6cadbe16afe5101e0765a12c30ed39fa3c6db346aed
|
File details
Details for the file genpasswd-1.1.2-py3-none-any.whl.
File metadata
- Download URL: genpasswd-1.1.2-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d86d312012354ead70623eb86fe47c9790fb1c767aac2d5c7c9abe3128b3f285
|
|
| MD5 |
94845afe82c38546c541e9d08d049897
|
|
| BLAKE2b-256 |
bc30a7844182d9e24809c6adfcdd6b4ef28bbc73dddf00b2551ac5f18eb49121
|