Recipes to generate random instances of various types, beyond the scope of random.
Project description
Random Recipes
Recipes to generate random instances of various types, beyond the scope of random.
Python's random implements generators for pseudo-random bytes, integers, and sequences. In random-recipes we collect additional functions to generate random instances of common types that may be useful.
Recipes
Type | Function |
---|---|
decimal.Decimal | random_decimal |
datetime.date | random_date |
datetime.datetime | random_datetime |
Development
random-recipes
is developed by @ipear3.
This is a low-commitment project for practicing Python packaging, but it does try to contribute something of value.
Suggestions, comments, and contributions are welcome.
This project draws inspiration from more-itertools, a well-designed, simple extension to a Python's itertools.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for random_recipes-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d102c4bb35339e4e3609267a25910b4611109dbc5e21eeb50087c49749b06c0 |
|
MD5 | 9eefa053b44674ef813a71c341fd0ab1 |
|
BLAKE2b-256 | ad3aa49616e531ef34c0ef843171e310c6e929d14c5a0b67fc4ed011fc941409 |