A drop-in replacement for pytz.
Project description
mytz
====
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 __init__.py, 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.
====
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 __init__.py, 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
mytz-evil-0.1dev.tar.gz
(379.4 kB
view details)
mytz-0.1dev.tar.gz
(379.4 kB
view details)
File details
Details for the file mytz-evil-0.1dev.tar.gz
.
File metadata
- Download URL: mytz-evil-0.1dev.tar.gz
- Upload date:
- Size: 379.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 549f0bc5bdbb20d84a209dd2eada31409e4e598d134345a9392596a703c8c6ff |
|
MD5 | 9b23fa343a2f8413438477430e3a4f88 |
|
BLAKE2b-256 | 470fc072d9e85ca0e584965270acf5c3bb3d349ab482adc8e7c37568f6e82810 |
File details
Details for the file mytz-0.1dev.tar.gz
.
File metadata
- Download URL: mytz-0.1dev.tar.gz
- Upload date:
- Size: 379.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 607e50ffe6a9ee2eda2d732820b565b5a350a281a7b0e77a8a85ab036fc788f2 |
|
MD5 | fdd02ebe9e7f4d618fea4a84618c6e44 |
|
BLAKE2b-256 | e625d653b7beb898e507cf3930046056813a3cca266eb8a2fa070a5d0f752969 |