cdown/tzupdate


Set the system timezone based on IP geolocation

License: MIT

Language: Python

Keywords: clock, geolocation, geolocation-api, linux, public-domain, python, time, time-clock, timezone, timezone-picker


Tests LGTM Coverage Dependencies

tzupdate is a fully automated utility to set the system time using geolocation.

Usage

$ sudo tzupdate
Set system timezone to Europe/London.

Internally, this geolocates you, gets the timezone for that geolocation, and then updates the system's local time zone.

You can also see what tzupdate would do without actually doing it by passing -p, and specify an alternative IP address by using -a. This is not an exhaustive list of options, see tzupdate --help for that.

Installation

To install the latest stable version from PyPi (recommended):

$ pip install -U tzupdate

To install the latest development code from GitHub:

$ pip install -U git+https://github.com/cdown/tzupdate.git@develop

Testing

$ tox
Ran 18 tests in 1.109s

Project Statistics

Sourcerank 6
Repository Size 114 KB
Stars 117
Forks 17
Watchers 5
Open issues 1
Dependencies 4
Contributors 3
Tags 15
Created
Last updated
Last pushed

Top Contributors See all

Chris Down jbrockmendel Julien DOCHE

Packages Referencing this Repo

tzupdate
Set the system timezone based on IP geolocation
Latest release 2.0.0 - Updated - 117 stars

Recent Tags See all

2.0.0 January 03, 2020
1.5.0 July 31, 2019
1.4.0 May 08, 2019
1.3.1 November 03, 2018
1.3.0 June 16, 2018
1.2.0 March 17, 2017
1.1.0 January 01, 2017
1.0.0 January 01, 2017
0.5.0 February 02, 2016
0.4.0 September 06, 2015
v0.3.0 August 23, 2013
v0.2.1 August 04, 2013
v0.2.0 August 04, 2013
v0.0.0 August 04, 2013
v0.1.0 August 04, 2013

Something wrong with this page? Make a suggestion

Last synced: 2020-02-10 02:55:08 UTC

Login to resync this repository