Skip to main content

A cryptographically secure password generator

Project description

faresgen

A cryptographically secure password generator with bulk generation and clipboard support.

Installation

pip install faresgen

CLI Usage

# Single password (default 16 chars)
faresgen

# Custom length
faresgen 24

# Generate multiple passwords
faresgen 24 -n 10

# Copy all passwords to clipboard
faresgen 24 -n 10 --copy

Library Usage

import faresgen

# Generate one password
password = faresgen.generate()

# Custom length
password = faresgen.generate(32)

# Generate multiple
passwords = [faresgen.generate(24) for _ in range(10)]

# Copy to clipboard
faresgen.copy_to_clipboard('\n'.join(passwords))

Features

  • Cryptographically secure — uses Python's secrets module
  • Guarantees every password contains lowercase, uppercase, digit, and special character
  • Strips ambiguous characters (0, O, 1, l, I) to avoid read/copy confusion
  • Bulk generation with -n
  • Cross-platform clipboard copy (--copy) — works on macOS and Windows

Options

Flag Default Description
length 16 Password length (positional)
-n, --count 1 Number of passwords to generate
--copy off Copy all passwords to clipboard

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

faresgen-0.2.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

faresgen-0.2.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file faresgen-0.2.1.tar.gz.

File metadata

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

File hashes

Hashes for faresgen-0.2.1.tar.gz
Algorithm Hash digest
SHA256 85eac6242d510b776d76de125fdac41491ec6bd58c0a333a148002291071f5d3
MD5 ce1508e10c1cf997d6313ffe5379417e
BLAKE2b-256 6b421cd6e1bba817f931cca3da6d4d749de0d093fd9909225ae7209d71a6742e

See more details on using hashes here.

File details

Details for the file faresgen-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: faresgen-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for faresgen-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 19d3b255316e4a7c39678345d128935ca2daf8a0e13f2aedc95d1af3e4205d79
MD5 9e42b1a82017921c1aeec1778c53f845
BLAKE2b-256 91ca236b45fce8215650737bea53f6028574c7c13cec430772f15c5e84ef94ee

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