Skip to main content

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


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)

Uploaded Source

Built Distribution

passgen_mk-1.0.0-py3-none-any.whl (4.4 kB view hashes)

Uploaded 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