rangekeeper 0.7.5__tar.gz → 0.7.6__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.7.5 → rangekeeper-0.7.6}/PKG-INFO +1 -1
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/pyproject.toml +1 -1
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/flux.py +2 -34
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/README.md +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/__init__.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/api.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/conftest.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/distribution.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/duration.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/dynamics/__init__.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/dynamics/black_swan.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/dynamics/cyclicality.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/dynamics/market.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/dynamics/noise.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/dynamics/trend.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/dynamics/volatility.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/extrapolation.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/format.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/formula/__init__.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/formula/financial.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/graph.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/measure.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/policy.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/projection.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/segmentation.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/space.py +0 -0
- {rangekeeper-0.7.5 → rangekeeper-0.7.6}/rangekeeper/span.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: Rangekeeper
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.6
|
|
4
4
|
Summary: A Python library assisting financial modelling in real estate asset & development planning, decision-making, cashflow forecasting, and scenario analysis.
|
|
5
5
|
License: MPL-2.0
|
|
6
6
|
Author: Daniel Fink
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "Rangekeeper"
|
|
3
|
-
version = "0.7.
|
|
3
|
+
version = "0.7.6"
|
|
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 = ["Daniel Fink <danfink@mit.edu>"]
|
|
6
6
|
license = "MPL-2.0"
|
|
@@ -732,44 +732,12 @@ class Stream:
|
|
|
732
732
|
def total(self) -> np.float64:
|
|
733
733
|
return self.sum().collapse().movements.iloc[0]
|
|
734
734
|
|
|
735
|
-
|
|
736
|
-
# self,
|
|
737
|
-
# flows: [Flow]) -> None:
|
|
738
|
-
# """
|
|
739
|
-
# Appends a list of Flows to the Stream
|
|
740
|
-
# :param flows:
|
|
741
|
-
# :type flows:
|
|
742
|
-
# :return:
|
|
743
|
-
# :rtype:
|
|
744
|
-
# """
|
|
745
|
-
# # if any(flow.units != self.units for flow in flows):
|
|
746
|
-
# # raise Exception("Input Flows have dissimilar units. Cannot aggregate into Stream.")
|
|
747
|
-
#
|
|
748
|
-
# # Append Flows:
|
|
749
|
-
# self.flows.extend(flows)
|
|
750
|
-
#
|
|
751
|
-
# # Append Units:
|
|
752
|
-
# self.units.update({flow.name: flow.units for flow in flows})
|
|
753
|
-
#
|
|
754
|
-
# # Stream:
|
|
755
|
-
# flows_dates = list(
|
|
756
|
-
# itertools.chain.from_iterable(list(flow.movements.index.array) for flow in self.flows))
|
|
757
|
-
# self.start_date = min(flows_dates)
|
|
758
|
-
# self.end_date = max(flows_dates)
|
|
759
|
-
#
|
|
760
|
-
# # sequence = rk.duration.Sequence.from_bounds(
|
|
761
|
-
# # include_start=self.start_date,
|
|
762
|
-
# # frequency=self.frequency,
|
|
763
|
-
# # bound=self.end_date)
|
|
764
|
-
# _resampled_flows = [flow.to_periods(frequency=self.frequency) for flow in self.flows]
|
|
765
|
-
# self.frame = pd.concat(_resampled_flows, axis=1).fillna(0)
|
|
766
|
-
|
|
767
|
-
def append(
|
|
735
|
+
def extend(
|
|
768
736
|
self,
|
|
769
737
|
flows: [Flow],
|
|
770
738
|
):
|
|
771
739
|
"""
|
|
772
|
-
|
|
740
|
+
Returns a new Stream with additional Flows
|
|
773
741
|
:param flows:
|
|
774
742
|
:type flows:
|
|
775
743
|
:return:
|
|
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
|