Skip to main content

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

Project description

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.

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

pyindia_zipcode-0.0.2.tar.gz (3.3 MB view details)

Uploaded Source

Built Distribution

pyindia_zipcode-0.0.2-py3-none-any.whl (6.7 MB view details)

Uploaded Python 3

File details

Details for the file pyindia_zipcode-0.0.2.tar.gz.

File metadata

  • Download URL: pyindia_zipcode-0.0.2.tar.gz
  • Upload date:
  • Size: 3.3 MB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pyindia_zipcode-0.0.2.tar.gz
Algorithm Hash digest
SHA256 40cd2986f9dd60e2c65798622391c639f4e968ce82ee0c60fa0c80bbed0030b0
MD5 6048373a6fa75a3c204041c99c1831f7
BLAKE2b-256 6f131889549f36862ca7a75707deff736b6e3d68bc32a16ef235abc9561a2b58

See more details on using hashes here.

File details

Details for the file pyindia_zipcode-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pyindia_zipcode-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pyindia_zipcode-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a44edeec0d53a2c8ae7b935f12e719dd2fc15ccc3ff6bc9d851cf16ee94c9379
MD5 dd0102f0262b5b6989a8bf42a7841664
BLAKE2b-256 4398b3d4f44413a1fb8287d1593c4599e6e2d48af983f06985d2c582f669ead5

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