detquantlib 3.7.1__tar.gz → 3.7.2__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.
Files changed (21) hide show
  1. {detquantlib-3.7.1 → detquantlib-3.7.2}/PKG-INFO +1 -1
  2. {detquantlib-3.7.1 → detquantlib-3.7.2}/detquantlib/outputs/outputs_interface.py +16 -2
  3. {detquantlib-3.7.1 → detquantlib-3.7.2}/pyproject.toml +1 -1
  4. {detquantlib-3.7.1 → detquantlib-3.7.2}/LICENSE.txt +0 -0
  5. {detquantlib-3.7.1 → detquantlib-3.7.2}/README.md +0 -0
  6. {detquantlib-3.7.1 → detquantlib-3.7.2}/detquantlib/__init__.py +0 -0
  7. {detquantlib-3.7.1 → detquantlib-3.7.2}/detquantlib/data/__init__.py +0 -0
  8. {detquantlib-3.7.1 → detquantlib-3.7.2}/detquantlib/data/databases/detdatabase.py +0 -0
  9. {detquantlib-3.7.1 → detquantlib-3.7.2}/detquantlib/data/entsoe/entsoe.py +0 -0
  10. {detquantlib-3.7.1 → detquantlib-3.7.2}/detquantlib/data/sftp/sftp.py +0 -0
  11. {detquantlib-3.7.1 → detquantlib-3.7.2}/detquantlib/dates/__init__.py +0 -0
  12. {detquantlib-3.7.1 → detquantlib-3.7.2}/detquantlib/dates/dates.py +0 -0
  13. {detquantlib-3.7.1 → detquantlib-3.7.2}/detquantlib/figures/__init__.py +0 -0
  14. {detquantlib-3.7.1 → detquantlib-3.7.2}/detquantlib/figures/plotly_figures.py +0 -0
  15. {detquantlib-3.7.1 → detquantlib-3.7.2}/detquantlib/outputs/__init__.py +0 -0
  16. {detquantlib-3.7.1 → detquantlib-3.7.2}/detquantlib/stats/__init__.py +0 -0
  17. {detquantlib-3.7.1 → detquantlib-3.7.2}/detquantlib/stats/data_analysis.py +0 -0
  18. {detquantlib-3.7.1 → detquantlib-3.7.2}/detquantlib/tradable_products/__init__.py +0 -0
  19. {detquantlib-3.7.1 → detquantlib-3.7.2}/detquantlib/tradable_products/tradable_products.py +0 -0
  20. {detquantlib-3.7.1 → detquantlib-3.7.2}/detquantlib/utils/__init__.py +0 -0
  21. {detquantlib-3.7.1 → detquantlib-3.7.2}/detquantlib/utils/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: detquantlib
3
- Version: 3.7.1
3
+ Version: 3.7.2
4
4
  Summary: An internal library containing functions and classes that can be used across Quant models.
5
5
  Author: DET
6
6
  Requires-Python: >=3.10,<4.0
@@ -149,7 +149,14 @@ class OutputSet:
149
149
  output_items = list()
150
150
  self.output_items = output_items
151
151
 
152
- def add_item(self, data, filename: str, extension: str, sub_path: str = None):
152
+ def add_item(
153
+ self,
154
+ data,
155
+ filename: str,
156
+ extension: str,
157
+ sub_path: str = None,
158
+ export_options: dict = None,
159
+ ):
153
160
  """
154
161
  Creates an OutputItem object and adds it to the OutputSet list.
155
162
 
@@ -159,9 +166,16 @@ class OutputSet:
159
166
  extension: File extension to be used when exporting the output data
160
167
  sub_path: Within the output base directory, indicates the sub-path (if any) of the
161
168
  folder where the output data should be exported
169
+ export_options: Additional options for the function exporting the output data to a file
162
170
  """
163
171
  # Create OutputItem object
164
- item = OutputItem(data=data, filename=filename, extension=extension, sub_path=sub_path)
172
+ item = OutputItem(
173
+ data=data,
174
+ filename=filename,
175
+ extension=extension,
176
+ sub_path=sub_path,
177
+ export_options=export_options,
178
+ )
165
179
  # Append to OutputSet list
166
180
  self.output_items.append(item)
167
181
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "detquantlib"
3
- version = "3.7.1"
3
+ version = "3.7.2"
4
4
  description = "An internal library containing functions and classes that can be used across Quant models."
5
5
  authors = ["DET"]
6
6
  readme = "README.md"
File without changes
File without changes