countrycode-0.2
توضیحات
Convert country names and country codes
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | countrycode-0.2 |
| نام | countrycode |
| نسخه کتابخانه | 0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Vincent Arel-Bundock |
| ایمیل نویسنده | varel@umich.edu |
| آدرس صفحه اصلی | http://umich.edu/~varel |
| آدرس اینترنتی | https://pypi.org/project/countrycode/ |
| مجوز | LICENSE.txt |
Python countrycode
------------------
Convert country names to and from 9 country code schemes.
* Bugs & Development: https://github.com/vincentarelbundock/pycountrycode
* Pypi: https://pypi.python.org/pypi/countrycode
* `Vincent's webpage <http://umich.edu/~varel>`_
A Python port of the ``countrycode`` package for R:
* `countrycode @ Github <http://github.com/vincentarelbundock/countrycode>`_
* `countrycode @ CRAN <http://cran.r-project.org/web/packages/countrycode/index.html>`_
This is *beta* software.
Installation
------------
Using pip
::
sudo pip install countrycode
Latest version from Gitub
::
git clone https://github.com/vincentarelbundock/pycountrycode
cd pycountrycode
sudo python setup.py install
Usage
-----
::
from countrycode import countrycode
countrycode(codes=['Algeria', 'United States'], origin='country_name', target='iso3c')
> ['DZA', 'USA']
نحوه نصب
نصب پکیج whl countrycode-0.2:
pip install countrycode-0.2.whl
نصب پکیج tar.gz countrycode-0.2:
pip install countrycode-0.2.tar.gz