Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
/ pyzipcin Public archive

A python3 library providing information and validation of ZIP codes of India based on data from data.gov.in(2019)

License

Notifications You must be signed in to change notification settings

ravigoel08/pyzipcin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues LinkedIn


PYZIPCIN

A python3 library providing information and validation of ZIP codes of India based on data from data.gov.in(2019)
Explore the docs »

View Demo · Report Bug

Table of Contents
  1. About The Library
  2. Getting Started
  3. Usage
  4. License
  5. Contact

About The Library

A python3 library providing information of ZIP codes of India as well as Verify Pincode based on data from data.gov.in(2019)

Built With

Getting Started

Prerequisites

Python3 and Above

Installation

  1. Install the Library 👀

    pip install pyzipcin
  2. And you are done 💥

Usage

>>> from pyzipcin import *

>>> decode(110032)     # decode(pincode, all_result=False)
>>> [{'circlename': 'Delhi Circle', 'regionname': 'NA', 'divisionname': 'Delhi East Division', 'officename': 'Babarpur SO North East Delhi', 'pincode': 110032, 'officetype': 'SO', 'delivery': 'Non Delivery', 'district': 'SHAHDARA', 'statename': 'Delhi'}]

>>> encode('kullu')    # encode(districtname)
>>> [{'pincode': 175101, 'officename': 'Akhara Bazar SO'}]

>>> validate(110032)   # validate(pincode)
>>> True

demo

License

Distributed under the MIT License. See LICENSE for more information.

Contact

CodewithRv - ravigoel.1997@gmail.com

Project Link: https://github.com/ravigoel08/pyzipcin

About

A python3 library providing information and validation of ZIP codes of India based on data from data.gov.in(2019)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages