{ "info": { "author": "Jonathan Eunice", "author_email": "jonathan.eunice@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Python Software Foundation License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing", "Topic :: Text Processing :: Filters" ], "description": "\n| |travisci| |version| |versions| |impls| |wheel| |coverage|\n\n.. |travisci| image:: https://api.travis-ci.org/jonathaneunice/textwrap3.svg\n :target: http://travis-ci.org/jonathaneunice/textwrap3\n\n.. |version| image:: http://img.shields.io/pypi/v/textwrap3.svg?style=flat\n :alt: PyPI Package latest release\n :target: https://pypi.python.org/pypi/textwrap3\n\n.. |versions| image:: https://img.shields.io/pypi/pyversions/textwrap3.svg\n :alt: Supported versions\n :target: https://pypi.python.org/pypi/textwrap3\n\n.. |impls| image:: https://img.shields.io/pypi/implementation/textwrap3.svg\n :alt: Supported implementations\n :target: https://pypi.python.org/pypi/textwrap3\n\n.. |wheel| image:: https://img.shields.io/pypi/wheel/textwrap3.svg\n :alt: Wheel packaging support\n :target: https://pypi.python.org/pypi/textwrap3\n\n.. |coverage| image:: https://img.shields.io/badge/test_coverage-100%25-663399.svg\n :alt: Test line coverage\n :target: https://pypi.python.org/pypi/textwrap3\n\n\n``textwrap3`` is a compatibility back-port of Python 3.6's ``textwrap``\nmodule that supports Python 2.6 forward. (Though honestly, if you're not\nalready using *at least* 2.7, you're way behind the times!) \n\nThis makes a few new\nAPIs such as ``shorten`` and the ``max_lines`` parameter available\nin a compatible way to all Python versions typically in current use.\n\nImport and use it like you would ``textwrap`` from the standard library::\n\n from textwrap3 import wrap\n\n text = 'long text here...'\n print(wrap(text, 40))\n\nThe standard `textwrap documentation `_\nis the best reference material.\n\nBias and Tweaks\n===============\n\nBy design, Python 3 sensibilities and expectations rule. Especially when\nprocessing text that includes Unicode characters, ``textwrap3``'s results may\ndiffer a bit from those of the ``textwrap`` of the underlying Python version\n(esp. 2.x). In particular, ``textwrap3`` uses the ``re.UNICODE`` flag so that\nnon-ASCII characters such as accented letters are considered legitimate word\ncharacters.\n\nIt also adds one tweak, considering the Unicode em-dash\n(``'\\N{EM DASH}'`` or ``u'\\u2014'``) identical to the simulated ASCII em-dash\n``'--'``.\n\nNotes\n=====\n\n* See ``CHANGES.yml`` for the Change Log.\n\n* This module is almost entirely the work of Gregory P. Ward\n (``textwrap``'s original author) plus enhancements from the Python\n community. This separate packaging is just a delivery and\n compatibility vehicle. It contributes cross-Python\n version compatibility shims, a few additional tests, and better\n handling of real em-dashes. The vast majority of functionality\n still comes from the standard ``textwrap`` code base, as of the\n Python 3.6 release.\n\nInstallation\n============\n\nTo install or upgrade to the latest version::\n\n pip install -U textwrap3\n\nYou may need to prefix these with ``sudo`` to authorize\ninstallation. In environments without super-user privileges, you may want to\nuse ``pip``'s ``--user`` option, to install only for a single user, rather\nthan system-wide. Depending on your system configuration, you may also\nneed to use separate ``pip2`` and ``pip3`` programs to install for Python\n2 and 3 respectively.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jonathaneunice/textwrap3", "keywords": "text wrap fill textwrap", "license": "Python Software Foundation License", "maintainer": "", "maintainer_email": "", "name": "textwrap3", "package_url": "https://pypi.org/project/textwrap3/", "platform": "", "project_url": "https://pypi.org/project/textwrap3/", "project_urls": { "Homepage": "https://github.com/jonathaneunice/textwrap3" }, "release_url": "https://pypi.org/project/textwrap3/0.9.2/", "requires_dist": null, "requires_python": "", "summary": "textwrap from Python 3.6 backport (plus a few tweaks)", "version": "0.9.2" }, "last_serial": 4733090, "releases": { "0.9.0": [ { "comment_text": "", "digests": { "md5": "126ad2e9a4b08b3dd3add86bbcc09414", "sha256": "d4b825fd2ee7055fb63794b7d634ab0224afa10c537a0e53e1fa29d8a48cda5c" }, "downloads": -1, "filename": "textwrap3-0.9.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "126ad2e9a4b08b3dd3add86bbcc09414", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 12001, "upload_time": "2017-06-07T14:45:04", "url": "https://files.pythonhosted.org/packages/ac/4d/12cc3d63036828b67f763a0cd5af82d81bd44e4c6e7b0f9bd3407f3db473/textwrap3-0.9.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e8f348cbe3ee9bdf8d6f18b24441fda3", "sha256": "b3d99cfa9f54dd3425c51141f86e0d815bc02bead3aeb5d637a83595aed2bf62" }, "downloads": -1, "filename": "textwrap3-0.9.0.zip", "has_sig": false, "md5_digest": "e8f348cbe3ee9bdf8d6f18b24441fda3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24243, "upload_time": "2017-06-07T14:45:02", "url": "https://files.pythonhosted.org/packages/d4/95/bf0b1a0b80d6fc35540c82adc087d10fc47e32570140c435bbf2acb437dc/textwrap3-0.9.0.zip" } ], "0.9.1": [ { "comment_text": "", "digests": { "md5": "d7c407a3872f9b29821442361a392fcf", "sha256": "9965eb42ed413907487d5425e3218076d2ce602fdfe6d62388772554c2070cfd" }, "downloads": -1, "filename": "textwrap3-0.9.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d7c407a3872f9b29821442361a392fcf", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 12116, "upload_time": "2017-06-11T01:39:21", "url": "https://files.pythonhosted.org/packages/e8/78/3bb4b819ae7ab81ba0759788b28671d7ae13186544c333f973e6c91a6726/textwrap3-0.9.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "34c7b20b65178a7fde6ec3ea658ef1c8", "sha256": "7f044d25f0ca4d7554718d9abdc06f68946bfb64008dfc40d9590945e50c1120" }, "downloads": -1, "filename": "textwrap3-0.9.1.zip", "has_sig": false, "md5_digest": "34c7b20b65178a7fde6ec3ea658ef1c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24585, "upload_time": "2017-06-11T01:39:18", "url": "https://files.pythonhosted.org/packages/86/9a/c8a6afe40c12aa76977f7966cb11a56e644a2621490fd48cab95fdb67304/textwrap3-0.9.1.zip" } ], "0.9.2": [ { "comment_text": "", "digests": { "md5": "5955beca47bd9df9f015d9d3d9d7dc9e", "sha256": "bf5f4c40faf2a9ff00a9e0791fed5da7415481054cef45bb4a3cfb1f69044ae0" }, "downloads": -1, "filename": "textwrap3-0.9.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5955beca47bd9df9f015d9d3d9d7dc9e", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 12235, "upload_time": "2019-01-23T21:57:11", "url": "https://files.pythonhosted.org/packages/77/9c/a53e561d496ee5866bbeea4d3a850b3b545ed854f8a21007c1e0d872e94d/textwrap3-0.9.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fb3ce1d1b93adecd367a0f6c39f98306", "sha256": "5008eeebdb236f6303dcd68f18b856d355f6197511d952ba74bc75e40e0c3414" }, "downloads": -1, "filename": "textwrap3-0.9.2.zip", "has_sig": false, "md5_digest": "fb3ce1d1b93adecd367a0f6c39f98306", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24951, "upload_time": "2019-01-23T21:57:08", "url": "https://files.pythonhosted.org/packages/4d/02/cef645d4558411b51700e3f56cefd88f05f05ec1b8fa39a3142963f5fcd2/textwrap3-0.9.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5955beca47bd9df9f015d9d3d9d7dc9e", "sha256": "bf5f4c40faf2a9ff00a9e0791fed5da7415481054cef45bb4a3cfb1f69044ae0" }, "downloads": -1, "filename": "textwrap3-0.9.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5955beca47bd9df9f015d9d3d9d7dc9e", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 12235, "upload_time": "2019-01-23T21:57:11", "url": "https://files.pythonhosted.org/packages/77/9c/a53e561d496ee5866bbeea4d3a850b3b545ed854f8a21007c1e0d872e94d/textwrap3-0.9.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fb3ce1d1b93adecd367a0f6c39f98306", "sha256": "5008eeebdb236f6303dcd68f18b856d355f6197511d952ba74bc75e40e0c3414" }, "downloads": -1, "filename": "textwrap3-0.9.2.zip", "has_sig": false, "md5_digest": "fb3ce1d1b93adecd367a0f6c39f98306", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24951, "upload_time": "2019-01-23T21:57:08", "url": "https://files.pythonhosted.org/packages/4d/02/cef645d4558411b51700e3f56cefd88f05f05ec1b8fa39a3142963f5fcd2/textwrap3-0.9.2.zip" } ] }