Skip to main content

A package to generate strong random passwords

Project description

package_passgen

Project description:

A package to generate strong random passwords. User can define the length, number of passwords and the character sets (punctuation, lowercase, uppercase and numbers) that needs to be included in the password.

Usage:

  • No of passwords that would be generated by default is 1
  • Minimum length of password is 8
  • Possible options for charsets include 'punctuation', 'lowercase', 'numbers' and 'uppercase'. You can choose to include one or more charsets in the generated password
  import package_passgen as passgen

  include_charsets = ['punctuation', 'lowercase', 'numbers', 'uppercase']

  password_list = passgen.generate_password(
    password_length=10,
    include_charsets=include_charsets,
    no_of_passwords=5
    )

  for p in password_list:
    print(p)

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

package_passgen-0.0.3.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

package_passgen-0.0.3-py3-none-any.whl (4.7 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