Postal code management (without the PostGIS requirement).
Project description
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
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
File details
Details for the file django-postalcodes-light-0.2.1.tar.gz
.
File metadata
- Download URL: django-postalcodes-light-0.2.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6f0e1df34d83eeb2c0ededacbb93263182410fde82988d453a201f756e6a567 |
|
MD5 | 1a0666a0c4e34f9a31157e92a5f3c810 |
|
BLAKE2b-256 | f3fb03944dfaf16ec840505057ed312c4465a52dfd3a63208781ac831b4d7479 |