dahlia / iso4217

ISO 4217 currency data package for Python
https://pypi.org/project/iso4217/
60 stars 11 forks source link

Add iso3166 result #2

Closed hildogjr closed 6 years ago

hildogjr commented 6 years ago

On country_names will be interesting have also the iso3166-alpha2 was output.

iso4217.Currency('USD').country_names
>> 'United States' ...
iso4217.Currency('USD').country_names_iso3166
>> 'US', ...
dahlia commented 6 years ago

Although it's interesting, the official data file seems lacking any machine-readable country codes. 😅

http://www.currency-iso.org/dam/downloads/lists/list_one.xml

2018-03-25 23:23 GMT+09:00 Hildo Guillardi Júnior notifications@github.com :

On country_names will be interesting have also the iso3166-alpha2 was output.

iso4217.Currency('USD').country_names

'United States' ... iso4217.Currency('USD').country_names_iso3166 'US', ...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/spoqa/iso4217/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAwj2E5CX4GkBpOOdNW7x1XRP5hg0xbks5th6hSgaJpZM4S6KGh .

-- 홍민희 Hong Minhee / Programmer Mobile 010-3229-7392 Spoqa spoqa.com Office 1670-6463 Fax 02-544-6460 Address (06193)서울특별시 강남구 테헤란로 420 하이리빙 9층 스포카 9F HiLiving Building, 420 Teheran-ro, Gangnam-gu, Seoul, Korea

hildogjr commented 6 years ago

Yes, no extra information.