{ "info": { "author": "Yclept Nemo", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Libraries" ], "description": "The :py:mod:`protostrings` distribution provides string-like objects with functional aspects, integrating well with the standard string type. Each :py:mod:`protostring` simply wraps a function dictating specific behaviours within the overarching constraints of the type. Due to their dynamic nature, features such as length or indexing are not supported. Memoizing variants of each :py:mod:`protostring` type are provided. The :py:mod:`inspect` module is required only for visualing :py:mod:`protostrings` (:py:meth:`~.LazyString.__str__`, :py:meth:`~.LazyString.__repr__`, :py:meth:`~.LazyString.pprint`), and is thus a soft requirement.\n\n>>> protostring = \"alpha \" + ((lazy_str + context_str_right) + context_str_both) + \" omega\"\n>>> protostring.pprint(False)\nLazyString (...)\n LazyString (...)\n str 'alpha '\n LazyString (...)\n ContextString (...)\n LazyString ()\n ContextString (...)\n ContextString (...)\n str ' omega'\n>>> str(protostring)\n'alpha @@everything else@@ omega'\n>>> \"...alpha \" + (context_str_right + context_str_both) + \" omega...\"\n'...alpha (everything else) omega...'\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/orbisvicis/protostrings", "keywords": "", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "protostrings", "package_url": "https://pypi.org/project/protostrings/", "platform": "", "project_url": "https://pypi.org/project/protostrings/", "project_urls": { "Homepage": "https://github.com/orbisvicis/protostrings" }, "release_url": "https://pypi.org/project/protostrings/1.0.0/", "requires_dist": [ "decorator" ], "requires_python": ">= 3", "summary": "String-like Objects", "version": "1.0.0" }, "last_serial": 2268003, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "7795e5e4f0b205ee88d926a792897147", "sha256": "a5131999043cc1cf2b51932f5384000474775d053898380c6f9ae291a816dbc4" }, "downloads": -1, "filename": "protostrings-1.0.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7795e5e4f0b205ee88d926a792897147", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">= 3", "size": 7037, "upload_time": "2016-08-08T07:03:27", "url": "https://files.pythonhosted.org/packages/94/f3/e2aa65e2b48a44060a78279e5ad76d776287ee7d7f22adaf82ffcf884d99/protostrings-1.0.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4b02395bdc759aa407d1987a32945d24", "sha256": "26c5929ca0c1fad2e5b837b6f46f034625ac2d6a98eb9c59c0276570f2db573c" }, "downloads": -1, "filename": "protostrings-1.0.0.0.tar.gz", "has_sig": false, "md5_digest": "4b02395bdc759aa407d1987a32945d24", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3", "size": 5372, "upload_time": "2016-08-08T07:03:29", "url": "https://files.pythonhosted.org/packages/66/5d/4f01aa7284b191161cb6086547de4b7966a4eb11a0544e63cc5e82b5db15/protostrings-1.0.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7795e5e4f0b205ee88d926a792897147", "sha256": "a5131999043cc1cf2b51932f5384000474775d053898380c6f9ae291a816dbc4" }, "downloads": -1, "filename": "protostrings-1.0.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7795e5e4f0b205ee88d926a792897147", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">= 3", "size": 7037, "upload_time": "2016-08-08T07:03:27", "url": "https://files.pythonhosted.org/packages/94/f3/e2aa65e2b48a44060a78279e5ad76d776287ee7d7f22adaf82ffcf884d99/protostrings-1.0.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4b02395bdc759aa407d1987a32945d24", "sha256": "26c5929ca0c1fad2e5b837b6f46f034625ac2d6a98eb9c59c0276570f2db573c" }, "downloads": -1, "filename": "protostrings-1.0.0.0.tar.gz", "has_sig": false, "md5_digest": "4b02395bdc759aa407d1987a32945d24", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3", "size": 5372, "upload_time": "2016-08-08T07:03:29", "url": "https://files.pythonhosted.org/packages/66/5d/4f01aa7284b191161cb6086547de4b7966a4eb11a0544e63cc5e82b5db15/protostrings-1.0.0.0.tar.gz" } ] }