Skip to main content

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

Project description

ContinentInfo


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

Installation

ContinentInfo requires minimum Python 2.7 to run.

$ pip install ContinentInfo

Usage

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

License

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.

Source Distribution

ContinentInfo-1.1.tar.gz (2.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page