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
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
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
- SQLAlchemy
- Python3 :snake:
Getting Started
Prerequisites
Python3 and Above
Installation
-
Install the Library :eyes:
pip install pyzipcin
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a4ae0ad41b7537d8cec72a7364deea04bb7f0b88c1bf02d5ee2542e1aee0476 |
|
MD5 | bb92862349c02e2644d18963f5803e4b |
|
BLAKE2b-256 | 29e097f5c4fde533faff5fd5d2ed8eabd017ab03bb76ecf49a6fe42d35c8319c |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3caace3eef99e53b118d07fed3767ca05eaa3fed471cc863757526f4aa5659d |
|
MD5 | d66748a545eebb0a3e5364f84fd532c0 |
|
BLAKE2b-256 | 7d3341e937316d0a7040bfc9157f1d7b5b430277e45d0b4fb79a9fdc35c1db0d |