Skip to main content

A simple command-line tool to generate random and secure passwords using the Python Standard Library

Project description

RandomPasswordCreator

A simple command-line tool to generate random and secure passwords using the Python Standard Library


Features

  • Generates random passwords directly from the command line
  • Customizable password length and quantity
  • Designed for Windows

Quick Start

1. Add to System Path

To use RandomPasswordCreator from any terminal window:

  1. Locate the file create_password.bat
  2. Add its folder path to the Windows "Path" system environment variable
  3. Replace <path_to_RandomPasswordCreator.py> in create_passoword.bat with the path to the RandomPasswordCreator.py module
  4. Open a command prompt and type create_password. It should print a random password

2. Usage

Arguments:

  • -n: controls how many passwords to return
  • -l: controls the length of the passwords
  • -o: controls the characters to omit from the passwords
  • -j: outputs passwords only made up of letters and numbers
  • -a: controls the characters to add to the passwords

Help message:

create_password -h

Default command:

create_password

-n argument usage:

create_password -n 5

-l argument usage:

create_password -l 20

-o argument usage:

create_password -o *+d

-j argument usage:

create_password -j

-a argument usage:

create_password -a !"£$%/()=?

using all arguments:

create_password -n 4 -l 15 -o *+d -j -a !\"£$%/()=

Changelog

[DEV]

[0000.004] Added the -a argument and removed the -i argument [2025/10/13]
[0000.003] Added the -j argument [2025/10/04]
[0000.002] Added the -i argument [2025/09/23]
[0000.001] First version [2025/09/15]

[MAIN]

[0000.004] Added the -a argument and removed the -i argument [2025/10/13]
[0000.003] Added the -j argument [2025/10/04]
[0000.002] Added the -i argument [2025/09/23]
[0000.001] First version [2025/09/15]

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

random_password_creator-0.4.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

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

random_password_creator-0.4-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file random_password_creator-0.4.tar.gz.

File metadata

  • Download URL: random_password_creator-0.4.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for random_password_creator-0.4.tar.gz
Algorithm Hash digest
SHA256 67edf3069e16d57996000e7834b8c3b83203b76fc32ffc8a411ab8e591268595
MD5 af9c7b3dcc6e4de791cf24ae3a99c967
BLAKE2b-256 56d82f16be9aeef21144b411bbbe34e8b1c6b84c192dcbacd85d06040082fc54

See more details on using hashes here.

File details

Details for the file random_password_creator-0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for random_password_creator-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c72e25ad4c18cd7e05bb834651637fee7f806be263e8ba625ba765d12dfb682d
MD5 024209cf20bf7286f33f162582707fa5
BLAKE2b-256 2dc5e949f11d991ca5b0e4a8f827130faca70fa11ab2892829462208c185b3f9

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