查看货币汇率的cli应用程序。
exch的Python项目详细描述
#**`exch`**
![特拉维斯CI稳定性徽章](https://travis-ci.org/anshulc95/exch.svg?分支=主)
![Python版本支持的徽章](https://img.shields.io/pypi/pyversions/exch.svg)
![当前生成标记的代码覆盖率](https://codecov.io/gh/anshulc95/exch/branch/master/graph/badge.svg)
[![PYPI版的应用程序徽章](https://img.shields.io/pypi/v/exch.svg)(https://pypi.pypython.org/pypi/exch)
>一个从命令行直接查看货币汇率的应用程序。
功能:
*离线支持
*default curreny
*列出可用货币
*安装
````
>$pip
是的install exch
```
## basic usage
```
$ exch -a 99 -b USD -t INR
99.0 USD = 6372.61 INR
$ exch --amount 199 --base EUR --target JPY
199.0 EUR = 25613.29 JPY
```
## Commands
|Short|Long|Description|Example|
|---|---|---|---|
|`-t`|`--target`|Currency you're converting to.|`exch -t INR`|
|`-b`|`--base`|Currency you're converting from.|`exch -b EUR`|
|`-a`|`--amount`|Amount of money to convert|`exch -a 99`|
|`-st`|`--set_target`|Set the new tagert currency|`exch -t CAD -st`|
|`-sb`|`--set_base`|Set the new tagert currency|`exch -b USD -sb`|
||`--help`|Show help message.|`exch --help`|
|`currencies`||List the Currencies that are available.|`exch currencies`|
|`sync`||Get the latest exchange rates for local use|`exch sync`|
## Advance usage
### Default amount is 1
```
$ exch -b USD -t PHP
1.0 USD = 51.23 PHP
```
### Default currencies
When no base or target鉴于,该程序采用默认货币。
````
$exch
1.0美元=64.02 inr
````
/>br/>br/>br/>br/>`-sb`为基本目标,`-st`为目标目标,将使用的货币设为默认值,`-sb`为基本目标,`-st`为目标目标,`
````
``````
`$exch-A 99-B欧元-T NZD-B欧元-T NZD-sb-st
99.0欧元=168.00新西兰元
<$exch
1.0欧元
1.0欧元
语言
*[python3](https://www.python.org/)
*[使用的库:
*[单击](http://click.pocoo.org/6/)-用于生成命令行界面
*[请求](http://docs.python-requests.org/en/master/)-用于api调用
请参阅[contribution.md](contribution.md)
![特拉维斯CI稳定性徽章](https://travis-ci.org/anshulc95/exch.svg?分支=主)
![Python版本支持的徽章](https://img.shields.io/pypi/pyversions/exch.svg)
![当前生成标记的代码覆盖率](https://codecov.io/gh/anshulc95/exch/branch/master/graph/badge.svg)
[![PYPI版的应用程序徽章](https://img.shields.io/pypi/v/exch.svg)(https://pypi.pypython.org/pypi/exch)
>一个从命令行直接查看货币汇率的应用程序。
功能:
*离线支持
*default curreny
*列出可用货币
*安装
````
>$pip
是的install exch
```
## basic usage
```
$ exch -a 99 -b USD -t INR
99.0 USD = 6372.61 INR
$ exch --amount 199 --base EUR --target JPY
199.0 EUR = 25613.29 JPY
```
## Commands
|Short|Long|Description|Example|
|---|---|---|---|
|`-t`|`--target`|Currency you're converting to.|`exch -t INR`|
|`-b`|`--base`|Currency you're converting from.|`exch -b EUR`|
|`-a`|`--amount`|Amount of money to convert|`exch -a 99`|
|`-st`|`--set_target`|Set the new tagert currency|`exch -t CAD -st`|
|`-sb`|`--set_base`|Set the new tagert currency|`exch -b USD -sb`|
||`--help`|Show help message.|`exch --help`|
|`currencies`||List the Currencies that are available.|`exch currencies`|
|`sync`||Get the latest exchange rates for local use|`exch sync`|
## Advance usage
### Default amount is 1
```
$ exch -b USD -t PHP
1.0 USD = 51.23 PHP
```
### Default currencies
When no base or target鉴于,该程序采用默认货币。
````
$exch
1.0美元=64.02 inr
````
/>br/>br/>br/>br/>`-sb`为基本目标,`-st`为目标目标,将使用的货币设为默认值,`-sb`为基本目标,`-st`为目标目标,`
````
``````
`$exch-A 99-B欧元-T NZD-B欧元-T NZD-sb-st
99.0欧元=168.00新西兰元
<$exch
1.0欧元
1.0欧元
语言
*[python3](https://www.python.org/)
*[使用的库:
*[单击](http://click.pocoo.org/6/)-用于生成命令行界面
*[请求](http://docs.python-requests.org/en/master/)-用于api调用
请参阅[contribution.md](contribution.md)