Generate Random Things
Project description
I needed a way to generate random text strings for a variety of things. This module was created to fit the bill. You might find it useful as well.
Installation
Install this module with the standard pip install randomthings
.
Usage
This module is a standard python module. Here are some examples of random things you can generate with it.
import random_things
>>> random_things.random_course()
'Hepatology'
>>> random_things.random_job_title()
'King of Town'
>>> random_things.random_animal()
'Rapid yellow snake'
>>> random_things.random_name()
('Carl','Banks')
>>> random_things.random_flower()
{'common_name': 'love-in-a-mist', 'botonical_name': 'nigella', 'meaning': ''}
- There are others. Here is the current list:
random_animal
random_capital
random_course
random_flower
random_highschool_musical
random_job_title
random_name
random_president
random_sources
random_state
random_state_and_capital
Version 1.2.1.5
Added examples to the README
Version 1.2.1.4
Added an actual README with content…what a thought.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file randomthings-1.2.1.6.tar.gz
.
File metadata
- Download URL: randomthings-1.2.1.6.tar.gz
- Upload date:
- Size: 333.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61d6018ebbadbe649aea31990f06db7e2328d00c79302386e3525220d47cd432 |
|
MD5 | 29c9506a3579fdee8ab781fed309d703 |
|
BLAKE2b-256 | e8403b55e0fc5c7358181234ec3d38e1c934684e54470698ed98acdd8aa35c03 |