A ccpy project that exists as an aid to the Convert one currency to another.
ccpy works on macOS, GNU/Linux, and Windows, with binary downloads available for every release. You can also install it with pip.
$ pip install ccpy
or apt-get if you're using Linux:
$ sudo apt-get install ccpy
Requires Python 3.0 or higher.
Usage: from ccpy import ccpy; print(ccpy.conversion(f="USD",t="CNY"))
Return: 6.374015
Usage: from ccpy import ccpy; print(ccpy.conversion(f="CNY",t="HKD"))
Return: 1.231287
-- ccpy.conversion(f="USD",t="CNY") get Exchange Rate from United States Dollar to Chinese Yuan
Exchange Rate time : 05/23/2018 13:55:51
ccpy 🍰 🐜 🍰 , V0.0.5 - Made by @Chyi's -- Currency Converter Python
List of All Countries
# | ID | CurrencyName | CurrencySymbol |
---|---|---|---|
1 | AED | UAE Dirham | 🤔 |
2 | AFN | Afghan Afghani | ؋ |
3 | ALL | Albanian Lek | Lek |
4 | AMD | Armenian Dram | 🤔 |
5 | ANG | Netherlands Antillean Gulden | ƒ |
6 | AOA | Angolan Kwanza | 🤔 |
7 | ARS | Argentine Peso | $ |
8 | AUD | Australian Dollar | $ |
9 | AWG | Aruban Florin | ƒ |
10 | AZN | Azerbaijani Manat | ман |
11 | BAM | Bosnia And Herzegovina Konvertibilna Marka | KM |
12 | BBD | Barbadian Dollar | $ |
13 | BDT | Bangladeshi Taka | 🤔 |
14 | BGN | Bulgarian Lev | лв |
15 | BHD | Bahraini Dinar | 🤔 |
16 | BIF | Burundi Franc | 🤔 |
17 | BND | Brunei Dollar | $ |
18 | BOB | Bolivian Boliviano | $b |
19 | BRL | Brazilian Real | R$ |
20 | BSD | Bahamian Dollar | $ |
21 | BTC | Bitcoin | BTC |
22 | BTN | Bhutanese Ngultrum | 🤔 |
23 | BWP | Botswana Pula | P |
24 | BYN | New Belarusian Ruble | p. |
25 | BYR | Belarusian Ruble | p. |
26 | BZD | Belize Dollar | BZ$ |
27 | CAD | Canadian Dollar | $ |
28 | CDF | Congolese Franc | 🤔 |
29 | CHF | Swiss Franc | Fr. |
30 | CLP | Chilean Peso | $ |
31 | CNY | Chinese Yuan | ¥ |
32 | COP | Colombian Peso | $ |
33 | CRC | Costa Rican Colon | ₡ |
34 | CUP | Cuban Peso | $ |
35 | CVE | Cape Verdean Escudo | 🤔 |
36 | CZK | Czech Koruna | Kč |
37 | DJF | Djiboutian Franc | 🤔 |
38 | DKK | Danish Krone | kr |
39 | DOP | Dominican Peso | RD$ |
40 | DZD | Algerian Dinar | 🤔 |
41 | EGP | Egyptian Pound | £ |
42 | ERN | Eritrean Nakfa | 🤔 |
43 | ETB | Ethiopian Birr | 🤔 |
44 | EUR | Euro | € |
45 | FJD | Fijian Dollar | $ |
46 | FKP | Falkland Islands Pound | £ |
47 | GBP | British Pound | £ |
48 | GEL | Georgian Lari | 🤔 |
49 | GHS | Ghanaian Cedi | 🤔 |
50 | GIP | Gibraltar Pound | £ |
51 | GMD | Gambian Dalasi | 🤔 |
52 | GNF | Guinean Franc | 🤔 |
53 | GTQ | Guatemalan Quetzal | Q |
54 | GYD | Guyanese Dollar | $ |
55 | HKD | Hong Kong Dollar | $ |
56 | HNL | Honduran Lempira | L |
57 | HRK | Croatian Kuna | kn |
58 | HTG | Haitian Gourde | 🤔 |
59 | HUF | Hungarian Forint | Ft |
60 | IDR | Indonesian Rupiah | Rp |
61 | ILS | Israeli New Sheqel | ₪ |
62 | INR | Indian Rupee | ₹ |
63 | IQD | Iraqi Dinar | 🤔 |
64 | IRR | Iranian Rial | ﷼ |
65 | ISK | Icelandic Króna | kr |
66 | JMD | Jamaican Dollar | J$ |
67 | JOD | Jordanian Dinar | 🤔 |
68 | JPY | Japanese Yen | ¥ |
69 | KES | Kenyan Shilling | KSh |
70 | KGS | Kyrgyzstani Som | лв |
71 | KHR | Cambodian Riel | ៛ |
72 | KMF | Comorian Franc | 🤔 |
73 | KPW | North Korean Won | ₩ |
74 | KRW | South Korean Won | ₩ |
75 | KWD | Kuwaiti Dinar | 🤔 |
76 | KYD | Cayman Islands Dollar | $ |
77 | KZT | Kazakhstani Tenge | лв |
78 | LAK | Lao Kip | ₭ |
79 | LBP | Lebanese Lira | £ |
80 | LKR | Sri Lankan Rupee | ₨ |
81 | LRD | Liberian Dollar | $ |
82 | LSL | Lesotho Loti | 🤔 |
83 | LVL | Latvian Lats | Ls |
84 | LYD | Libyan Dinar | 🤔 |
85 | MAD | Moroccan Dirham | 🤔 |
86 | MDL | Moldovan Leu | 🤔 |
87 | MGA | Malagasy Ariary | 🤔 |
88 | MKD | Macedonian Denar | ден |
89 | MMK | Myanma Kyat | 🤔 |
90 | MNT | Mongolian Tugrik | ₮ |
91 | MOP | Macanese Pataca | 🤔 |
92 | MRO | Mauritanian Ouguiya | 🤔 |
93 | MUR | Mauritian Rupee | ₨ |
94 | MVR | Maldivian Rufiyaa | 🤔 |
95 | MWK | Malawian Kwacha | 🤔 |
96 | MXN | Mexican Peso | $ |
97 | MYR | Malaysian Ringgit | RM |
98 | MZN | Mozambican Metical | 🤔 |
99 | NAD | Namibian Dollar | $ |
100 | NGN | Nigerian Naira | ₦ |
101 | NIO | Nicaraguan Cordoba | C$ |
102 | NOK | Norwegian Krone | kr |
103 | NPR | Nepalese Rupee | ₨ |
104 | NZD | New Zealand Dollar | $ |
105 | OMR | Omani Rial | ﷼ |
106 | PAB | Panamanian Balboa | B/. |
107 | PEN | Peruvian Nuevo Sol | S/. |
108 | PGK | Papua New Guinean Kina | 🤔 |
109 | PHP | Philippine Peso | ₱ |
110 | PKR | Pakistani Rupee | ₨ |
111 | PLN | Polish Zloty | zł |
112 | PYG | Paraguayan Guarani | Gs |
113 | QAR | Qatari Riyal | ﷼ |
114 | RON | Romanian Leu | lei |
115 | RSD | Serbian Dinar | Дин. |
116 | RUB | Russian Ruble | руб |
117 | RWF | Rwandan Franc | 🤔 |
118 | SAR | Saudi Riyal | ﷼ |
119 | SBD | Solomon Islands Dollar | $ |
120 | SCR | Seychellois Rupee | ₨ |
121 | SDG | Sudanese Pound | 🤔 |
122 | SEK | Swedish Krona | kr |
123 | SGD | Singapore Dollar | $ |
124 | SHP | Saint Helena Pound | £ |
125 | SLL | Sierra Leonean Leone | 🤔 |
126 | SOS | Somali Shilling | S |
127 | SRD | Surinamese Dollar | $ |
128 | STD | Sao Tome And Principe Dobra | 🤔 |
129 | SYP | Syrian Pound | £ |
130 | SZL | Swazi Lilangeni | 🤔 |
131 | THB | Thai Baht | ฿ |
132 | TJS | Tajikistani Somoni | 🤔 |
133 | TMT | Turkmenistan Manat | 🤔 |
134 | TND | Tunisian Dinar | 🤔 |
135 | TOP | Paanga | 🤔 |
136 | TRY | Turkish New Lira | 🤔 |
137 | TTD | Trinidad and Tobago Dollar | TT$ |
138 | TWD | New Taiwan Dollar | NT$ |
139 | TZS | Tanzanian Shilling | TSh |
140 | UAH | Ukrainian Hryvnia | ₴ |
141 | UGX | Ugandan Shilling | USh |
142 | USD | United States Dollar | $ |
143 | UYU | Uruguayan Peso | $U |
144 | UZS | Uzbekistani Som | лв |
145 | VEF | Venezuelan Bolivar | 🤔 |
146 | VND | Vietnamese Dong | ₫ |
147 | VUV | Vanuatu Vatu | 🤔 |
148 | WST | Samoan Tala | 🤔 |
149 | XAF | Central African CFA Franc | 🤔 |
150 | XCD | East Caribbean Dollar | $ |
151 | XDR | Special Drawing Rights | 🤔 |
152 | XOF | West African CFA Franc | 🤔 |
153 | XPF | CFP Franc | 🤔 |
154 | YER | Yemeni Rial | ﷼ |
155 | ZAR | South African Rand | R |
156 | ZMW | Zambian Kwacha | 🤔 |
To make a contribution. fork the repo. make you change and then submit a pull request. Please try to adhere to the existing style. If you've discovered a bug or have a feature requests, create an issue and I'll take care of it!
Pending Feature
- Support Local History search
ccpy is written in Python and built on Free Currency Converter API.