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.005] Updated pyproject.toml and the main module [2025/12/28]
[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.005] Updated pyproject.toml and the main module [2025/12/28]
[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.5.tar.gz (8.0 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.5-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for random_password_creator-0.5.tar.gz
Algorithm Hash digest
SHA256 66bd516c45a0aae222653da7df7df7e2080bdd973509079af4cd5e9f79b6fed9
MD5 dc92eea3ec30f738e68ba4d9e6171ae1
BLAKE2b-256 12063b722a4affbc631b16dc0c1501f6156bd422a813f38ac5effa043ada5a11

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for random_password_creator-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5c775ac3e658986c19ad293067bd990e9e04f0482b518c0a591dc03467ff2ea0
MD5 9684744aa74f60ce00b3139990c5fc2e
BLAKE2b-256 cd73115b1790217874030ee24d8f14863f2500657df7e03da4cd6d0f4325d6f1

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