pyzipcin
1.0.0
Eine Python3 -Bibliothek, die Informationen und Validierung von ZIP -Codes Indiens basierend auf Daten von Data.gov.in (2019) bietet.
Erforschen Sie die Dokumente »
Demo anzeigen · Fehler melden
Eine Python3 -Bibliothek, die Informationen zu Postleitzahlen Indiens bietet sowie Pincode basierend auf Daten von Data.gov.in (2019) verifizieren
Python3 und höher
Die Bibliothek installieren?
pip install pyzipcinUnd du bist fertig?
>>> 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
Unter der MIT -Lizenz verteilt. Weitere Informationen finden Sie LICENSE .
Codewithrv - [email protected]
Projektlink: https://github.com/ravigoel08/pyzipcin