Release v0.1.2 (What’s new?).

Documentation Status https://github.com/MacHu-GWU/afwf_genpass-project/actions/workflows/main.yml/badge.svg https://codecov.io/gh/MacHu-GWU/afwf_genpass-project/branch/main/graph/badge.svg https://img.shields.io/pypi/v/afwf-genpass.svg https://img.shields.io/pypi/l/afwf-genpass.svg https://img.shields.io/pypi/pyversions/afwf-genpass.svg https://img.shields.io/badge/✍️_Release_History!--None.svg?style=social&logo=github https://img.shields.io/badge/⭐_Star_me_on_GitHub!--None.svg?style=social&logo=github
https://img.shields.io/badge/Link-API-blue.svg https://img.shields.io/badge/Link-Install-blue.svg https://img.shields.io/badge/Link-GitHub-blue.svg https://img.shields.io/badge/Link-Submit_Issue-blue.svg https://img.shields.io/badge/Link-Request_Feature-blue.svg https://img.shields.io/badge/Link-Download-blue.svg

Welcome to afwf_genpass Documentation

https://afwf-genpass.readthedocs.io/en/latest/_static/afwf_genpass-logo.png

Use Case

This Alfred workflow exposes three independent Script Filters, each bound to its own keyword: genpass, genid, and genuuid4.

genpass — Generate Secure Password

Type genpass <length> in Alfred to get 8 random passwords of the given <length>. Each password is guaranteed to contain at least one lowercase letter, one uppercase letter, one digit and one symbol (from !%@#&^*), and always starts with a letter.

Allowed length is 8 to 32; default is 12 (just hit Enter on genpass). Tab autocompletes to the default length. Hit ⌘C on any item to copy the password to your clipboard. Visually-confusing characters 1, l, I, O, 0 are excluded for readability.

genid — Generate Short ID

Type genid <length> in Alfred to get 8 random YouTube-style short IDs of the given <length>. Backed by secrets.choice (cryptographically strong) over a 57-character URL-safe charset, suitable for use as opaque identifiers in URLs, filenames, blog slugs, etc.

Allowed length is 6 to 32; default is 16 (just hit Enter on genid). Tab autocompletes to the default length. Hit ⌘C on any item to copy the ID to your clipboard. Visually-confusing characters 0, 1, l, O, o are excluded for readability.

genuuid4 — Generate UUID4

Just type genuuid4 in Alfred to get 8 freshly generated standard RFC 4122 UUID4s, formatted as 8-4-4-4-12 lowercase hex (e.g. 550e8400-e29b-41d4-a716-446655440000). No parameters — UUID4 has a fixed format. Hit ⌘C on any item to copy the UUID to your clipboard.

For the length-based keywords (genpass / genid), if the value you type is not a valid integer in the allowed range, the workflow shows an inline error item instead of producing garbage results.

Installation

Go to https://github.com/MacHu-GWU/afwf_genpass-project/releases, download the latest afwf-genpass-X.Y.Z.alfredworkflow file, double click to install.

Table of Content

About the Author

(\ (\
( -.-)o
o_(")(")

Sanhe Hu is a seasoned software engineer with a deep passion for Python development since 2010. As an author and maintainer of 150+ open-source Python projects, with over 15 million monthly downloads, I bring a wealth of experience to the table. As a Senior Solution Architect and Subject Matter Expert in AI, Data, Amazon Web Services, Cloud Engineering, DevOps, I thrive on helping clients with platform design, enterprise architecture, and strategic roadmaps.

Talk is cheap, show me the code:

API Document