全部搜尋項
bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: pytz-deprecation-shim  ]

套件:python3-pytz-deprecation-shim(0.1.0.post0-3)

python3-pytz-deprecation-shim 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 pytz-deprecation-shim

維護小組:

外部的資源:

相似套件:

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.

其他與 python3-pytz-deprecation-shim 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 python3-pytz-deprecation-shim

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 14。0 kB65。0 kB [檔案列表]