Skip to main content

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

Project description

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 :eyes:

    pip install pyzipcin
    
  2. And you are done :boom:

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

License

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

Contact

CodewithRv - ravigoel.1997@gmail.com

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

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

pyzipcin-0.2.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

pyzipcin-0.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file pyzipcin-0.2.tar.gz.

File metadata

  • Download URL: pyzipcin-0.2.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for pyzipcin-0.2.tar.gz
Algorithm Hash digest
SHA256 3a4ae0ad41b7537d8cec72a7364deea04bb7f0b88c1bf02d5ee2542e1aee0476
MD5 bb92862349c02e2644d18963f5803e4b
BLAKE2b-256 29e097f5c4fde533faff5fd5d2ed8eabd017ab03bb76ecf49a6fe42d35c8319c

See more details on using hashes here.

File details

Details for the file pyzipcin-0.2-py3-none-any.whl.

File metadata

  • Download URL: pyzipcin-0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for pyzipcin-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f3caace3eef99e53b118d07fed3767ca05eaa3fed471cc863757526f4aa5659d
MD5 d66748a545eebb0a3e5364f84fd532c0
BLAKE2b-256 7d3341e937316d0a7040bfc9157f1d7b5b430277e45d0b4fb79a9fdc35c1db0d

See more details on using hashes here.

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