--- id: random-password-generator version: "2.2.0" license: MIT license_treatment: permissive maintenance: dormant --- # random-password-generator — Simple and custom random password generator for python License: permissive · Maintenance: dormant · Downloads: 171.6K/mo ## 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 above — verify before relying. Generates random passwords with configurable length, character composition, and exclusion rules, with no external dependencies. 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 pip install random-password-generator uv add random-password-generator poetry add random-password-generator ## Installing random-password-generator 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: unspecified - Install friction: low - Maintenance: dormant - Downloads: 171.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags random password generator, password generation library, custom password creator, configurable password tool, password with character rules, non-duplicate password, password from custom characters, random credential generator, password-generation, no-dependencies [View on SkillFed](https://skillfed.io/packages/random-password-generator) · [View on PyPI](https://pypi.org/project/random-password-generator/)