Skip to main content

Get the name of the continent in which a country is located in.

Project description


ContinentInfo is python package to get the name of the continent in which a country is located in.


ContinentInfo requires minimum Python 2.7 to run.

$ pip install ContinentInfo


$ from ContinentInfo import get_continent
$ country_name = get_continent('India')
$ country_name
$ 'Asia'


MIT license

Copyright (c) 2019 Rohit Swami

This project is licensed under the MIT License - see the LICENSE.txt file for details

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ContinentInfo, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size ContinentInfo-1.2.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page