Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
/ fx_api Public

Python api for accessing exchange rates from exchangeratesapi.io

License

Notifications You must be signed in to change notification settings

jpy-git/fx_api

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Pension - FX API Demo

This project contains:

A. Custom fx_api package - fx_api/

B. Jupyter notebook containing Smart Pension Python test solutions - scripts/

C. Automated unit tests using pytest - tests/

Setup

Clone project from GitHub repo (https://github.com/jpy-git/fx_api)

Create Python virtual environment in root folder of project. I have developed the package using Python 3.8 so would recommend using the same.

SHELL:

<path to Python 3.8 executable> -m venv venv
venv/bin/activate

Upgrade pip

SHELL:

python -m pip install --upgrade pip

Install dependencies. Again I have set specific package versions to ensure a consistent environment.

SHELL:

pip install -r requirements.txt

Install custom fx_api package. For simplicity recommend using

SHELL:

python setup.py develop

Restart shell before proceeding.

Unit tests

SHELL:

pytest

Python exercise

Everything else required for the Python exercise can be found in

SHELL:

python -m notebook "scripts/Smart Pension - FX API demo notebook.ipynb"

About

Python api for accessing exchange rates from exchangeratesapi.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.