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.2.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

pyzipcin-0.2.2-py3-none-any.whl (2.6 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyzipcin-0.2.2.tar.gz
Algorithm Hash digest
SHA256 14ec8b162645da632028f3d97edda2f6afd1807d95b69bb3fb4ae062f985e6c8
MD5 29c7e9e3e0f7d4da091d2f5795c1b3a4
BLAKE2b-256 52f4e01526ecf59b587c6da4c796ff82786c92b7db9fd4c0fa840a8c5d2d6f63

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyzipcin-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 abc442f85d21c0eaaf137c845c9795eaa85ef41781d75fae1fc75210eca6a2df
MD5 b885498a181215eb028827c047009190
BLAKE2b-256 4008803b2e3d2bcf9e6d354d344ce6371fd2783d57f267a66b6ed54a489e80e1

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