{ "info": { "author": "Lihan", "author_email": "llihan673@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django :: 2.0", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": ".. image:: https://travis-ci.org/brightwrite/dj-currencies.svg?branch=master\n :target: https://travis-ci.org/brightwrite/dj-currencies\n\nDocumentation\n-------------\n\nThe full documentation is at https://dj-currencies.readthedocs.io.\n\nQuickstart\n----------\n\nInstall djcurrencies::\n\n pip install dj-currencies\n\nAdd it to your `INSTALLED_APPS`:\n\n.. code-block:: python\n\n INSTALLED_APPS = (\n ...\n 'dj_currencies',\n ...\n )\n\nSettings\n========\n\n\n.. code-block:: python\n\n DJANGO_CURRENCIES = {\n 'DEFAULT_BACKEND': 'djmoney_rates.backends.OpenExchangeBackend',\n 'OPENEXCHANGE_APP_ID': '',\n 'BASE_CURRENCIES': ['USD'],\n 'MAX_CACHE_DAYS': 7\n }\n\n**DEFAULT_BACKEND**: The selected backend to sync exchange rates\n\n**OPENEXCHANGE_APP_ID**: Must be configured if you use **OpenExchangeBackend**\n\n**BASE_CURRENCIES**: A list of base currencies to use. At the time of this version, you will only be able to convert currency from any one of the base currency to target currency.\n\n**MAX_CACHE_DAYS**: Only use the cache within this time limit. If exchange rates was not synced within the time frame, an exception will thrown\n\n.. NOTE::\n You will need to have at least \"OPENEXCHANGE_APP_ID\" configured if you use **OpenExchangeBackend**\n\n\n\nFeatures\n--------\n\n* [open exchange rates](openexchangerates.org) integration\n* Extensible backend design, hook your own exchange rate sources\n* Multi base currencies support, no double conversion to lose precision\n* Store historical exchange rates\n* offline currency conversion\n\nRunning Tests\n-------------\n\nDoes the code actually work?\n\n::\n\n source /bin/activate\n (myenv) $ python runtests.py\n\n\n\n\nHistory\n-------\n\n0.0.1 (2018-04-23)\n++++++++++++++++++\n\n* First release on PyPI.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lihan/dj-currencies", "keywords": "dj-currencies", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "dj-currencies", "package_url": "https://pypi.org/project/dj-currencies/", "platform": "", "project_url": "https://pypi.org/project/dj-currencies/", "project_urls": { "Homepage": "https://github.com/lihan/dj-currencies" }, "release_url": "https://pypi.org/project/dj-currencies/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "A reusable django app that provides locally updated exchange rates to your app", "version": "0.1.2" }, "last_serial": 5220995, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "b08795c64a91e833758a25f608579a31", "sha256": "b6d68451ea839fe015aa146e2a3305ebaba1839331945b94c63ac69624324190" }, "downloads": -1, "filename": "dj-currencies-0.0.1.tar.gz", "has_sig": false, "md5_digest": "b08795c64a91e833758a25f608579a31", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8322, "upload_time": "2018-04-25T03:37:14", "url": "https://files.pythonhosted.org/packages/ea/45/d8a2fca3a81fdab0353e530317e9ce978a89bc7cc0421966631f5ddcee63/dj-currencies-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "6aeb29527e19f14e30bbd04299dc3458", "sha256": "50d0c70825d0e55462ac13a3298c78c3d9b8e8787cddbf9646fe3d7752959ba7" }, "downloads": -1, "filename": "dj-currencies-0.0.2.tar.gz", "has_sig": false, "md5_digest": "6aeb29527e19f14e30bbd04299dc3458", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8412, "upload_time": "2018-04-26T02:06:33", "url": "https://files.pythonhosted.org/packages/cd/f2/702f14774583825bc3b429b258d8c439055bba144971d5a919b6dbf9aac0/dj-currencies-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "bb4101071bfdec52da762f1e469c86cb", "sha256": "211493670315016727f7495078734d1ba0584fd6ec97391f255c6c0eba03589c" }, "downloads": -1, "filename": "dj-currencies-0.0.3.tar.gz", "has_sig": false, "md5_digest": "bb4101071bfdec52da762f1e469c86cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8427, "upload_time": "2018-04-26T02:10:49", "url": "https://files.pythonhosted.org/packages/65/58/0de2f514717d209e9f47d18de0ff24070506491ce337f3a814c7b0551a6c/dj-currencies-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "0dcd8f00a11a478611f3c3aa6a786ef7", "sha256": "9fdc7ea5a0b27adbc283e5099724b03b45710124a8b560e0c7842d3b185ccb9b" }, "downloads": -1, "filename": "dj-currencies-0.0.4.tar.gz", "has_sig": false, "md5_digest": "0dcd8f00a11a478611f3c3aa6a786ef7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8650, "upload_time": "2018-04-26T04:08:12", "url": "https://files.pythonhosted.org/packages/31/6d/1a3ed1b9464e2f895306c9ccfe06c10a957831e75805e8406aee7ebf2008/dj-currencies-0.0.4.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "58939d2936d673966cffa985610b353b", "sha256": "936fcabc714b2e466aaac97f6e4e209b27f584ec2c5f3ff7cf65e18e2f428285" }, "downloads": -1, "filename": "dj-currencies-0.1.0.tar.gz", "has_sig": false, "md5_digest": "58939d2936d673966cffa985610b353b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9023, "upload_time": "2018-05-01T00:41:51", "url": "https://files.pythonhosted.org/packages/0c/d8/d2427c9b1d99f7536f7d2f251b24341440db3374b21806710b96f5404019/dj-currencies-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "1773813c5daedb6fd79970866fdda8d2", "sha256": "2e55b43cbbf639dd13c2d1ea5b0a0c276e7e0f17672c21981a071a061e8106a5" }, "downloads": -1, "filename": "dj-currencies-0.1.1.tar.gz", "has_sig": false, "md5_digest": "1773813c5daedb6fd79970866fdda8d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9791, "upload_time": "2019-05-03T05:34:02", "url": "https://files.pythonhosted.org/packages/d3/f3/b054134c502a4441ab58e7057782e395fe91de9515b86a3d675fd7aef06c/dj-currencies-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "e921e25269f0740feb3490d86c4b1d5f", "sha256": "dd80727b0152c7f3726f211f09d4ee7c32fdc9b52fc5a4d99bed7a5d0b0e6b6a" }, "downloads": -1, "filename": "dj-currencies-0.1.2.tar.gz", "has_sig": false, "md5_digest": "e921e25269f0740feb3490d86c4b1d5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9805, "upload_time": "2019-05-03T09:02:00", "url": "https://files.pythonhosted.org/packages/51/57/f0fcf7250c64515d1b5c3293b92b508423cdd6598148b29760772387660e/dj-currencies-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e921e25269f0740feb3490d86c4b1d5f", "sha256": "dd80727b0152c7f3726f211f09d4ee7c32fdc9b52fc5a4d99bed7a5d0b0e6b6a" }, "downloads": -1, "filename": "dj-currencies-0.1.2.tar.gz", "has_sig": false, "md5_digest": "e921e25269f0740feb3490d86c4b1d5f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9805, "upload_time": "2019-05-03T09:02:00", "url": "https://files.pythonhosted.org/packages/51/57/f0fcf7250c64515d1b5c3293b92b508423cdd6598148b29760772387660e/dj-currencies-0.1.2.tar.gz" } ] }