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.1.tar.gz
.
File metadata
- Download URL: pyzipcin-0.2.1.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.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06edada7a2502d5ea03f1356747a680dc12123fbe38bf634bb4afabdbd312a3c |
|
MD5 | 57b8e50936b12d8c92c00616726a0dac |
|
BLAKE2b-256 | 581f7b6025af3517594c7bbdfcd2b455b3b911535e6da922a97c5181baac2f39 |
File details
Details for the file pyzipcin-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: pyzipcin-0.2.1-py3-none-any.whl
- Upload date:
- Size: 3.9 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.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 419bdea12f53a45f195cd42885b69153b9c74f490988736c5152697a70a761fd |
|
MD5 | a2bdb7544055b2d77b7451b5e30ccd8a |
|
BLAKE2b-256 | 595c783ea5c5efd1cfe5acf0e36abe26e3c51a90adb021e2f7ad5b6d51df9224 |