How to Install and Uninstall python3-pytz-deprecation-shim Package on Kali Linux

Last updated: May 20,2024

1. Install "python3-pytz-deprecation-shim" package

Please follow the guidelines below to install python3-pytz-deprecation-shim on Kali Linux

$ sudo apt update $ sudo apt install python3-pytz-deprecation-shim

2. Uninstall "python3-pytz-deprecation-shim" package

This guide covers the steps necessary to uninstall python3-pytz-deprecation-shim on Kali Linux:

$ sudo apt remove python3-pytz-deprecation-shim $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-pytz-deprecation-shim package on Kali Linux

Package: python3-pytz-deprecation-shim
Source: pytz-deprecation-shim
Version: 0.1.0.post0-3
Installed-Size: 65
Maintainer: Debian Python Team
Architecture: all
Depends: python3-dateutil | python3 (>> 3.6), python3:any
Size: 14352
SHA256: c8ac85ca3dd7c4a37d020a3ec54755041a4b4cd46c9cd9a893e54ea16e172f56
SHA1: 056ae10c8304f4c96e1bdc32af1d5d1eaffec722
MD5sum: 0066ffc1b9c690c029b7e0bafd64184b
Description: Shims to help you safely remove pytz
pytz has served the Python community well for many years, but it is no longer
the best option for providing time zones. pytz has a non-standard interface
that is very easy to misuse; this interface was necessary when pytz was
created, because datetime had no way to represent ambiguous datetimes, but
this was solved in Python 3.6, which added a fold attribute to datetimes in
PEP 495. With the addition of the zoneinfo module in Python 3.9 (PEP 615),
there has never been a better time to migrate away from pytz.
.
However, since pytz time zones are used very differently from a standard
tzinfo, and many libraries have built pytz zones into their standard time zone
interface (and thus may have users relying on the existence of the localize and
normalize methods); this library provides shim classes that are compatible with
both PEP 495 and pytz's interface, to make it easier for libraries to deprecate
pytz.
Description-md5:
Homepage: https://github.com/pganssle/pytz-deprecation-shim
Section: python
Priority: optional
Filename: pool/main/p/pytz-deprecation-shim/python3-pytz-deprecation-shim_0.1.0.post0-3_all.deb