Skip to main content

This package does nothing more than making pytz usable on App Engine.

pytz has a severe performance problem that impedes its usage on Google App Engine. This is caused because pytz.__init__ builds a list of available zoneinfos checking the entire zoneinfo database (which means: it tries to open hundreds of files). This is done in the module globals, so it is not easily avoidable. And it is far from ideal to do this in App Engine - app initialization becomes unacceptable if every time we import pytz it checks 500+ files.

In this alternative version, pytz is highly optimized for App Engine, following ideas from several recipes around:

  • database files are not automatically reads when the module is imported

  • the database files are loaded using zipimport to reduce number of files

  • it uses memcache to cache already loaded zoneinfos

This results in almost unnoticeable load time and makes pytz usable on App Engine.

pytz is written and maintained by Stuart Bishop. Learn more about it at http://pypi.python.org/pypi/pytz/

Release files for gaepytz 2010h

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distributions (sdists)

Source distribution for gaepytz 2010h
File Size Uploaded
gaepytz-2010h.zip 385.0 kB Details
gaepytz-2010h.tar.gz 381.3 kB Details

Release files / gaepytz-2010h.zip

Download URL gaepytz-2010h.zip
Size 385.0 kB
Tags Source
SHA-256 checksum
How to use checksums
29b41489c4e0951a8c6edd84b03429276707e599db4cad867b336b27e5c52701
BLAKE2b-256 checksum
How to use checksums
0616d3fa0f8b570bc122ed0babb23c0a8b3bb8ba411c0285a0d770caaa1c0f52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / gaepytz-2010h.tar.gz

Download URL gaepytz-2010h.tar.gz
Size 381.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ab3dd2674dba35b7431af483da5463c11d355f88d4fcc5e92db7ea34457bffc2
BLAKE2b-256 checksum
How to use checksums
5100714973073bf74e7fc61dae6994dc9cef3c461c7ca0f04ddf86bffd4cfab3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

2011h

2 release files

2010l

2 release files

This release

2010h This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page