random-password-generator
Simple and custom random password generator for python
Decision gist · record as of 2026-08-14
Yes, if you need lightweight, zero-dependency password generation for non-critical use cases. The permissive MIT license and low install friction make it easy to adopt. However, the dormant maintenance status (last release 2021-07-12) means no active support or security updates; verify that its randomness approach aligns with your security requirements before using it in production systems.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction: pure Python wheel with zero runtime dependencies.
- Maintenance is dormant—last release was 2021-07-12 and last commit 2024-01-29—so expect no active bug fixes or feature updates, though marked Production/Stable.
License · maintenance · safety
MIT (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.
last release 2021-07-12 (1859 days) · last repo commit 2024-01-29 · 52 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 171,627 downloads/mo, #10,361 on PyPI
Alternatives
Verify before relying
pip install random-password-generator
from random_password_generator import PasswordGenerator
pwo = PasswordGenerator()
pwo.generate()- Whether the package uses the secrets module for cryptographic randomness on Python 3.6+ as claimed in the changelog.
- Current compatibility with Python versions beyond 3.7, given classifiers list only up to 3.7 but no explicit requires_python constraint.
- Whether the randomness approach meets security requirements for production credential generation.
What it is and what it does
This is a lightweight, dependency-free password generator that creates random passwords with configurable constraints. You instantiate a PasswordGenerator object, optionally set properties like minimum length (default 6), maximum length (default 16), character composition requirements (uppercase, lowercase, numbers, special characters), and exclusion rules, then call generate() to produce a password. It also supports generating passwords from a custom character set or ensuring no duplicate characters. The library is marked Production/Stable, though development has been dormant since 2021-07-12.
The package is straightforward for basic password generation tasks in scripts, CLI tools, or applications that need to create credentials programmatically. It has no external dependencies, making it trivial to integrate. However, because maintenance is inactive, you should verify that its randomness approach meets your security requirements before using it in contexts where credential strength is critical.
Use it for
- Generate default random passwords in CLI tools or admin scripts without adding external dependencies.
- Create passwords with specific character composition rules (e.g., minimum uppercase, lowercase, numbers, special characters).
- Exclude certain characters from generated passwords to avoid ambiguous or problematic symbols.
- Generate non-duplicate-character passwords for systems requiring character variety.
- Build a custom password from a given character set with a specified length.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need lightweight, zero-dependency password generation for non-critical use cases.
The permissive MIT license and low install friction make it easy to adopt. However, the dormant maintenance status (last release 2021-07-12) means no active support or security updates; verify that its randomness approach aligns with your security requirements before using it in production systems.
Install
random-password-generator on PyPI
Before you install
Low friction: pure Python wheel with zero runtime dependencies. Maintenance is dormant—last release was 2021-07-12 and last commit 2024-01-29—so expect no active bug fixes or feature updates, though marked Production/Stable.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.
Quickstart
pip install random-password-generator
from random_password_generator import PasswordGenerator
pwo = PasswordGenerator()
pwo.generate()
Verify before relying
- Whether the package uses the secrets module for cryptographic randomness on Python 3.6+ as claimed in the changelog.
- Current compatibility with Python versions beyond 3.7, given classifiers list only up to 3.7 but no explicit requires_python constraint.
- Whether the randomness approach meets security requirements for production credential generation.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 1,859 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 171,627 / month, #10,361 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: Information TechnologyLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: POSIXProgramming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Topic :: Utilities |
Evidence: random_password_generator-2.2.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “random password generator”
- random-password-generatorGenerates random passwords with configurable length, character…
- xkcdpassGenerates strong, memorable passphrases by randomly selecting words…
- pulumi-randomProvides safe, deterministic randomness for Pulumi…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also password-strength · rstr · wonderwords · xkcdpass · shortuuid · python-timeout · nanoid · faker-e164 · hashids · coolname