skip to navigation
skip to content

pycountry-convert 0.2.2

Countries conversion functions for Python

Package Documentation

.. -*- mode: rst -*-

========
Overview
========

.. start-badges

.. list-table::
:stub-columns: 1

* - docs
- |license|
* - tests
- |travis|
* - package
- |version| |supported-versions|

.. |license| image:: https://img.shields.io/badge/License-MIT-yellow.svg
:alt: License Status
:target: https://opensource.org/licenses/MIT

.. |travis| image:: https://travis-ci.org/TuneLab/pycountry-convert.svg?branch=master
:alt: Travis-CI Build Status
:target: https://travis-ci.org/TuneLab/pycountry-convert

.. |version| image:: https://img.shields.io/pypi/v/pycountry-convert.svg?style=flat
:alt: PyPI Package latest release
:target: https://pypi.python.org/pypi/pycountry-convert

.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/pycountry-convert.svg?style=flat
:alt: Supported versions
:target: https://pypi.python.org/pypi/pycountry-convert

.. end-badges

pycountry-convert
=================

``pycountry-convert`` is a Python module for TUNE Multiverse Libraries.


Installation
============


Usage
=====

Using country data derived from wikipedia, this package provides conversion
functions between ISO country names, country-codes, and continent names.

Available functions:

Convert `country code ISO 3166-1 alpha-2`_ to continent name:
``convert_country_alpha2_to_continent()``
Convert `country code ISO 3166-1 alpha-2`_ to country name:
``convert_country_alpha2_to_country_name()``
Convert country name to `country code ISO 3166-1 alpha-2`_:
``convert_country_name_to_country_alpha2()``
Convert `country code ISO 3166-1 alpha-3`_ to `country code ISO 3166-1
alpha-2`_:
``convert_country_alpha3_to_country_alpha2()``

.. _country code ISO 3166-1 alpha-2: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
.. _country code ISO 3166-1 alpha-3: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3

License: MIT


Reporting Issues
================


.. :changelog:

Release History
===============

0.1.9 (2017-03-12)
------------------
- Makefile and README.rst

0.1.8 (2017-03-12)
------------------
- Country name to Country Alpha-2 Code cleanup

0.0.1 (2016-11-17)
------------------
* Conception
* Code pulled from TuneLab/tune-mv-integration-python  
File Type Py Version Uploaded on Size
pycountry-convert-0.2.2.tar.gz (md5) Source 2017-03-12 11KB
pycountry_convert-0.2.2-py3-none-any.whl (md5) Python Wheel 3.6 2017-03-12 12KB
pycountry_convert-0.2.2-py3.6.egg (md5) Python Egg 3.6 2017-03-12 21KB