Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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 stand 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.

Release History

Release History

This version
History Node

1.2.1.5

History Node

1.2.1.4

History Node

1.2.1.3

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
randomthings-1.2.1.5.tar.gz (333.6 kB) Copy SHA256 Checksum SHA256 Source Feb 10, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting