A simple data model for storing postal codes with placenames and location.
Installing
The recommended installing method is with pip:
pip install django-postalcodes-light
You can also clone the repository and install from source:
python setup.py install
Getting data
Postal code data is available from a number of sources, typically on a country by country basis. The United States Census Bureau maintains the Gazetteer database, including detailed postal code data. The GeoNames geographical database also provides postal code data for international postal codes (and other places).
This project uses the column names specified by GeoNames and includes a management to import and update data from GeoNames:
python manage.py import_postalcodes US
Additional files can be imported by specifying each country code. Multiple country codes may be provided on one line, e.g.:
python manage.py import_postalcodes FR IT
Metadata
Release files for django-postalcodes-light 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-postalcodes-light-0.2.1.tar.gz | 4.0 kB | Without provenance | Details for django-postalcodes-light-0.2.1.tar.gz |
Release files / django-postalcodes-light-0.2.1.tar.gz
| Download URL | django-postalcodes-light-0.2.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a6f0e1df34d83eeb2c0ededacbb93263182410fde82988d453a201f756e6a567
|
|
BLAKE2b-256 checksum How to use checksums |
f3fb03944dfaf16ec840505057ed312c4465a52dfd3a63208781ac831b4d7479
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-postalcodes-light 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.