Skip to main content

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

  1. Add “geo_timezones” to your INSTALLED_APPS settings like this:

  2. Download SHP TZ_DATA file from

  3. Run python migrate to create the timezones models.

  4. Run python geo_timezones_update –shp_filename=<your shp tz_data file> to update timezones.

  5. 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-geo-timezones, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size django-geo-timezones-0.1.2.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page