date computations with months
Project description
A single module, monthdelta, is provided by the MonthDelta distribution. The monthdelta module includes a class, MonthDelta, and a function, monthmod(). MonthDelta enables easy month-related calculations with the standard Python date and datetime classes from the datetime module. monthmod() enables round-trip calculations among MonthDelta, date, datetime, and timedelta. Starting with version 2.3 (when the datetime module was added), MonthDelta supports all subsequent versions of Python from one codebase.
This library was originally developed as an enhancement to the C implementation of Python, to be included directly in the datetime module. That was not seen as a valuable addition to the standard library, so this “back-ported” Python module is the way to use this functionality.
Documentation is available, and the source is hosted at Bitbucket. Jess Austin is the author of MonthDelta MonthDelta is distributed under the MIT license.
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
File details
Details for the file MonthDelta-1.0a.zip
.
File metadata
- Download URL: MonthDelta-1.0a.zip
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d39fe7d4342129fcae118db398c2b4ba17e966114d0f9eae5dc7bea3cbf146b7 |
|
MD5 | 31c63a724ccf62862f667dfab05dd0d9 |
|
BLAKE2b-256 | 9e0afb0b789fcaaefcb7a43125a5c783a162c812589a1161ca40d4f579aa4bc5 |
Provenance
File details
Details for the file MonthDelta-1.0a.tar.gz
.
File metadata
- Download URL: MonthDelta-1.0a.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c754740d197f9e1aa7e3e8ee77d1cbdde139eaf7ec1b47dba3a5f9b7bb2156f8 |
|
MD5 | 400e1881e8c6c924d78f948a272bca35 |
|
BLAKE2b-256 | ca42d19fffbbace1d5c777e403174ceb77ea1104c226b4a0baddee7abf46a3bf |
Provenance
File details
Details for the file MonthDelta-1.0a.tar.bz2
.
File metadata
- Download URL: MonthDelta-1.0a.tar.bz2
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4eb148ad250bd5b691777c51224651c5dfa4a4fb8aa6d7e9d250e7068e962cb4 |
|
MD5 | e182ee6d9f5d02dee54613cb12c5e537 |
|
BLAKE2b-256 | d999094a7ec1a16a26a423874cacb043ffc3e103e96f98a01387e2943c5e54a2 |