Rangekeeper 0.8.28__py3-none-any.whl → 0.8.30__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
rangekeeper/duration.py CHANGED
@@ -89,9 +89,9 @@ class Type(enum.Enum):
89
89
  if type == Type.MONTH:
90
90
  return "ME"
91
91
  if type == Type.BIWEEK:
92
- return "2W"
92
+ return "2W-SUN"
93
93
  if type == Type.WEEK:
94
- return "W"
94
+ return "W-SUN"
95
95
  if type == Type.DAY:
96
96
  return "D"
97
97
  else:
rangekeeper/flux.py CHANGED
@@ -390,7 +390,10 @@ class Flow:
390
390
  """
391
391
  return rk.flux.Flow(
392
392
  movements=self.movements.copy(deep=True)
393
- .resample(rule=rk.duration.Type.offset(frequency))
393
+ .resample(
394
+ rule=rk.duration.Type.offset(frequency),
395
+ label="right",
396
+ )
394
397
  .sum(),
395
398
  units=self.units,
396
399
  name=self.name,
@@ -848,7 +851,6 @@ class Stream:
848
851
  self,
849
852
  name: str = None,
850
853
  registry: pint.UnitRegistry = None,
851
- scope: Optional[dict] = None,
852
854
  ) -> Flow:
853
855
  """
854
856
  Returns a Flow whose movements are the product of the Stream's flows by period
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: Rangekeeper
3
- Version: 0.8.28
3
+ Version: 0.8.30
4
4
  Summary: A Python library assisting financial modelling in real estate asset & development planning, decision-making, cashflow forecasting, and scenario analysis.
5
5
  Author-email: Daniel Fink <danfink@mit.edu>
6
6
  License-Expression: MPL-2.0
@@ -1,9 +1,9 @@
1
1
  rangekeeper/__init__.py,sha256=8q0KF90SLgIfptpFGuI66FOCqe3K9UgIzTHFL1pwP4Y,1731
2
2
  rangekeeper/api.py,sha256=3nuG7C2IQjpumcn79MvYDTa7ADWPAos7VfVM-3pL4n4,4798
3
3
  rangekeeper/distribution.py,sha256=2C3jhi1rLJUs0seBztdQb196hNhc00sKJEGMkFiDpYs,8961
4
- rangekeeper/duration.py,sha256=_E9owP1-WfMhofLajGRMHvlhjlcAy5cqVkNeB7CyMws,20417
4
+ rangekeeper/duration.py,sha256=c0roYG0zzIfr3B19_NxahlaBoAt1DuKSjeqyVGOhn0Y,20425
5
5
  rangekeeper/extrapolation.py,sha256=Zfsz2KwkImxEMMCNZaF8RpiQxlIgemS1dQkSnjliYU4,2814
6
- rangekeeper/flux.py,sha256=25-jSnBrO9QGDXpuNahaVFUiJrHAWaiTda1uplUXFck,32043
6
+ rangekeeper/flux.py,sha256=Uh9TpGHhMesYmMRd1ahS0WId2a3uslGXubCGlqPGvG8,32067
7
7
  rangekeeper/format.py,sha256=DOfF4-LCXqWyCtE1OomwE80sJLe6LjL4gqEOAP454LQ,10796
8
8
  rangekeeper/graph.py,sha256=6oWRv-qzGsM5Z19UyJ1v3hwtWaQp_F4qQKxizvkQ_gg,28043
9
9
  rangekeeper/measure.py,sha256=eCdoTAocq1loNZBnOp3nPiPV7yIi0QTwpVHvjba1hkY,4125
@@ -20,7 +20,7 @@ rangekeeper/dynamics/trend.py,sha256=-WqrRvmmTj2mE24Pz-Dl5lXEpLXnDUMngafU__em_ac
20
20
  rangekeeper/dynamics/volatility.py,sha256=MGDLzrI1uP_C6HL-pigJwWikHg1KNbfB_0m0Akh-L2A,5162
21
21
  rangekeeper/formula/__init__.py,sha256=4OXzdJAYDBxQeOMzLR5MZvIjxxIfFOTE9aNu9zFryAE,36
22
22
  rangekeeper/formula/financial.py,sha256=oNFdhygbtdEUFjpxYFuuDnpC_P8nOO538b21FzaMtTU,14045
23
- rangekeeper-0.8.28.dist-info/METADATA,sha256=Wo1fsizJdyibP480ZHP2AfbQjg-xn2xwwKS_X7Ac3hk,2212
24
- rangekeeper-0.8.28.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
25
- rangekeeper-0.8.28.dist-info/top_level.txt,sha256=7ov6d70lppmzKc088MAmRWnCtCRGA2cd43G28QBSv-c,12
26
- rangekeeper-0.8.28.dist-info/RECORD,,
23
+ rangekeeper-0.8.30.dist-info/METADATA,sha256=BQMLhJ6Mrb6u6hTqZBZzAeV-vS65JX9MzwCxyn66VT8,2212
24
+ rangekeeper-0.8.30.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
25
+ rangekeeper-0.8.30.dist-info/top_level.txt,sha256=7ov6d70lppmzKc088MAmRWnCtCRGA2cd43G28QBSv-c,12
26
+ rangekeeper-0.8.30.dist-info/RECORD,,