Exchange rates getter
Project description
Exchange rates service
Yandex last homework task. Realization of exchange rates service
Getting project from gitlab
Firstly you must download source code of project from gitlab repository
$ git clone https://gitlab.com/ExampleUserForYandex/last
and go inside project's folder
$ cd /path/to/cloned/project
Run project's tests
For run tests firstly activate virtual environment by:
$ source venv/bin/activate
and after that install requirements by:
$ (venv) pip3 install -r requirements.txt
$ (venv) pip3 install -r requirements.tests.txt
Now we can run tests
$ (venv) pytest test
If all is ok you'll get
=============================================================================================== test session starts ===============================================================================================
platform linux -- Python 3.7.3, pytest-5.2.2, py-1.8.0, pluggy-0.13.0
rootdir: /path/to/cloned/project
plugins: aiohttp-0.3.0, aiomisc-9.4.1
collected 5 items
test/test_rest.py .. [ 40%]
test/test_services.py . [ 60%]
test/test_updater.py .. [100%]
================================================================================================ 5 passed in 1.28s ================================================================================================
Next step
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Close
Hashes for exchange_rates_last_hm_alex-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40cca0d86031e792f358819bc0b2479ce7a0481bd322e0d6028376a711acb3a3 |
|
MD5 | 9571968783c3b7903d16f9c6fee033c5 |
|
BLAKE2b-256 | 11afe07a20e21cd91554eb487ef775a4911e9b8615eabe8d75a772f9762ceb97 |
Close
Hashes for exchange_rates_last_hm_alex-0.0.1-py3.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9f68e41db29bab25068bc318b48820a4a3a544f8bc5691bf4d34042e7aeb368 |
|
MD5 | 6f068f1a10ee5445629eb11dc3d1d581 |
|
BLAKE2b-256 | df97b6c9d6050f2b09b2e7fc400db05c2718f8cd9f62826672946990325316b7 |
Close
Hashes for exchange_rates_last_hm_alex-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79ca094743e89d9a8c9cb2077087df63417629a0bebe0f59aa8262fc07c37241 |
|
MD5 | 0985765e975e8641309a3844c3e4e168 |
|
BLAKE2b-256 | 2f7e805c77fe60cd5b96dd1b072a89f5189f6afa20659e9b4b49bbde335002d3 |