Skip to main content

A library for generating secure randomised passwords.

Usage (Simple password):

from pw_gen import Simple

var = Simple(20)

print(var.generate())

print(var.result())

Usage (Complex password):

from pw_gen import Complex

var = Complex(20, ‘both’, include_numbers=True, include_special_chars=False)

print(var.generate())

print(var.result())

Usage (Memorable password):

from pw_gen import Memorable

var = Memorable(True)

print(var.generate())

print(var.result())

Change Log

0.0.1 (13/03/2021)

  • First Release

0.0.2 (24/03/2021)

  • Added additional functionality

0.0.3 (25/03/2021)

  • Third Release

0.0.4 (25/03/2021)

  • Fourth Release

0.0.5 (25/03/2021)

  • Added Pin class

0.0.6 (25/03/2021)

  • Refactored code

  • Removed Pin class

  • Added Random-Word library

0.0.7 (25/03/2021)

  • Included PyYAML as a requirement (forgot to add it)

0.0.8 (25/03/2021)

  • Fixed bug for Memorable passwords

0.0.9 (3/04/2021)

  • Added shuffling for simple and complex passwords in the generate method

0.1.0 (22/05/2021)

  • Removed shuffling (string_utils) and random_word library.

  • Changed to using urllib.request instead of random_word

0.1.1 (22/05/2021)

  • Updated install_requires in setup.py

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pw_gen-0.1.1.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file pw_gen-0.1.1.tar.gz.

File metadata

  • Download URL: pw_gen-0.1.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.24.0 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.4

File hashes

Hashes for pw_gen-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e18a75a5cd4c95d42ca7e90ba4ab7434f876fe19aa8ac0f11f4575c974ec02e7
MD5 d0ec691d3cbfc25dbe718c64533c8b74
BLAKE2b-256 2c757f4ed571adecf86588d187547237fae1a6b0ac73eadac08b93933e8fc033

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 file

0.1.0

1 file

0.0.9

1 file

0.0.8

1 file

0.0.7

1 file

0.0.6

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Supported by

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