{ "info": { "author": "Mike Wooster", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6" ], "description": "# Reformat Money\n\n`reformat-money` is a simple command line utility that will attempt to\nreformat the usage of [`py-moneyed`][py-moneyed] Money within the application\ninto a standard string format.\n\nThe driver behind this is that usage of money within an application needs to\nbe consistent and precise. The main aim of this utility is to stop an\napplication defining money as `float`, which can lead to unpredictable errors.\nIn order to keep consistency, where possible all instances of money will have\nthe amount reformatted to a string.\n\nThe following will be reformatted.\n```\nMoney(100.20, \"USD\") --> Money(\"100.20\", \"USD\")\nMoney(200, \"USD\") --> Money(\"200.00\", \"USD\")\n```\n\nIf it is not possible to reformat, the filename will be logged for the user to\ninspect manually.\n\nIt is advised that you have your code committed to version control before running\n`reformat-money` to allow you to roll back changes that you are not happy with.\n\n\n## Installation\n\nInstallation is simple:\n```\npip install reformat-money\n```\n\n## Usage\n\nThis utility can be used by specifying either a single file or directory, for example\n\n```\nreformat-money package_name\n```\n\n\n[py-moneyed]: https://github.com/limist/py-moneyed\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/MikeWooster/reformat-money", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "reformat-money", "package_url": "https://pypi.org/project/reformat-money/", "platform": "", "project_url": "https://pypi.org/project/reformat-money/", "project_urls": { "Homepage": "https://github.com/MikeWooster/reformat-money" }, "release_url": "https://pypi.org/project/reformat-money/0.0.2/", "requires_dist": [ "pytest ; extra == 'dev'", "pytest-cov ; extra == 'dev'", "pytest-env ; extra == 'dev'", "ipdb ; extra == 'dev'", "flake8 ; extra == 'dev'", "flake8-docstrings ; extra == 'dev'", "black ; extra == 'dev'", "setuptools ; extra == 'dev'", "wheel ; extra == 'dev'", "twine ; extra == 'dev'", "pytest ; extra == 'docs'", "pytest-cov ; extra == 'docs'", "pytest-env ; extra == 'docs'", "ipdb ; extra == 'docs'", "flake8 ; extra == 'docs'", "flake8-docstrings ; extra == 'docs'", "black ; extra == 'docs'", "setuptools ; extra == 'docs'", "wheel ; extra == 'docs'", "twine ; extra == 'docs'", "flake8 ; extra == 'lint'", "flake8-docstrings ; extra == 'lint'", "black ; extra == 'lint'", "pytest ; extra == 'test'", "pytest-cov ; extra == 'test'", "pytest-env ; extra == 'test'", "ipdb ; extra == 'test'" ], "requires_python": ">=3.6", "summary": "A script to fix money references within a codebase.", "version": "0.0.2" }, "last_serial": 4691094, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "3a161f97ef9626d897ff7b19cf570025", "sha256": "763e9b793a8f32b5ac466d446414bee3ba92ffe6e7e14fa6314f58949ef0fcf2" }, "downloads": -1, "filename": "reformat_money-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "3a161f97ef9626d897ff7b19cf570025", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 8637, "upload_time": "2019-01-13T10:14:52", "url": "https://files.pythonhosted.org/packages/83/a8/b139347a32074f4e6fc805c9cc2b397c14055dd56b80a905ff134b4f9a43/reformat_money-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7a0f36d161d2f2a962705b0ea524d4de", "sha256": "d5f1bac89b990f1cee3ebd017f82083e807c582f565122ac9cf71ddfb053c992" }, "downloads": -1, "filename": "reformat-money-0.0.1.tar.gz", "has_sig": false, "md5_digest": "7a0f36d161d2f2a962705b0ea524d4de", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 5783, "upload_time": "2019-01-13T10:14:54", "url": "https://files.pythonhosted.org/packages/57/5f/852968a67a261039195d09efa336b57de7737986d39c6d7248826219a5cd/reformat-money-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "075f606766a0a50a108fcebc93f66be9", "sha256": "0e5c741634d934a7dae39dbbbea22aec3dc71e6fcc581461d4dbf4995b248e5d" }, "downloads": -1, "filename": "reformat_money-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "075f606766a0a50a108fcebc93f66be9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 8636, "upload_time": "2019-01-13T15:58:44", "url": "https://files.pythonhosted.org/packages/f6/38/9f3cc888fdbb696e5aff8fabe7a9e823ab63462f01a7f993c4b17f63a8b1/reformat_money-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9a8c5e48cdd6bda3f069193b07d94b47", "sha256": "238e56e996e634da06cf890d0b98cc90cf35f13301a8d0a4aca1854b9bb675a0" }, "downloads": -1, "filename": "reformat-money-0.0.2.tar.gz", "has_sig": false, "md5_digest": "9a8c5e48cdd6bda3f069193b07d94b47", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 5779, "upload_time": "2019-01-13T15:58:46", "url": "https://files.pythonhosted.org/packages/f5/ee/1f741314a94819c663b1cc14c3fd060d0b41761ef42de8894ca40c4a88c8/reformat-money-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "075f606766a0a50a108fcebc93f66be9", "sha256": "0e5c741634d934a7dae39dbbbea22aec3dc71e6fcc581461d4dbf4995b248e5d" }, "downloads": -1, "filename": "reformat_money-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "075f606766a0a50a108fcebc93f66be9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 8636, "upload_time": "2019-01-13T15:58:44", "url": "https://files.pythonhosted.org/packages/f6/38/9f3cc888fdbb696e5aff8fabe7a9e823ab63462f01a7f993c4b17f63a8b1/reformat_money-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9a8c5e48cdd6bda3f069193b07d94b47", "sha256": "238e56e996e634da06cf890d0b98cc90cf35f13301a8d0a4aca1854b9bb675a0" }, "downloads": -1, "filename": "reformat-money-0.0.2.tar.gz", "has_sig": false, "md5_digest": "9a8c5e48cdd6bda3f069193b07d94b47", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 5779, "upload_time": "2019-01-13T15:58:46", "url": "https://files.pythonhosted.org/packages/f5/ee/1f741314a94819c663b1cc14c3fd060d0b41761ef42de8894ca40c4a88c8/reformat-money-0.0.2.tar.gz" } ] }