Metadata-Version: 1.1
Name: pyborgeous
Version: 0.5.0
Summary: Pyborgeous is an implementation of Jorge Luis Borges' Library of Babel
Home-page: https://github.com/Spacehug/pyborgeous
Author: Spacehug
Author-email: spacehug.o0@gmail.com
License: MIT
Description: ==========

        pyborgeous

        ==========

        pyborgeous is an implementation of https://en.wikipedia.org/wiki/The_Library_of_Babel.

        

        The library contains all the pages of all the books ever written,

        the books being written, and the books that will be written in the future.

        

        **Install**:

        ``pip install pyborgeous``

        or

        ``pip install git+https://github.com/Spacehug/pyborgeous.git``

        

        **Example**:

        ``pyborgeous -cm unicode -t 'The first colony on Mars was founded in 2027.'``

        - Produces address -

        ``<Really long string of symbols>       2       0       22      152``

        Which means the page with the text "The first colony on Mars was founded in 2027." is in the room number (long address),

        3rd bookcase, 1st shelf from the top, 23th book from the left, on the page number 153.

        

        **Specials**:

        ``-cm unicode_short``

        The mode is used to generate an address, the page can contain any printable unicode character (same as

        -cm unicode) but the address contains only unicode characters that are not symbols, punctuation, marks and so on.

        ``-te '<text>'``

        The mode is used to generate a page address where the <text> is surrounded by random pseudo-english sentences.

        This is a work in progress at the moment, hence the low speed. Sentences are generated by markovify and nltk modules, and

        it's base was generated with use of cchardet and guess_language, by parsing english books in Project Gutenberg (so all

        the props goes to them).
Keywords: Gorge Luis Borges Library of Babel unicode
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.6.1
