Metadata-Version: 1.1
Name: surrealism
Version: 0.10.1
Summary: Surreal sentence and error message generator.
Home-page: http://www.morrolan.com
Author: Ian Havelock
Author-email: ian@morrolan.com
License: GNU General Public License (GPL)
Download-URL: https://pypi.python.org/pypi/surrealism/
Description: surrealism
        ==========
        
        surrealism module for Python
        ----------------------------
        
        
        This module allows you to generate surreal sentences and error messages very easily from within your python programs.  
        
        
        Installation
        ------------
        
        If you have downloaded the source distribution, to install do the following at the commandline: 
        
        ::
           
           $ python setup.py install
        
        
        Or using easy_install:
        
        ::
        
           $ easy_install surrealism
        
        
        And it will download and install the latest version from the Python Package Index.
        
        
        Or pip:
        
        ::
        
           $ pip install surrealism
        
        
        And it will download and install the latest version from the Python Package Index.
        
        
        
        
        Usage Examples
        --------------
        
        **Generate a surreal sentence**:
        
        ::
        
           >>> import surrealism
           
           >>> sentence = surrealism.getsentence()
           
           >>> print sentence
           
           >>> If I can get the Pot Noodle to enter Radiohead's Lead Singer, the lego-brick will dilute Julian Assange and I'll be able to spy on Neil Armstrong!
        
        You can also specify an integer representing the relevant row ID from the database in order to return a specific sentence:
        
        ::
        
           >>> import surrealism
           
           >>> sentence = surrealism.getsentence(39)
           
           >>> print sentence
           
           >>> Don't drop things on X-Wings - get blood out of deep-fat friers!
        
           
        **Generate a surreal error message**:
        
        ::
        
           >>> import surrealism
           
           >>> print surrealism.getfault()
           
           >>> thing.c:466: fearsome error in 'blow-up doll()' - missing thing-a-ma-jig.
        
        You can also specify an integer representing the relevant row ID from the database in order to return a specific sentence:
        
        ::
        
           >>> import surrealism
           
           >>> print surrealism.getfault(3)
           
           >>> Traceback (most recent call last):  File '/party popper/fighter plane/glistening_seashell/anti-depressant.py', line 20, in straggly_particle accelerator.  waterproofError: salmon mousse did not deep-fry hand-drill.
        
        
        
        Please feel free to leave bug reports and feature requests on the github homepage at https://github.com/Morrolan/surrealism.
        
        All comments are welcome!
        
        
Keywords: surreal,surrealism,error message
Platform: Windows
Platform: Unix
Platform: OS X
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Other Environment
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Education
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Operating System :: OS Independent
Classifier: Topic :: Education
Classifier: Topic :: Software Development :: Libraries :: Python Modules
