Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A drop-in replacement for pytz.

Project description


The original idea for this was based on my work on Rodrigo Moraes' `gae-pytz`_.
Limitations within pytz caused its performance to be unacceptable for
short-running applications, such as in Google App Engine. The issue, and
related issues to do with this remain un-addressed today.

The crux of this issue is based around the "all_timezones" and
"common_timezones" variables, which cause the entire timezone list to be loaded
(well over five hundred!) at import time. Beause it's done in, it
cannot be avoided without hacks such as gae-pytz.

So this is a fork, but intends to be a drop-in replacement for the most part
for pytz. In the process will be a number of code cleanups, and unit testing.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mytz, version 0.1dev
Filename, size File type Python version Upload date Hashes
Filename, size mytz-0.1dev.tar.gz (379.4 kB) File type Source Python version None Upload date Hashes View
Filename, size mytz-evil-0.1dev.tar.gz (379.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page