Skip to content

Releases: bharathjinka09/zipcode_to_map

Added documentation for multiple maps using multiple zipcodes

05 Jun 05:42
55a5956
Compare
Choose a tag to compare

zipcode to map

04 Jun 13:23
aa54dbb
Compare
Choose a tag to compare

Installation

pip install zipcode-to-map

zipcode_to_map

Provide a Country code and postal code. It will generate a map in a html file based on these details. Used pgeocode and folium packages.

Requirement Packages

folium

pip install folium

pgeocode

pip install pgeocode

Example Usage

Import the class

from zipcode_to_map.zipcode_to_map import ZipcodeToMap

Instantiate the object

result_map = ZipcodeToMap()

Provides the map as result

Here 'in' is Country Code as India.

'515411' is Pincode of a city.

result_map.zipcode_to_map('in','515411')

Example to copy

from zipcode_to_map.zipcode_to_map import ZipcodeToMap

result_map = ZipcodeToMap()

result_map.zipcode_to_map('in','515411')

Zipcode to HTML map conversion

04 Jun 07:14
Compare
Choose a tag to compare

Provide a Country code and postal code.
It will generate a map in a html file based on these details.
Used pgeocode and folium packages.