Skip to main content

monthday

PyPI Read the Docs Build Status Coverage Status

This package provides the MonthDay value type for dealing dates without year. It is useful for dealing with birthdays, or anniversaries. Works on Python 2.6, 2.7, 3.2–3.5, PyPy, PyPy3.

>>> from monthday import *
>>> aug_4 = MonthDay(8, 4)
>>> aug_4
monthday.MonthDay(8, 4)
>>> aug_4.date(1988)
datetime.date(1988, 8, 4)
>>> list(aug_4.dates(range(2013, 2016)))
[datetime.date(2013, 8, 4),
 datetime.date(2014, 8, 4),
 datetime.date(2015, 8, 4)]
>>> from datetime import date
>>> MonthDay.from_date(date(2015, 12, 25))
monthday.MonthDay(12, 25)

It’s available on PyPI:

$ pip install monthday

Written by Hong Minhee, and distributed under LGPLv3 or later. Find the source code from the GitHub repository.

Metadata

Release files for monthday 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for monthday 0.9.0
File Size Uploaded
monthday-0.9.0.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for monthday 0.9.0
File Interpreter ABI Platform
monthday-0.9.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 9.6 kB

Release files / monthday-0.9.0.tar.gz

Download URL monthday-0.9.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5a48d197fc1fdd5dd6ae7dc3e3074aae7cf50866973388677f66d17137cfb814
BLAKE2b-256 checksum
How to use checksums
ef440c1a0dedd63727a3041ab6b305a9ac6a8f197bc9477adf9ad5136e82b0f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / monthday-0.9.0-py2.py3-none-any.whl

Download URL monthday-0.9.0-py2.py3-none-any.whl
Size 5.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
3bd1cec9936efbc379ad5aa8eb67d64b663c202f8e650b0ea643f39475255422
BLAKE2b-256 checksum
How to use checksums
037387040492bcff5956b195ecff04c81201ceccf9138daae66cec662f3bedf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release 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