A drop in replacement for Python's datetime module which cares deeply about timezones.
Project description
A version of the python-datetime module which deeply cares about timezone (instead of ignoring the problem). The module automatically detects your current timezone using a variety of different methods.
The module also includes extra functionality;
Full integration with pytz (just give it the string of the timezone!)
Proper support for going to/from Unix timestamps (which are in UTC!).
Smart Parsing which attempts to accept all formats.
This module depends on:
pytz - For providing the Timezone database.
dateutil - For providing parsing of many common formats.
[![Build Status](https://travis-ci.org/mithro/python-datetime-tz.png?branch=master)](https://travis-ci.org/mithro/python-datetime-tz) [![Coverage Status](https://coveralls.io/repos/mithro/python-datetime-tz/badge.png)](https://coveralls.io/r/mithro/python-datetime-tz) [![PyPi Version](https://pypip.in/v/python-datetime-tz/badge.png)](https://crate.io/packages/python-coveralls/) [![PyPi Downloads](https://pypip.in/d/python-datetime-tz/badge.png)](https://crate.io/packages/python-coveralls/) [![githalytics.com](https://cruel-carlota.pagodabox.com/d317b586eafe043326e5050de8cc0214 “githalytics.com”)](http://githalytics.com/mithro/python-datetime-tz)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file python-datetime-tz-0.3.tar.gz
.
File metadata
- Download URL: python-datetime-tz-0.3.tar.gz
- Upload date:
- Size: 30.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fcfbf1d9136cac4b9a17ecfe52bfbe3aea0f606186c0588f3098045425326cf |
|
MD5 | 11379318ea5fe110a6f8652b38fc3077 |
|
BLAKE2b-256 | d268a77e5065d307e9e5175510244b284cb08f8df4be2e13539a137a2f385390 |
File details
Details for the file python_datetime_tz-0.3-py3-none-any.whl
.
File metadata
- Download URL: python_datetime_tz-0.3-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c5c5e380d331ffa24a553123ff672b4823aad682964feff371ce040d9a5a82a |
|
MD5 | 0edf9d72c25c01059842a91b05a355b6 |
|
BLAKE2b-256 | 6b2caf6baeada493f307c5be3242357d8d4d53b20881954f81ba96acdf791cfa |
File details
Details for the file python_datetime_tz-0.3-py2-none-any.whl
.
File metadata
- Download URL: python_datetime_tz-0.3-py2-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d8c5ce172e29760308a8e68d8505d565bf0894ff6d14b036782dc975eb984c0 |
|
MD5 | 1b806f573f7f2fe0f47f2d348c5bea68 |
|
BLAKE2b-256 | c17671067c7a4cc799557503e3d44bfa4da99f81725a769e85e401436cd9a4ca |