django-easy-currencies | Simple app to manage currencies conversion

 by   daveoncode Python Version: 0.2.1 License: MIT

kandi X-RAY | django-easy-currencies Summary

kandi X-RAY | django-easy-currencies Summary

django-easy-currencies is a Python library typically used in Manufacturing, Utilities, Energy, Utilities applications. django-easy-currencies has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install django-easy-currencies' or download it from GitHub, PyPI.

Simple app to manage currencies conversion in Django using openexchangerates.org service. The app will automatically invokes the service and in a single HTTP call it will creates all the necessary conversion rates permutations offline by "bypassing" the free account limitation which limits the source currency to USD using simple math alghoritms and the excellent Python's itertools utilities (so this is 100% legal!).
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              django-easy-currencies has a low active ecosystem.
              It has 10 star(s) with 1 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 0 open issues and 1 have been closed. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of django-easy-currencies is 0.2.1

            kandi-Quality Quality

              django-easy-currencies has no bugs reported.

            kandi-Security Security

              django-easy-currencies has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              django-easy-currencies is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              django-easy-currencies releases are not available. You will need to build from source code and install.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed django-easy-currencies and discovered the below as its top functions. This is intended to give you an instant insight into django-easy-currencies implemented functionality, and help decide if they suit your requirements.
            • Configure EASY_CURRENCIES
            • Update currency rates
            • Get ratings info
            • Create or update the inverted rates permutations
            • Creates a dictionary of currency rates for usd_currency
            • Create or update currency objects
            • Create or update the inverted rates
            • Return the list of available currencies
            • Get the service url
            • List available currency rates
            • Check if config is valid
            • Return currency rates
            • Resolve a variable
            • Returns the active currency
            Get all kandi verified functions for this library.

            django-easy-currencies Key Features

            No Key Features are available at this moment for django-easy-currencies.

            django-easy-currencies Examples and Code Snippets

            No Code Snippets are available at this moment for django-easy-currencies.

            Community Discussions

            No Community Discussions are available at this moment for django-easy-currencies.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install django-easy-currencies

            Add "django_easy_currencies" to your INSTALLED_APPS setting like this:. Get an app key from openexchangerates.org (you don't need to pay, the basic free account will be enough).
            Add "django_easy_currencies" to your INSTALLED_APPS setting like this: INSTALLED_APPS = ( ... 'django_easy_currencies', )
            Get an app key from openexchangerates.org (you don't need to pay, the basic free account will be enough)
            Configure the app by providing your app id and the currencies you want to use like this: EASY_CURRENCIES = { 'currencies': ( ('USD', 'US Dollar'), ('EUR', 'Euro'), ('GBP', 'British Pound'), ('AUD', 'Australian Dollar'), ('CAD', 'Canadian Dollar'), ('CHF', 'Swiss Franc'), ('JPY', 'Japanese Yen'), ), 'app_id': os.environ['EASY_CURRENCIES_APP_ID'] } Just a note: An environment variable holding your app id is a best practice but is not mandatory, you can define it inline in your settings.py
            Include the "django_easy_currencies" URLconf in your project urls.py like this: url(r'^currency/', include('django_easy_currencies.urls')),
            Add the "django_easy_currencies" context processor to your existent processors like this: from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS as BASE_CONTEXT_PROCESSORS TEMPLATE_CONTEXT_PROCESSORS = BASE_CONTEXT_PROCESSORS + ( 'django_easy_currencies.context_processors.currency', )
            Run python manage.py migrate to create the app models.
            Run the custom management command python manage.py currencies --update to save currency rates in your database. You should run this command at least once a day in order to have updated rates (automatization of this step is up to you)
            (Optional) Run python manage.py currencies --list to see the loaded currency rates

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install django-easy-currencies

          • CLONE
          • HTTPS

            https://github.com/daveoncode/django-easy-currencies.git

          • CLI

            gh repo clone daveoncode/django-easy-currencies

          • sshUrl

            git@github.com:daveoncode/django-easy-currencies.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link