How to Install and Uninstall python311-tzlocal Package on openSUSE Leap
Last updated: November 23,2024
1. Install "python311-tzlocal" package
Please follow the step by step instructions below to install python311-tzlocal on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
python311-tzlocal
Copied
2. Uninstall "python311-tzlocal" package
Learn how to uninstall python311-tzlocal on openSUSE Leap:
$
sudo zypper remove
python311-tzlocal
Copied
3. Information about the python311-tzlocal package on openSUSE Leap
Information for package python311-tzlocal:
------------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : python311-tzlocal
Version : 4.3-150400.5.3.9
Arch : noarch
Vendor : SUSE LLC
Installed Size : 125.5 KiB
Installed : No
Status : not installed
Source package : python-tzlocal-4.3-150400.5.3.9.src
Upstream URL : https://github.com/regebro/tzlocal
Summary : tzinfo object for the local timezone
Description :
This Python module returns a tzinfo object with the local timezone information
under Unix and Win-32. It requires pytz, and returns pytz tzinfo objects.
This module attempts to fix a glaring hole in pytz, that there is no way to get
the local timezone information, unless you know the zoneinfo name, and under
several Linux distros that’s hard or impossible to figure out.
Also, with Windows different timezone system using pytz isn’t of much use unless
you separately configure the zoneinfo timezone name.
With tzlocal you only need to call get_localzone() and you will get a tzinfo
object with the local time zone info. On some Unices you will still not get to
know what the timezone name is, but you don’t need that when you have the tzinfo
file. However, if the timezone name is readily available it will be used.
------------------------------------------
Repository : Update repository with updates from SUSE Linux Enterprise 15
Name : python311-tzlocal
Version : 4.3-150400.5.3.9
Arch : noarch
Vendor : SUSE LLC
Installed Size : 125.5 KiB
Installed : No
Status : not installed
Source package : python-tzlocal-4.3-150400.5.3.9.src
Upstream URL : https://github.com/regebro/tzlocal
Summary : tzinfo object for the local timezone
Description :
This Python module returns a tzinfo object with the local timezone information
under Unix and Win-32. It requires pytz, and returns pytz tzinfo objects.
This module attempts to fix a glaring hole in pytz, that there is no way to get
the local timezone information, unless you know the zoneinfo name, and under
several Linux distros that’s hard or impossible to figure out.
Also, with Windows different timezone system using pytz isn’t of much use unless
you separately configure the zoneinfo timezone name.
With tzlocal you only need to call get_localzone() and you will get a tzinfo
object with the local time zone info. On some Unices you will still not get to
know what the timezone name is, but you don’t need that when you have the tzinfo
file. However, if the timezone name is readily available it will be used.