tyba-client 0.4.10__py3-none-any.whl → 0.4.12__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.
Potentially problematic release.
This version of tyba-client might be problematic. Click here for more details.
- tyba_client/forecast.py +3 -1
- tyba_client/operations.py +3 -1
- {tyba_client-0.4.10.dist-info → tyba_client-0.4.12.dist-info}/METADATA +2 -1
- {tyba_client-0.4.10.dist-info → tyba_client-0.4.12.dist-info}/RECORD +6 -6
- {tyba_client-0.4.10.dist-info → tyba_client-0.4.12.dist-info}/WHEEL +1 -1
- {tyba_client-0.4.10.dist-info → tyba_client-0.4.12.dist-info}/LICENSE +0 -0
tyba_client/forecast.py
CHANGED
|
@@ -181,7 +181,8 @@ class Forecast(object):
|
|
|
181
181
|
)
|
|
182
182
|
|
|
183
183
|
def actuals(
|
|
184
|
-
self, object_name: str, product: str, start_time: datetime, end_time: datetime
|
|
184
|
+
self, object_name: str, product: str, start_time: datetime, end_time: datetime,
|
|
185
|
+
predictions_per_hour: int | None = None
|
|
185
186
|
):
|
|
186
187
|
return self.get(
|
|
187
188
|
"actuals",
|
|
@@ -190,5 +191,6 @@ class Forecast(object):
|
|
|
190
191
|
"product": product,
|
|
191
192
|
"start_time": start_time,
|
|
192
193
|
"end_time": end_time,
|
|
194
|
+
"predictions_per_hour": predictions_per_hour,
|
|
193
195
|
},
|
|
194
196
|
)
|
tyba_client/operations.py
CHANGED
|
@@ -48,7 +48,8 @@ class Operations(object):
|
|
|
48
48
|
end_date: date,
|
|
49
49
|
asset_name: str,
|
|
50
50
|
interval_mins: int,
|
|
51
|
-
metrics: list[str]
|
|
51
|
+
metrics: list[str],
|
|
52
|
+
solar_asset_telemetry: bool = False,
|
|
52
53
|
):
|
|
53
54
|
return self.get(
|
|
54
55
|
"internal_api/telemetry",
|
|
@@ -58,6 +59,7 @@ class Operations(object):
|
|
|
58
59
|
"asset_name": asset_name,
|
|
59
60
|
"interval_mins": interval_mins,
|
|
60
61
|
"metrics": metrics,
|
|
62
|
+
"solar_asset_telemetry": solar_asset_telemetry,
|
|
61
63
|
},
|
|
62
64
|
)
|
|
63
65
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tyba-client
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.12
|
|
4
4
|
Summary: A Python API client for the Tyba Public API
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Tyler Nisonoff
|
|
@@ -13,6 +13,7 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.10
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
17
|
Requires-Dist: dataclasses-json (>=0.6.4,<0.7.0)
|
|
17
18
|
Requires-Dist: generation-models (>=0.10.6,<0.11.0)
|
|
18
19
|
Requires-Dist: marshmallow (>=3.12.1,<4.0.0)
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
LICENSE,sha256=LbMfEdjEK-IRzvCfdEBhn9UCANze0Rc7hWrQTEj_xvU,1079
|
|
2
2
|
tyba_client/__init__.py,sha256=42STGor_9nKYXumfeV5tiyD_M8VdcddX7CEexmibPBk,22
|
|
3
3
|
tyba_client/client.py,sha256=6hFeAF5rptn6b1Az6sM8j1b2mLN04k_Qc_LOsdZRsBQ,6576
|
|
4
|
-
tyba_client/forecast.py,sha256=
|
|
4
|
+
tyba_client/forecast.py,sha256=iUTLwknfICT0CIpawxyssTtt-XYdwEQ7Urq-UYzPptY,6492
|
|
5
5
|
tyba_client/io.py,sha256=iyiQrpM1xg9XAoXlU6JvNB1uxRK77keJ8gAG-fefV2U,5783
|
|
6
6
|
tyba_client/models.py,sha256=c_nzyhYeqn8KfhFZpU9TOt0k2-3Lr3KQkt5wqBBpxb4,17816
|
|
7
|
-
tyba_client/operations.py,sha256=
|
|
7
|
+
tyba_client/operations.py,sha256=WkAr_e-15C0wIzP9l_a0uRJGqhObUIEG_iDWo_17TqU,2316
|
|
8
8
|
tyba_client/solar_resource.py,sha256=oUD6-qUJhiIjrHbSzSL0X4asGgU4lRBocyy0MkA3keY,3379
|
|
9
9
|
tyba_client/utils.py,sha256=n4tUBGlQIwxbLqJcQRiAIbIJA0DaLSjbAxakhukqaeE,876
|
|
10
|
-
tyba_client-0.4.
|
|
11
|
-
tyba_client-0.4.
|
|
12
|
-
tyba_client-0.4.
|
|
13
|
-
tyba_client-0.4.
|
|
10
|
+
tyba_client-0.4.12.dist-info/LICENSE,sha256=LbMfEdjEK-IRzvCfdEBhn9UCANze0Rc7hWrQTEj_xvU,1079
|
|
11
|
+
tyba_client-0.4.12.dist-info/METADATA,sha256=WpSvgtGOLVVE2vs3adl2SriNYjw4fQgojbK4PFHxYTA,1282
|
|
12
|
+
tyba_client-0.4.12.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
13
|
+
tyba_client-0.4.12.dist-info/RECORD,,
|
|
File without changes
|