Generate secure password fast
Project description
Fast-Password
Fast-Password is a CLI tool and Python library for generating secure, random passwords quickly.
Installation
Using pip
pip install fast-password
Using uv
uv tool install fast-password
uvx --from fast-password fp [OPTIONS]
CLI Usage
Generate passwords using the fp command:
fp [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-Password as a library to generate passwords programmatically:
from fast_password 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
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.1.tar.gz.
File metadata
- Download URL: fast_password-1.0.1.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3ca6f2d87208024073542275fb800f65076e45e224edd6534bc4048c0ad361b
|
|
| MD5 |
f9acfb087134460851fed9e84ae40710
|
|
| BLAKE2b-256 |
5c4637e4cbb45fd67e8fb921e034aaf9a50d4fccd52a897846b4115c1c2fdf40
|
File details
Details for the file fast_password-1.0.1-py3-none-any.whl.
File metadata
- Download URL: fast_password-1.0.1-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 |
8e891b7db23b3d0dfec902cc62346da26c44bdfe73922647c56113f809b2a0ad
|
|
| MD5 |
bfa217079b8c68b40cd237aa2f6b570b
|
|
| BLAKE2b-256 |
747711855002676d003f425e9a890d083fb81a6e4cf33afc5d0f9eb714942204
|