{ "info": { "author": "Anton Maistrenko", "author_email": "it2015maistrenko@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Framework :: Django", "Framework :: Django :: 1.10", "Framework :: Django :: 1.11", "Framework :: Django :: 1.8", "Framework :: Django :: 1.9", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=============================\ncurrency-open-exchange\n=============================\n\nCurrency conversion\n\nQuickstart\n----------\n\nInstall currency_open_exchange::\n\n pip install currency-open-exchange\n\nThen use it in a project::\n\n import currency_open_exchange\n\nIn order to save exchange rates to your database, add `currency_open_exchange` to your INSTALLED_APPS in your project's settings::\n\n INSTALLED_APPS = (\n ...\n 'currency_open_exchange',\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\n 'EXCHANGE_APP_ID': 'YOUR APP ID HERE',\n 'EXCHANGE_BASE_CURRENCY': 'USD' (optional, only USD for free accounts)\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 American Dollars to Chinese Renminbi:\n\n.. code-block:: python\n\n from currency_open_exchange.utils import convert\n amount, currency = convert(10, \"EUR\", \"BRL\")\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/MaistrenkoAnton/Currency-Open-Exchange", "keywords": "currency-open-exchange", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "currency-open-exchange", "package_url": "https://pypi.org/project/currency-open-exchange/", "platform": "", "project_url": "https://pypi.org/project/currency-open-exchange/", "project_urls": { "Homepage": "https://github.com/MaistrenkoAnton/Currency-Open-Exchange" }, "release_url": "https://pypi.org/project/currency-open-exchange/0.0.6/", "requires_dist": null, "requires_python": "", "summary": "Currency conversion", "version": "0.0.6" }, "last_serial": 3923981, "releases": { "0.0.5": [ { "comment_text": "", "digests": { "md5": "22e047efee1766a0d769c1f658e6bb0f", "sha256": "ab779786ea38b2316d35da545a89839c80dc81856b4908cb8b389589880fd29a" }, "downloads": -1, "filename": "currency_open_exchange-0.0.5-py2-none-any.whl", "has_sig": false, "md5_digest": "22e047efee1766a0d769c1f658e6bb0f", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 8390, "upload_time": "2018-06-02T16:20:28", "url": "https://files.pythonhosted.org/packages/e6/8a/7faf8bd2210769da504d1446b087cfc6fd9848574a2feb42cddd1c80422e/currency_open_exchange-0.0.5-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3fba3d6e25ed46c303d34a3837312c9d", "sha256": "3ca8298f844fffb6653ef89329cbb99f8a0b0ffe93e01d8eac31b9ae811f99ba" }, "downloads": -1, "filename": "currency_open_exchange-0.0.5.tar.gz", "has_sig": false, "md5_digest": "3fba3d6e25ed46c303d34a3837312c9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4337, "upload_time": "2018-06-02T16:20:36", "url": "https://files.pythonhosted.org/packages/e1/40/c507335eb8ad132ed7ce71a20744af10e2459540e46a7e3fc933ebe19e59/currency_open_exchange-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "12a37fb3bca317c797f30d3d88599605", "sha256": "cf93bad2720b985194e45d060eaae38a4860afefb2cf1b79f7c1f3f8fb245990" }, "downloads": -1, "filename": "currency_open_exchange-0.0.6-py2-none-any.whl", "has_sig": false, "md5_digest": "12a37fb3bca317c797f30d3d88599605", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9383, "upload_time": "2018-06-02T17:28:41", "url": "https://files.pythonhosted.org/packages/3e/cf/2a3e9a9ab0934df7a9793c6309de7e191593a21145a533e24f6f4709e960/currency_open_exchange-0.0.6-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0dbf5f5f74345f08ca78223ae5f4b8a3", "sha256": "43c08f3391927532a5d0ae706a5c08dce7295d97e0097fb3df739a88989a90d1" }, "downloads": -1, "filename": "currency_open_exchange-0.0.6.tar.gz", "has_sig": false, "md5_digest": "0dbf5f5f74345f08ca78223ae5f4b8a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4916, "upload_time": "2018-06-02T17:28:49", "url": "https://files.pythonhosted.org/packages/43/d6/b3b8d1d9f77ab0aeae747a31b7f703a0460bc80ad2f0238ecffd1ebfbe92/currency_open_exchange-0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "12a37fb3bca317c797f30d3d88599605", "sha256": "cf93bad2720b985194e45d060eaae38a4860afefb2cf1b79f7c1f3f8fb245990" }, "downloads": -1, "filename": "currency_open_exchange-0.0.6-py2-none-any.whl", "has_sig": false, "md5_digest": "12a37fb3bca317c797f30d3d88599605", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9383, "upload_time": "2018-06-02T17:28:41", "url": "https://files.pythonhosted.org/packages/3e/cf/2a3e9a9ab0934df7a9793c6309de7e191593a21145a533e24f6f4709e960/currency_open_exchange-0.0.6-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0dbf5f5f74345f08ca78223ae5f4b8a3", "sha256": "43c08f3391927532a5d0ae706a5c08dce7295d97e0097fb3df739a88989a90d1" }, "downloads": -1, "filename": "currency_open_exchange-0.0.6.tar.gz", "has_sig": false, "md5_digest": "0dbf5f5f74345f08ca78223ae5f4b8a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4916, "upload_time": "2018-06-02T17:28:49", "url": "https://files.pythonhosted.org/packages/43/d6/b3b8d1d9f77ab0aeae747a31b7f703a0460bc80ad2f0238ecffd1ebfbe92/currency_open_exchange-0.0.6.tar.gz" } ] }