{ "info": { "author": "Naftali Harris", "author_email": "naftaliharris@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Environment :: Other Environment", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing :: Linguistic" ], "description": "Convert between numbers and strings\r\n-----------------------------------\r\n\r\nStrings to Numbers::\r\n\r\n >>> from numutil import str2num, num2str\r\n >>> str2num('1.3 million')\r\n 1300000\r\n >>> str2num('three and a half')\r\n Fraction(7, 2)\r\n >>> str2num('123,456.789')\r\n 123456.789\r\n\r\nNumbers to Strings::\r\n\r\n >>> num2str(1234567, style='newspaper')\r\n '1.23 million'\r\n >>> num2str(1234567, style='words')\r\n 'one million, two hundred thirty four thousand, five hundred sixty seven'\r\n\r\nnumutil might be useful for people mining data from text, or for people running web apps that need to parse numbers from user-entered strings, or render numbers in a user-friendly format.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.naftaliharris.com", "keywords": "number,parse,text,user-entered", "license": "UNKNOWN", "maintainer": "", "maintainer_email": "", "name": "numutil", "package_url": "https://pypi.org/project/numutil/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/numutil/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://www.naftaliharris.com" }, "release_url": "https://pypi.org/project/numutil/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Utilities for parsing strings into numbers, and printing numbers as pretty strings", "version": "0.1.0" }, "last_serial": 795609, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a3a775931edb013d8bc03bd9ffe1f876", "sha256": "14664171809c3b00bb4d6349d6bc3b7b0a42100d28d265a1f24e303554c31f57" }, "downloads": -1, "filename": "numutil-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a3a775931edb013d8bc03bd9ffe1f876", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8353, "upload_time": "2013-02-04T06:56:09", "url": "https://files.pythonhosted.org/packages/58/64/bb59c911eea1caac4b6828f3eda2545bb88a86c20260acfa5f1f78382a7b/numutil-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a3a775931edb013d8bc03bd9ffe1f876", "sha256": "14664171809c3b00bb4d6349d6bc3b7b0a42100d28d265a1f24e303554c31f57" }, "downloads": -1, "filename": "numutil-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a3a775931edb013d8bc03bd9ffe1f876", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8353, "upload_time": "2013-02-04T06:56:09", "url": "https://files.pythonhosted.org/packages/58/64/bb59c911eea1caac4b6828f3eda2545bb88a86c20260acfa5f1f78382a7b/numutil-0.1.0.tar.gz" } ] }