fastrates-cli-0.1.1
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fastrates-cli-0.1.1 |
| نام | fastrates-cli |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | yagizd |
| ایمیل نویسنده | yagizcanilbey1903@gmail.com |
| آدرس صفحه اصلی | https://github.com/ycd/fastrates-cli |
| آدرس اینترنتی | https://pypi.org/project/fastrates-cli/ |
| مجوز | - |
<img src="https://github.com/ycd/fastrates/blob/master/fastrates/frontend/static/logo.png" width=500>
## Command line interface for [Fast Rates](https://github.com/ycd/fastrates)
# Installation :pushpin:
```python
pip install fastrates
Successfully installed fastrates-cli-0.1.0
```
# How to use? :rocket:
```python
Options:
--base TEXT Base ticker for currency [default: EUR]
--latest / --no-latest Get the latest foreign exchange reference rates
[default: False]
--start-at TEXT Get historical rates for any day since start_at
--end-at TEXT Get historical rates for any day till end_at
--symbols TEXT Compare specific exchange rates
--date TEXT Get historical date
--help Show this message and exit.
```
* ## Example
```python
fastrates --latest
```
## Which will return
```JSON
{
"rates":{
"2020-07-31":{
"AUD":1.6488,
"BGN":1.9558,
"BRL":6.1219,
"CAD":1.5898,
"CZK":26.175,
"DKK":7.4442,
"GBP":0.90053,
"TRY":8.2595,
"USD":1.1848,
}
},
"base":"EUR"
}
```
## Release Notes :mega:
### Latest Changes
### 0.1.0
* Prototype of project
نیازمندی
| مقدار | نام |
|---|---|
| >=0.3.1,<0.4.0 | typer[all] |
| >=2.24.0,<3.0.0 | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl fastrates-cli-0.1.1:
pip install fastrates-cli-0.1.1.whl
نصب پکیج tar.gz fastrates-cli-0.1.1:
pip install fastrates-cli-0.1.1.tar.gz