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.2.tar.gz
(2.0 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.2.tar.gz.
File metadata
- Download URL: faresgen-0.2.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af71425532c70b467f76a7e8eb73564e10a8e7a3705cbce9089cd734e74a560c
|
|
| MD5 |
dfe35e1b6a54fd5df8d6287b1947f24e
|
|
| BLAKE2b-256 |
af6c7df0439121a725f9e5142cee169304cdc5806fad121f40c12b12123c442a
|
File details
Details for the file faresgen-0.2.2-py3-none-any.whl.
File metadata
- Download URL: faresgen-0.2.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1aa4b2d32363e795891ef8851275f0350eb9d280e7701efeb66e39ae7c499548
|
|
| MD5 |
54f88536d7b46b1be3c47f97912a57c3
|
|
| BLAKE2b-256 |
eadc28a9907b0260d56afedf99dc0c5d8b6aefbfc9745d73f2fb394e283022d4
|