Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install gaepytz

How to install gaepytz

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install gaepytz
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
2011h Available View build log
2011c Available View build log
2011b Available View build log
2010l Available View build log
2010h Available View build log
Windows (64-bit)
2011h Available View build log
2011c Available View build log
2011b Available View build log
2010l Available View build log
2010h Available View build log
Mac OS X (10.5+)
2011h Available View build log
2011c Available View build log
2011b Available View build log
2010l Available View build log
2010h Available View build log
Linux (32-bit)
2011h Available View build log
2011c Available View build log
2011b Available View build log
2010l Available View build log
2010h Available View build log
Linux (64-bit)
2011h Available View build log
2011c Available View build log
2011b Available View build log
2010l Available View build log
2010h Available View build log
 
License
MIT
Imports
Lastest release
version 2011h on Jul 13th, 2011

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.

Subscribe to package updates

Last updated Jul 13th, 2011

Download Stats

Last month:14

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.