Metadata-Version: 2.1
Name: django-usd2currency
Version: 0.1
Summary: Free usd/{currency} utils by caching api from apilayer.com
Home-page: https://github.com/o3o3o/django-usd2currency
Author: o3o3o
Author-email: o3o3o.me@gmail.com
License: Apache Software License
Description: # Convert value from usd to currency
        
        Simple and free usd2currency convert utils,
        by caching free-limited-api from apilayer.com
        
        ## Quick start
        
        1. Install::
        
        ``` 
           pip install django-usd2currency
        ```
        
        1. Add "django_usd2currency" to your INSTALLED_APPS setting like this::
        
        ```
           INSTALLED_APPS = [
           ...
           'django_usd2currency',
           ]
           # Get free api from https://currencylayer.com/signup/free
           APILAYER_ACCESS_KEY = 'xxxxxxxxxxx'
        ```
        
        1. Start to use it in code
        
        ```
           from django_usd2currency.utils import usd2currency
        
           print(usd2currency(12, currency='CNY'))
        ```
        
        1. Use [redis as cache backend](https://niwinz.github.io/django-redis/latest/) to lock in the multiprocess env.
        
        
        ## TODO:
        
        * write test
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
