Install & Compatibility
Where this runs
tested against v1.4 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 17.8MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.5s · import 0.000s · 18MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
datedelta
✓ from datedelta import datedelta
✗ from datedelta import DateDelta
Add a DateDelta to a date to get another date.
from datetime import date
from datedelta import DateDelta, DAYS, MONTHS, YEARS
today = date.today()
delta = DateDelta(years=1, months=2, days=10)
new_date = today + delta
print(new_date)
# Or using constants:
new_date2 = today + 1*YEARS + 2*MONTHS + 10*DAYS
print(new_date2)
Upgrade
Version history
1.4latest on PyPI · released Jan 1, 2022
Audit
Dependencies
No dependency data recorded yet.