Rangekeeper 0.8.28__tar.gz → 0.8.30__tar.gz
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-0.8.28 → rangekeeper-0.8.30}/PKG-INFO +1 -1
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/Rangekeeper.egg-info/PKG-INFO +1 -1
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/pyproject.toml +1 -1
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/duration.py +2 -2
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/flux.py +4 -2
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/tests/test_modules.py +7 -1
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/README.md +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/Rangekeeper.egg-info/SOURCES.txt +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/Rangekeeper.egg-info/dependency_links.txt +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/Rangekeeper.egg-info/requires.txt +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/Rangekeeper.egg-info/top_level.txt +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/__init__.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/api.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/distribution.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/dynamics/__init__.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/dynamics/black_swan.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/dynamics/cyclicality.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/dynamics/market.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/dynamics/noise.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/dynamics/trend.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/dynamics/volatility.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/extrapolation.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/format.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/formula/__init__.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/formula/financial.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/graph.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/measure.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/policy.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/projection.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/segmentation.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/rangekeeper/space.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/setup.cfg +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/tests/test_api.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/tests/test_dynamics.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/tests/test_formulas.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/tests/test_graph.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/tests/test_measures.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/tests/test_models.py +0 -0
- {rangekeeper-0.8.28 → rangekeeper-0.8.30}/tests/test_projections.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: Rangekeeper
|
3
|
-
Version: 0.8.
|
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,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: Rangekeeper
|
3
|
-
Version: 0.8.
|
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,6 +1,6 @@
|
|
1
1
|
[project]
|
2
2
|
name = "Rangekeeper"
|
3
|
-
version = "0.8.
|
3
|
+
version = "0.8.30"
|
4
4
|
description = "A Python library assisting financial modelling in real estate asset & development planning, decision-making, cashflow forecasting, and scenario analysis."
|
5
5
|
authors = [
|
6
6
|
{ name = "Daniel Fink", email = "danfink@mit.edu" }
|
@@ -390,7 +390,10 @@ class Flow:
|
|
390
390
|
"""
|
391
391
|
return rk.flux.Flow(
|
392
392
|
movements=self.movements.copy(deep=True)
|
393
|
-
.resample(
|
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
|
@@ -229,9 +229,15 @@ class TestFlow:
|
|
229
229
|
to_periods = flow.to_periods(frequency=rk.duration.Type.YEAR)
|
230
230
|
|
231
231
|
def test_conversion_to_period_index(self):
|
232
|
-
print(TestFlow.to_periods)
|
232
|
+
# print(TestFlow.to_periods)
|
233
233
|
# assert TestFlow.to_periods
|
234
234
|
|
235
|
+
resampled = TestFlow.invert_flow.resample(frequency=rk.duration.Type.BIWEEK)
|
236
|
+
resampled.display()
|
237
|
+
|
238
|
+
fortnightly = TestFlow.invert_flow.to_periods(frequency=rk.duration.Type.BIWEEK)
|
239
|
+
print(fortnightly)
|
240
|
+
|
235
241
|
def test_distribution_as_input(self):
|
236
242
|
periods = rk.duration.Sequence.from_bounds(
|
237
243
|
include_start=datetime.date(2020, 1, 31),
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|