Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

MonthDelta-1.0b.zip (10.6 kB view details)

Uploaded Source

MonthDelta-1.0b.tar.gz (6.9 kB view details)

Uploaded Source

MonthDelta-1.0b.tar.bz2 (7.0 kB view details)

Uploaded Source

File details

Details for the file MonthDelta-1.0b.zip.

File metadata

  • Download URL: MonthDelta-1.0b.zip
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for MonthDelta-1.0b.zip
Algorithm Hash digest
SHA256 a7b80ca49b6900a09749f72c8d1ec8f71f0c12fe01115e452923ff70a0dc0dce
MD5 96c5d66cd341aa0e3560d8da241d06ab
BLAKE2b-256 d1ce0d02f8b3f7138c93dc086c9a6830f1a17c604640293c80f2164887d83784

See more details on using hashes here.

File details

Details for the file MonthDelta-1.0b.tar.gz.

File metadata

  • Download URL: MonthDelta-1.0b.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for MonthDelta-1.0b.tar.gz
Algorithm Hash digest
SHA256 ab93015bea3a10dee0e6b386a2ab8ff14b7d40766b9b14257a1381473c885c11
MD5 0030e741699a1b4d03176e0d13f12864
BLAKE2b-256 fd03faf94faa94b8cfd84ca15452ca63d047ebb124283a38fab166d03ef09629

See more details on using hashes here.

File details

Details for the file MonthDelta-1.0b.tar.bz2.

File metadata

  • Download URL: MonthDelta-1.0b.tar.bz2
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for MonthDelta-1.0b.tar.bz2
Algorithm Hash digest
SHA256 db376cdafea66bb767eb8829cbe55c52138b579754ae2020c1001b4587722eae
MD5 9ad57d12b86bcdaa0871ff94d822ef19
BLAKE2b-256 06f1f53f889b65e9a3beb74f8bdc979643d774799de84d0c15ba04a319649f6d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0b This release

3 files

0.9.1

2 files

0.9

2 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