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

Release files for pw-gen 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pw-gen 0.1.1
File Size Uploaded
pw_gen-0.1.1.tar.gz 4.3 kB Details

Release files / pw_gen-0.1.1.tar.gz

Download URL pw_gen-0.1.1.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e18a75a5cd4c95d42ca7e90ba4ab7434f876fe19aa8ac0f11f4575c974ec02e7
BLAKE2b-256 checksum
How to use checksums
2c757f4ed571adecf86588d187547237fae1a6b0ac73eadac08b93933e8fc033
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page