finance.proration
Split an amount into the part used and the part unused over a billing period, losing nothing.
prorate in Python
1.0.0
py rs ts
16 tests
dates.overlap
Days two date ranges have in common, with the end of each range stated as inclusive or exclusive.
overlap_days in Python
1.0.0
py rs ts
15 tests
money.allocate
Split an amount across ratios without losing or inventing a single minor unit.
allocate in Python
1.0.1
py rs ts
17 tests
property.rent-proration Unreviewed
Rent for part of a month from the monthly rent, by the annual-daily or the calendar-month method.
prorate_rent in Python
1.0.1
py rs ts
21 tests
subscriptions.proration
Mid-cycle plan change: credit for unused time on the old plan and charge for the rest of the period on the new one.
prorate_change in Python
1.0.0
py rs ts
17 tests