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
- 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.3.tar.gz
(2.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file faresgen-0.2.3.tar.gz.
File metadata
- Download URL: faresgen-0.2.3.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f48aa28dc2f46aa1178c24b67435eec1ad588cfb4d4b56c5989e3dfaccd5e466
|
|
| MD5 |
40581cbd7cf36d540dccbd1c7879f7e1
|
|
| BLAKE2b-256 |
906b6da989d59f0c7492100dcc3aeff20dcf4597edad300c8855cce12c48ce8e
|
File details
Details for the file faresgen-0.2.3-py3-none-any.whl.
File metadata
- Download URL: faresgen-0.2.3-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de0d31a6484ed0381f8543f4bb97392c2b0a23eb5c205e92e2ed44d9e5d6c39b
|
|
| MD5 |
879426fb5a7ed2f409bb0fd413a38645
|
|
| BLAKE2b-256 |
68b9b23e7750614594bd23a99a3bcfb2da774c44675c93b1679d0f01a225ba9d
|