genid¶
YouTube-style random short-ID generator and its Alfred Script Filter entry point.
Charset design: 57 URL-safe characters — base62 minus visually-confusing
0 / 1 / l / o / O (capital I is kept). Cryptographically
strong via secrets.choice(); suitable as opaque IDs in URLs, filenames,
slugs, etc. Survives being read aloud or hand-copied without ambiguity.
- afwf_genpass.genid.gen_id(length: int) str[source]¶
Generate one random short ID of
lengthchars from the module charset.