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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file passgen-mk-1.0.0.tar.gz.

File metadata

  • Download URL: passgen-mk-1.0.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for passgen-mk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 028c7d9adfc211cefe63bfbf062bf1a04efb67f76510f506e860a716dcc93e81
MD5 5458063e0db4ce50addf0e8d39a63349
BLAKE2b-256 88df02847fff0797ea8fb3b272cd977cf19490b0825fce8b6788a80171431345

See more details on using hashes here.

File details

Details for the file passgen_mk-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: passgen_mk-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for passgen_mk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9b8a26a9f6086e96cb37a342de0be4fe2adfa5a3fce7f176c0ad2f45e5045e41
MD5 d99db2c79b3097211762e5e89bef6943
BLAKE2b-256 07b156fa86b08b17866a6705ab10ebb3a88f31055e194baf90de260e6ff9599b

See more details on using hashes here.

Supported by

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