Generate secure password fast
Project description
Fast-Pass
Fast-Pass is a CLI tool and Python library for generating secure, random passwords quickly.
Installation
pip install fast-pass
CLI Usage
Generate passwords using the fp command:
fp generate [OPTIONS]
Options
-l, --length INT: Password length (default: 8)-u, --upper: Include uppercase characters-n, --nums: Include digits-s, --special: Include special characters-e, --exclude TEXT: Exclude specific characters-a, --auto: Randomly select unspecified options
Example
> fp -l 12 -u -n -s
bn6s`c|5*L;8
Library Usage
Use Fast-Pass as a library to generate passwords programmatically:
from fast_pass import generate
password = generate(length=12, upper=True, nums=True, special=True, exclude="abc")
print(password)
Requirements
- Python >= 3.10
- click >= 8.2.0
Development
Install dev dependencies:
uv sync
Run tests:
uv run pytest tests
License
See LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fast_password-1.0.0.tar.gz
(10.5 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 fast_password-1.0.0.tar.gz.
File metadata
- Download URL: fast_password-1.0.0.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3065f8d4c2eee343195c5ed17cb4ff2ae1038b58f8a25b636ddd2d32f2bd916f
|
|
| MD5 |
db61954bdc1649dad9feb4b00aa9b76c
|
|
| BLAKE2b-256 |
99eb26e2eb50b2d27ac0ce701c7f9e76eb58f93b46ffb09a403a4c1e4be12d06
|
File details
Details for the file fast_password-1.0.0-py3-none-any.whl.
File metadata
- Download URL: fast_password-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d0e1433a845a333e5e47403382a9af573afe19ffe55b4ea3f323990ffc605de
|
|
| MD5 |
fcecbefd8cb86a847e3728f189a44654
|
|
| BLAKE2b-256 |
7ed4c37907f443f96349870973fe6632cff9e14d177f39318d42c4bab73447df
|