Reusable Django App for determining timezone by geo coordinates
Project description
Geo timezones is a simple Django app to determine timezone by geographic coordinates.
Quick start
Add “geo_timezones” to your INSTALLED_APPS settings like this:
INSTALLED_APPS = ( ... 'geo_timezones', ... )
Download SHP TZ_DATA file from http://efele.net/maps/tz/world/.
Run python manage.py migrate to create the timezones models.
Run python manage.py geo_timezones_update –shp_filename=<your shp tz_data file> to update timezones.
Use app in your code:
... from geo_timezones import get_timezone_name_by_coordinates ... timezone_name = get_timezone_name_by_coordinates(55.3424, 61.0034) # lat, long
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-geo-timezones-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d032dadcc00f7c5d32e72ddea8eb207036833382e4c42609e05d250876807993 |
|
MD5 | fb40655bc05a3a46c75905adb98cdddf |
|
BLAKE2b-256 | 5a2f5ed9e24178721547c6139eb6c6366ccd3787b4ea7e503325a2c963765927 |