{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing"}],"enrichment":{"capability":"Generates random strings from custom alphabets, predefined character sets, or regular expressions for testing and dummy data creation.","skillfed_tags":["test-data-generation","fuzz-testing"],"use_cases":["Generate test fixtures and dummy data for unit tests without external dependencies.","Create fuzz-testing payloads with controlled character sets to probe input validation.","Build random email addresses, URLs, or domain names matching specific format constraints.","Generate random strings matching a regex pattern for testing regex-based parsers or validators.","Produce test data for postal addresses or other domain-specific formats with predefined alphabets."],"what_it_does":"rstr is a lightweight utility for generating random strings in Python, useful for test data, fuzzing, and validation scenarios. It offers both low-level control\u2014specifying custom alphabets and length ranges\u2014and convenience methods for common character sets like digits, letters, URLs, and domain names. It can also generate strings matching regular expression patterns via its xeger() method.\n\nThe package has no external dependencies and runs on Python 3.7 through 3.11. However, it uses Python's standard random module by default, which is not cryptographically secure; for password generation or other security-sensitive applications, you must explicitly configure it to use SystemRandom(). Maintenance is aging, with the last release in October 2023 and no recent commits, though the codebase remains stable and production-ready.","worth_installing":"Yes, if you need lightweight random string generation for testing or dummy data without external dependencies. The aging maintenance status is not a blocker for stable use, but verify compatibility with your Python version. Avoid for cryptographic applications unless you explicitly configure SystemRandom()."},"id":"rstr","links":{"html":"https://skillfed.io/packages/rstr","md":"https://skillfed.io/packages/rstr.md","pypi":"https://pypi.org/project/rstr/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2023-10-11","license_spdx":null,"license_treatment":"permissive","name":"rstr","python_support":"supports_current","summary":"Generate random strings in Python"},"popularity":{"monthly_downloads":3294521,"position":2669,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.2.2"}
