Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.
ravigoel08Public archive

About

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

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

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

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages