World timezone definitions, modern and historical

timezone, tzinfo, datetime, olson, time
pip install pytz==2020.1



Brings the IANA tz database into Python. This library allows accurate and cross platform timezone calculations.

pytz contains generated code, and this branch generates it. The actual pytz code and documentation can be found in the src/ directory.

Usage Information / Documentation

See the pytz README.

pytz for Enterprise

Available as part of the Tidelift Subscription.

The maintainers of pytz and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.

Release process

1) Untar upstream tarballs into elsie/src
2) Update VERSION & OLSON_VERSION in src/pytz/, and EXPECTED_VERSION in
3) make test
4) make dist