{ "info": { "author": "o3o3o", "author_email": "o3o3o.me@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# Convert value from usd to currency\n\nSimple and free usd2currency convert utils,\nby caching free-limited-api from apilayer.com\n\n## Quick start\n\n1. Install::\n\n``` \n pip install django-usd2currency\n```\n\n1. Add \"django_usd2currency\" to your INSTALLED_APPS setting like this::\n\n```\n INSTALLED_APPS = [\n ...\n 'django_usd2currency',\n ]\n # Get free api from https://currencylayer.com/signup/free\n APILAYER_ACCESS_KEY = 'xxxxxxxxxxx'\n```\n\n1. Start to use it in code\n\n```\n from django_usd2currency.utils import usd2currency\n\n print(usd2currency(12, currency='CNY'))\n```\n\n1. Use [redis as cache backend](https://niwinz.github.io/django-redis/latest/) to lock in the multiprocess env.\n\n\n## TODO:\n\n* write test\n\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/o3o3o/django-usd2currency", "keywords": "", "license": "Apache Software License", "maintainer": "", "maintainer_email": "", "name": "django-usd2currency", "package_url": "https://pypi.org/project/django-usd2currency/", "platform": "", "project_url": "https://pypi.org/project/django-usd2currency/", "project_urls": { "Homepage": "https://github.com/o3o3o/django-usd2currency" }, "release_url": "https://pypi.org/project/django-usd2currency/0.1/", "requires_dist": null, "requires_python": "", "summary": "Free usd/{currency} utils by caching api from apilayer.com", "version": "0.1" }, "last_serial": 5336236, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "cb66e46b6e30ccda4e2b1220363018c5", "sha256": "0321b29304f708bac91ca8e2b0ae1971226b6e1793deff469a0a644ae1870bd5" }, "downloads": -1, "filename": "django_usd2currency-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "cb66e46b6e30ccda4e2b1220363018c5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2761, "upload_time": "2019-05-30T08:04:27", "url": "https://files.pythonhosted.org/packages/89/3c/341aaea48fa40b6103af2028f0c9f2d54f6df7cd13a232e1612683eeb78d/django_usd2currency-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c8fefa23c9b9161706745cc2b0554a9e", "sha256": "cb3ea6bcc2fd14136e41fef7255466654db0d1a9e8f622300df362c25f18b874" }, "downloads": -1, "filename": "django-usd2currency-0.1.tar.gz", "has_sig": false, "md5_digest": "c8fefa23c9b9161706745cc2b0554a9e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2295, "upload_time": "2019-05-30T08:04:29", "url": "https://files.pythonhosted.org/packages/8a/ef/df3ba31e47643026c827f2f7b6d2a0356993b790505835655342d79b3be5/django-usd2currency-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cb66e46b6e30ccda4e2b1220363018c5", "sha256": "0321b29304f708bac91ca8e2b0ae1971226b6e1793deff469a0a644ae1870bd5" }, "downloads": -1, "filename": "django_usd2currency-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "cb66e46b6e30ccda4e2b1220363018c5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2761, "upload_time": "2019-05-30T08:04:27", "url": "https://files.pythonhosted.org/packages/89/3c/341aaea48fa40b6103af2028f0c9f2d54f6df7cd13a232e1612683eeb78d/django_usd2currency-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c8fefa23c9b9161706745cc2b0554a9e", "sha256": "cb3ea6bcc2fd14136e41fef7255466654db0d1a9e8f622300df362c25f18b874" }, "downloads": -1, "filename": "django-usd2currency-0.1.tar.gz", "has_sig": false, "md5_digest": "c8fefa23c9b9161706745cc2b0554a9e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2295, "upload_time": "2019-05-30T08:04:29", "url": "https://files.pythonhosted.org/packages/8a/ef/df3ba31e47643026c827f2f7b6d2a0356993b790505835655342d79b3be5/django-usd2currency-0.1.tar.gz" } ] }