{ "info": { "author": "Federico Frenguelli", "author_email": "synasius@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3" ], "description": "=============================\ndjango-money-rates\n=============================\n\n.. image:: https://badge.fury.io/py/django-money-rates.png\n :target: http://badge.fury.io/py/django-money-rates\n \n.. image:: https://travis-ci.org/evonove/django-money-rates.png?branch=master\n :target: https://travis-ci.org/evonove/django-money-rates\n\n\n.. image:: https://coveralls.io/repos/evonove/django-money-rates/badge.png\n :target: https://coveralls.io/r/evonove/django-money-rates\n\n.. image:: https://pypip.in/d/django-money-rates/badge.png\n :target: https://crate.io/packages/django-money-rates?version=latest\n\n\nCurrency conversion for money\n\nDocumentation\n-------------\n\nThe full documentation is at http://django-money-rates.rtfd.org.\n\nQuickstart\n----------\n\nInstall django-money-rates::\n\n pip install django-money-rates\n\nThen use it in a project::\n\n import djmoney_rates\n\nIn order to save exchange rates to your database, add `djmoney_rates` to your INSTALLED_APPS in your project's settings::\n\n INSTALLED_APPS = (\n ...\n 'djmoney_rates',\n ...\n )\n\nSetup the Open Exchange Rates backend\n-------------------------------------\n\nOpen an account at https://openexchangerates.org/ if you don't have one already. Then, add this to your project's settings::\n\n DJANGO_MONEY_RATES = {\n 'DEFAULT_BACKEND': 'djmoney_rates.backends.OpenExchangeBackend',\n 'OPENEXCHANGE_URL': 'http://openexchangerates.org/api/latest.json',\n 'OPENEXCHANGE_APP_ID': 'YOUR APP ID HERE',\n 'OPENEXCHANGE_BASE_CURRENCY': 'USD',\n }\n\nFor more information on the Open Exchange Rates API, see https://openexchangerates.org/\n\nPull the latest Exchange Rates\n------------------------------\n\nOnce your backend is setup, get the latest exchange rates::\n\n $ ./manage.py update_rates\n\nConvert from one currency to another\n------------------------------------\n\nHere's an example of converting 10 Euros to Brazilian Reais:\n\n.. code-block:: python\n\n from moneyed import Money\n from djmoney_rates.utils import convert_money\n brl_money = convert_money(10, \"EUR\", \"BRL\")\n\nFeatures\n--------\n\n* Convert money from one currency to another with an easy to use API.\n\nTODO List\n---------\n\n* Add money converter wrapper for util's `convert_money` function.\n* Add celery periodic task for getting daily exchange rates.\n\n\n\n\nHistory\n-------\n\n0.3.0 (2013-12-30)\n++++++++++++++++++\n\n* `convert_money` utility function now returns moneyed.Money instances\n\n0.1.0 (2013-10-16)\n++++++++++++++++++\n\n* First release on PyPI.", "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/evonove/django-money-rates", "keywords": "django-money-rates", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-money-rates", "package_url": "https://pypi.org/project/django-money-rates/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-money-rates/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/evonove/django-money-rates" }, "release_url": "https://pypi.org/project/django-money-rates/0.3.1/", "requires_dist": null, "requires_python": null, "summary": "Currency conversion for money", "version": "0.3.1" }, "last_serial": 966595, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "4db425a24df28418ab5378e7d2b424b3", "sha256": "4b4b516b0d39c5c6fd67bfb2de29a8bc3835645cc6b899660facf7ad40fe0246" }, "downloads": -1, "filename": "django-money-rates-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4db425a24df28418ab5378e7d2b424b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7956, "upload_time": "2013-10-17T10:53:32", "url": "https://files.pythonhosted.org/packages/53/1a/5e91675e157e4297ef96d5c8a3750853f11b32b5837513a787f10d3d2cea/django-money-rates-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "ce8f2cbbe5c9284e0deaf05f6ef8ceb3", "sha256": "40e720ee8f137887ecfa66e5821eac626f4a2fc779b1b0fb028840a6a42279b5" }, "downloads": -1, "filename": "django-money-rates-0.2.0.tar.gz", "has_sig": false, "md5_digest": "ce8f2cbbe5c9284e0deaf05f6ef8ceb3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8081, "upload_time": "2013-10-17T12:07:24", "url": "https://files.pythonhosted.org/packages/36/e7/26d9d4c43ed258a61270639279adcf8164a5fd10ae8fd9a7c630e7766356/django-money-rates-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "018d0da6c3afc6ac84cc70afe5b6e7f3", "sha256": "387cf7f56522af69e212501ce1a3da65e30741185cfba1e4e8021936dea42a3a" }, "downloads": -1, "filename": "django-money-rates-0.2.1.tar.gz", "has_sig": false, "md5_digest": "018d0da6c3afc6ac84cc70afe5b6e7f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8087, "upload_time": "2013-10-17T12:21:46", "url": "https://files.pythonhosted.org/packages/ae/41/258a42842995c99dfa925fad2607ae773f47aafeeca693766665a6f4b464/django-money-rates-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "24b85f137300cd7ef0a14cc8f98482c5", "sha256": "c32047143af8726ea21bb956d42918cd8f87ad4e7b9f76b63326968df7e2f317" }, "downloads": -1, "filename": "django-money-rates-0.3.0.tar.gz", "has_sig": false, "md5_digest": "24b85f137300cd7ef0a14cc8f98482c5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9050, "upload_time": "2013-12-30T13:36:53", "url": "https://files.pythonhosted.org/packages/7b/58/3a91b41daaf346514872988d4cd27cfdbb35309960aebd36f68580cd8906/django-money-rates-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "4146fd175f87eacb88d004f065fc285d", "sha256": "4ed8ea4ad1467716a9a78601915778610e57df6dd1e2b2ec1384ae9943c41bf6" }, "downloads": -1, "filename": "django-money-rates-0.3.1.tar.gz", "has_sig": false, "md5_digest": "4146fd175f87eacb88d004f065fc285d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9077, "upload_time": "2014-01-12T15:04:59", "url": "https://files.pythonhosted.org/packages/1a/fd/b7967c067e2e0734eeb115fef43d5bd417a656c214d871e069f4a2edc5db/django-money-rates-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4146fd175f87eacb88d004f065fc285d", "sha256": "4ed8ea4ad1467716a9a78601915778610e57df6dd1e2b2ec1384ae9943c41bf6" }, "downloads": -1, "filename": "django-money-rates-0.3.1.tar.gz", "has_sig": false, "md5_digest": "4146fd175f87eacb88d004f065fc285d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9077, "upload_time": "2014-01-12T15:04:59", "url": "https://files.pythonhosted.org/packages/1a/fd/b7967c067e2e0734eeb115fef43d5bd417a656c214d871e069f4a2edc5db/django-money-rates-0.3.1.tar.gz" } ] }