{ "info": { "author": "Ecometrica", "author_email": "admin@ecometrica.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Text Processing :: Filters" ], "description": "================================\n Paragraph wrapping and filling\n================================\n\nThe **parawrap** module is an extended version of the built-in\n`textwrap`_ module. Like the standard module, it provides two\nconvenience functions, `wrap()`_ and `fill()`_. It also provides\n``ParagraphWrapper``, which is the class that does all the work.\nIn addition, there is a `split()`_ function that splits up\nparagraphs.\n\n.. _wrap():\n\n``parawrap.wrap``\\(*text*\\[, *width*\\[, ...]])\n Wraps *text* (a string) so every line is at most *width*\n characters long. Respects paragraph breaks, which are lines\n separated by multiple newlines. Returns a list of output lines,\n without final newlines.\n\n Optional keyword arguments correspond to the instance attributes\n of ``ParagraphWrapper``, which mirrors ``textwrap.TextWrapper``.\n *width* defaults to 70.\n\n.. _fill():\n\n``parawrap.fill``\\(*text*\\[, *width*\\[, ...]])\n Wraps *text* and returns a single string containing the wrapped\n paragraphs. ``fill()`` is shorthand for::\n\n \"\\n\".join(wrap(text, ...))\n\n In particular, ``fill()`` accepts exactly the same keyword\n arguments as ``wrap()``.\n\n.. _split():\n\n``parawrap.split``\\(*text*)\n Splits text into multiple paragraphs, returning a list of paragraphs.\n\n\nInstallation\n============\n\nTo install from `PyPi`_::\n\n $ pip install parawrap\n\nYou can get a copy of the source by using::\n\n $ git clone https://github.com/ecometrica/parawrap.git\n\nNote that this program requires Python 2.6 or higher.\n\n\nReporting bugs and submitting patches\n=====================================\n\nPlease check our `issue tracker`_ for known bugs and feature requests.\n\nWe accept pull requests for fixes and new features.\n\n\nCredits\n=======\n\nSimon Law wrote this program, with the generous support of Ecometrica_.\n\n.. _textwrap: http://docs.python.org/library/textwrap.html\n.. _PyPi: http://pypi.python.org/pypi/parawrap\n.. _issue tracker: https://github.com/ecometrica/parawrap/issues\n.. _Ecometrica: http://ecometrica.com/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ecometrica/parawrap", "keywords": null, "license": "Apache Software License, version 2.0", "maintainer": null, "maintainer_email": null, "name": "parawrap", "package_url": "https://pypi.org/project/parawrap/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/parawrap/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ecometrica/parawrap" }, "release_url": "https://pypi.org/project/parawrap/1.0/", "requires_dist": null, "requires_python": null, "summary": "Paragraph wrapping and filling.", "version": "1.0" }, "last_serial": 2825555, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "070222205838fa0ee31b46c18a31f1e5", "sha256": "9524990cd30fa46864cfefb50b29277be458de879ab4fb4a305265a4c10d59a0" }, "downloads": -1, "filename": "parawrap-1.0.tar.gz", "has_sig": false, "md5_digest": "070222205838fa0ee31b46c18a31f1e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3041, "upload_time": "2013-01-31T00:55:22", "url": "https://files.pythonhosted.org/packages/00/a6/19edc0dce69f190680e212d8ef14507b4ff4684879acdbb551e352d54b1a/parawrap-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "070222205838fa0ee31b46c18a31f1e5", "sha256": "9524990cd30fa46864cfefb50b29277be458de879ab4fb4a305265a4c10d59a0" }, "downloads": -1, "filename": "parawrap-1.0.tar.gz", "has_sig": false, "md5_digest": "070222205838fa0ee31b46c18a31f1e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3041, "upload_time": "2013-01-31T00:55:22", "url": "https://files.pythonhosted.org/packages/00/a6/19edc0dce69f190680e212d8ef14507b4ff4684879acdbb551e352d54b1a/parawrap-1.0.tar.gz" } ] }