Generates a password consisting of selected characters and the specified length.
Project description
Cli password generator
Generates a password consisting of selected characters and the specified length.
Usage
usage: passgen [-h] [-l] [-u] [-d] [-s] [-a] [-c CUSTOM] [-n LENGTH] Generates a password consisting of selected characters and the specified length. optional arguments: -h, --help show this help message and exit -l, --lower password should contain lowercase letters -u, --upper password should contain uppercase letters -d, --digits password should contain digits -s, --special password should contain special characters -a, --all password should contain all of the above character groups, i.e. lowercase letters, uppercase letters, digits and special characters -c CUSTOM, --custom CUSTOM password should contain only characters passed as argument value, e.g. "abcd"; if the custom option is selected, other options regarding the password structure are not taken into account -n LENGTH, --length LENGTH set password length
If you want to copy generated password to clipboard use:
passgen -a | xclip -sel clip
Tests
The project is using pytest. Tests are in package directory, named [module]_test.py.
Contribiuting
Please report any suggestions, feature requests, bug reports, or annoyances to the GitLab issue tracker.
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
passgen-mk-1.0.0.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for passgen_mk-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b8a26a9f6086e96cb37a342de0be4fe2adfa5a3fce7f176c0ad2f45e5045e41 |
|
MD5 | d99db2c79b3097211762e5e89bef6943 |
|
BLAKE2b-256 | 07b156fa86b08b17866a6705ab10ebb3a88f31055e194baf90de260e6ff9599b |