Skip to main content

Geo Timezones

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:

    INSTALLED_APPS = (
        ...
        'geo_timezones',
        ...
    )
  2. Download SHP TZ_DATA file from http://efele.net/maps/tz/world/.

  3. Run python manage.py migrate to create the timezones models.

  4. Run python manage.py 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

Metadata

Release files for django-geo-timezones 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-geo-timezones 0.1.2
File Size Uploaded Provenance Actions
django-geo-timezones-0.1.2.tar.gz 3.0 kB Without provenance Details for django-geo-timezones-0.1.2.tar.gz

Release files / django-geo-timezones-0.1.2.tar.gz

Download URL django-geo-timezones-0.1.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c2842b96f195049c90428999cd4ef1cf2c0964b38c5524cada6580eeba78f45c
BLAKE2b-256 checksum
How to use checksums
e3fceeae2da018ef01a3e91efa318c4d45be624f9858705a5310e3765b198bf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-geo-timezones 0.1.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page