{ "info": { "author": "Fotis Gimian", "author_email": "fgimiansoftware@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries", "Topic :: Utilities" ], "description": "Formatizer\n==========\n\n|Build Status| |Coverage Status|\n\n.. |Build Status| image:: https://travis-ci.org/fgimian/formatizer.svg?branch=master\n :target: https://travis-ci.org/fgimian/formatizer\n.. |Coverage Status| image:: https://coveralls.io/repos/fgimian/formatizer/badge.png\n :target: https://coveralls.io/r/fgimian/formatizer\n\n.. image:: https://raw.githubusercontent.com/fgimian/formatizer/master/images/formatizer-logo.png\n :height: 225px\n :alt: Formatizer Logo\n\nAwesome artwork provided courtesy of `Open Clip Art\nLibrary `__\n\nFormatizer provides literal string formatting for Python versions older\nthan 3.6. This replaces the need for substitution using ``%`` or the\n``format`` function.\n\nFormatizer is covered by unit tests and Flake8 compliance. Please note\nthat this library does use ``eval`` to perform its expression\nprocessing.\n\nQuick Start\n-----------\n\nInstall Formatizer in your virtualenv as follows:\n\n.. code:: bash\n\n pip install formatizer\n\nAnd now, go ahead and use the f function similarly to `PEP\n498 `__:\n\n.. code:: python\n\n from __future__ import print_function\n from formatizer import f\n\n GREETING = 'hi'\n\n def main():\n name = 'Fotis'\n print(f('My name is {name}, I say {GREETING} and 1 + 2 is {1 + 2}'))\n\n if __name__ == '__main__':\n main()\n\nAll local and global variables will be recognised by the ``f`` function\nand complete Python expressions are also allowed between the braces much\nlike Python 3.6.", "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/fgimian/formatizer", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "formatizer", "package_url": "https://pypi.org/project/formatizer/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/formatizer/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/fgimian/formatizer" }, "release_url": "https://pypi.org/project/formatizer/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Literal string formatting for Python versions older than 3.6", "version": "0.1.1" }, "last_serial": 2142413, "releases": { "0.1": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "38ba4770383e7018c246b7ac3f0a164c", "sha256": "3061ced1daa08f1836b79f4a3de16a33a54179331273e0b9c757d27ab339c29f" }, "downloads": -1, "filename": "formatizer-0.1.1.tar.gz", "has_sig": false, "md5_digest": "38ba4770383e7018c246b7ac3f0a164c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3694, "upload_time": "2016-05-31T11:34:19", "url": "https://files.pythonhosted.org/packages/60/ff/06524217a4497224022576f39f12f72a108921ac0033f69660abd24346ae/formatizer-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "38ba4770383e7018c246b7ac3f0a164c", "sha256": "3061ced1daa08f1836b79f4a3de16a33a54179331273e0b9c757d27ab339c29f" }, "downloads": -1, "filename": "formatizer-0.1.1.tar.gz", "has_sig": false, "md5_digest": "38ba4770383e7018c246b7ac3f0a164c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3694, "upload_time": "2016-05-31T11:34:19", "url": "https://files.pythonhosted.org/packages/60/ff/06524217a4497224022576f39f12f72a108921ac0033f69660abd24346ae/formatizer-0.1.1.tar.gz" } ] }