Giter Site home page Giter Site logo

trellixvulnteam / currency_converter_75kk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from depontimatteo/currency_converter

0.0 0.0 0.0 11.87 MB

Currency converter

Shell 0.19% JavaScript 0.06% C++ 1.05% Python 92.09% C 5.64% PowerShell 0.02% CSS 0.06% Makefile 0.88% Xonsh 0.01%

currency_converter_75kk's Introduction

Project currency converter

This is a simple currency converter written in Python 3.6.

Requisites:

  • Python 3.6
  • pip
  • Flask framework
  • xmltodict pip module
  • flask_session pip module

Steps for running this application:

  • install Python
  • install pip
  • install virtualenv sudo pip3 install virtualenv (in Linux environment)
  • create application environment virtualenv convert_currencies
  • install Flask framework pip install Flask
  • change environment to convert_currencies development environment source bin/activate
  • install xmltodict from pip sudo pip install xmltodict
  • install flask_session from pip sudo pip install flask_session
  • export environment variable FLASK_APP export FLASK_APP=application.py
  • launch Flask framework flask run

At this point, we can send our requests via GET method convert:

Important: exchange rates are dinamically loaded every project startup (flask run) and are stored in Flask sessions

currency_converter_75kk's People

Contributors

trellixvulnteam avatar depontimatteo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.