glombardo-se / zipcodes

It allows world's postal codes [zipcodes] easy retrieval.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

zipcodes

Build status

Description

The purpose of this Python package is to allow easy retrieval of the world's postal codes (aka zipcodes). At the current release it consents:

  • to retrieve the postal code of a given placename
  • to retrieve the placenames of a given postal code

Installation

pip install ./zipcodes.zip

Usage

from zipcodes import Controller

controller = Controller()
controller.zipcode_by_placename('Leggiuno', 'IT')
# ['21038']

controller.placenames_by_zipcode('IT', '21038')
# ['Leggiuno', 'Sangiano']

License

The MIT License (MIT). Please see License File for more information.

About

It allows world's postal codes [zipcodes] easy retrieval.

License:MIT License


Languages

Language:Python 99.5%Language:Shell 0.5%