Metadata-Version: 1.1
Name: surrealism
Version: 0.8.0
Summary: Surreal sentence and error message generator.
Home-page: http://morrolan.github.io/surrealism/
Author: Ian Havelock
Author-email: morrolan@icloud.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.  
        
        
        This module is a derivative work (used with permission) from www.ravenblack.net.  
        
        
        Credit also goes to Kevan Davis on whose work the surrealism generator at www.ravenblack.net is based on.
        
        
        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!
        
           
        **Generate a surreal error message**:
        
        ::
        
           >>> import surrealism
           >>> print surrealism.getfault()
           >>> thing.c:466: fearsome error in 'blow-up doll()' - missing thing-a-ma-jig.
        
        
        Please feel free to leave bug reports and feature requests on the github homepage at https://github.com/Morrolan/surrealism.
        
        All comments are welcome!
        
        
        Changelog
        ---------
        
        0.8.0
        -----
        Added comments to code and fixed some dodgy sentences in the database.
        
        
        0.7.0
        -----
        Added a new table which allows more faults rather than just the C++ syntax fault.  Also added faulttest() and sentencetest() so you can print out all sentences and faults.
        
        
        0.6.0
        -----
        Added the ability to have the entire sentence in uppercase (some sentences require it) and tripled the size of the 'names' table.
        
        
        0.5.6
        -----
        More database tweaks to fix spacing issues.
        
        
        0.5.5
        -----
        Fixed print statement which prevented installation and use on Python 3x.
        
        
        0.5.4
        -----
        Added pkg_resources to manage sqlite file installation (particularly a problem when using virtualenv).
        
        
        0.5.3
        -----
        Added seperate script (sentence_test) 
        
        
        0.5.2
        -----
        Fixed bug with adjectives and tidied database.
        
        
        0.5.1
        -----
        Added basic docstrings.
        
        0.5.0
        -----
        
        Removed unnecessary Class, now making it even easier and simpler to use.
        
        
        0.4.1
        -----
        
        Minor bug fix to the getfault sentences where 2 periods were printing instead of 1.
        
        
        0.4
        ---
        
        Urgent bug fix to getfault where returned result was incomplete.
        
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: 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
