Skip to main content

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

Metadata

Release files for tzupdate 2.1.0

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

Source distribution (sdist)

Source distribution for tzupdate 2.1.0
File Size Uploaded Provenance
tzupdate-2.1.0.tar.gz 6.3 kB Without provenance Details

Release files / tzupdate-2.1.0.tar.gz

Download URL tzupdate-2.1.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5b55795c390e4ccc90e649c8cc387447daaf30a21d68f7196b49824cbcba8adc
BLAKE2b-256 checksum
How to use checksums
b75c7d53fcd9b7b6bb51b7193203395cb35a250024f89d16f57d1bddecf28679
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Security for tzupdate 2.1.0

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