Skip to main content

pyindia_zipcode

Code style: black PyPI Downloads

Find Post Office Details from PinCode, All India Post Office Pincode Data

INSTALL

pip3 install pyindia-zipcode

IMPORT PKG

Python 3.6.9 (default, Jan 26 2021, 15:33:00) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyindia_zipcode import ZipCode
>>> 
>>> obj = ZipCode()
>>> 

ZIP CODE INFO

In this 625003 zip code infomation

Python 3.6.9 (default, Jan 26 2021, 15:33:00) 
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyindia_zipcode import ZipCode
>>> 
>>> obj = ZipCode()
>>> 
>>> obj.get_zipcode_info(625003)
>>> 

output

[
    {
        "ID": 119891, "officename": "Alagappa Nagar S.O", 
        "pincode": "625003", "officeType": "S.O", 
        "Deliverystatus": "Non-Delivery", "divisionname": "Madurai", 
        "regionname": "Madurai", "circlename": "Tamilnadu", 
        "Taluk": "Madurai South", "Districtname": "Madurai", 
        "statename": "TAMIL NADU", "Telephone": "0452-2343894", 
        "Related Suboffice": "NA", "Related Headoffice": "Madurai H.O", 
        "longitude": "NA", "latitude": "NA"
    }, {
        "ID": 120019, "officename": "Madakkulam B.O", 
        "pincode": "625003", "officeType": "B.O", 
        "Deliverystatus": "Delivery", "divisionname": "Madurai", 
        "regionname": "Madurai", "circlename": "Tamilnadu", 
        "Taluk": "Madurai South", "Districtname": "Madurai", 
        "statename": "TAMIL NADU", "Telephone": "NA", 
        "Related Suboffice": "Palanganatham S.O", "Related Headoffice": "Madurai H.O", 
        "longitude": "NA", "latitude": "NA"
    }, {
        "ID": 120073, "officename": "Palanganatham S.O", 
        "pincode": "625003", "officeType": "S.O", 
        "Deliverystatus": "Delivery", "divisionname": "Madurai", 
        "regionname": "Madurai", "circlename": "Tamilnadu", 
        "Taluk": "Madurai South", "Districtname": "Madurai", 
        "statename": "TAMIL NADU", "Telephone": "0452-2373669", 
        "Related Suboffice": "NA", "Related Headoffice": "Madurai H.O", 
        "longitude": "NA", "latitude": "NA"
    }, {
        "ID": 120185, "officename": "Tvs Nagar S.O", 
        "pincode": "625003", "officeType": "S.O", 
        "Deliverystatus": "Non-Delivery", "divisionname": "Madurai", 
        "regionname": "Madurai", "circlename": "Tamilnadu", 
        "Taluk": "Madurai South", "Districtname": "Madurai", 
        "statename": "TAMIL NADU", "Telephone": "0452-2373669", 
        "Related Suboffice": "NA", "Related Headoffice": "Madurai H.O", 
        "longitude": "NA", "latitude": "NA"
    }
]

The first digit of a PIN indicates the zone, the second indicates the sub-zone, and the third, combined with the first two, indicates the sorting district within that zone. The final three digits are assigned to individual post offices within the sorting district.

Release files for pyindia-zipcode 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyindia-zipcode 0.0.2
File Size Uploaded
pyindia_zipcode-0.0.2.tar.gz 3.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyindia-zipcode 0.0.2
File Interpreter ABI Platform
pyindia_zipcode-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.1 MB

Release files / pyindia_zipcode-0.0.2.tar.gz

Download URL pyindia_zipcode-0.0.2.tar.gz
Size 3.3 MB
Tags Source
SHA-256 checksum
How to use checksums
40cd2986f9dd60e2c65798622391c639f4e968ce82ee0c60fa0c80bbed0030b0
BLAKE2b-256 checksum
How to use checksums
6f131889549f36862ca7a75707deff736b6e3d68bc32a16ef235abc9561a2b58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.9

Release files / pyindia_zipcode-0.0.2-py3-none-any.whl

Download URL pyindia_zipcode-0.0.2-py3-none-any.whl
Size 6.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a44edeec0d53a2c8ae7b935f12e719dd2fc15ccc3ff6bc9d851cf16ee94c9379
BLAKE2b-256 checksum
How to use checksums
4398b3d4f44413a1fb8287d1593c4599e6e2d48af983f06985d2c582f669ead5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page