btd-python 0.1.0__tar.gz → 0.1.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: btd-python
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: A python client for Baltic Transparency Data
5
5
  Author-email: Sarunas Jurgilas <jurgilassarunas@yahoo.com>
6
6
  License: MIT
@@ -1 +1 @@
1
- from .source import BalticTransparencyClient
1
+ from .source import BalticTransparencyClient
@@ -96,11 +96,41 @@ class BalticTransparencyClient:
96
96
  """Get df of TSO procured balancing reserve prices (EUR/MW)."""
97
97
  response = self._get_data(api_id='price_procured_reserves')
98
98
  return self._unravel_response(response, levels=3)
99
+
100
+ def procured_balancing_reserve_volumes_df(self) -> pd.DataFrame:
101
+ """Get df of TSO procured balancing reserve volumes (MW)."""
102
+ response = self._get_data(api_id='procured_reserves')
103
+ return self._unravel_response(response, levels=3)
99
104
 
100
105
  def cbmp_df(self) -> pd.DataFrame:
101
106
  """Get df of cross border marginal prices (EUR/MWh)."""
102
107
  response = self._get_data(api_id='cross_border_marginal_price')
103
108
  return self._unravel_response(response, levels=3)
109
+
110
+ def afrr_bid_prices_df(self) -> pd.DataFrame:
111
+ """Get df of offered min/max afrr prices."""
112
+ response = self._get_data(api_id='afrr_bid_prices')
113
+ return self._unravel_response(response, levels=3)
114
+
115
+ def da_mfrr_bid_prices_df(self) -> pd.DataFrame:
116
+ """Get df of offered min/max direct mfrr prices."""
117
+ response = self._get_data(api_id='da_mfrr_bid_prices')
118
+ return self._unravel_response(response, levels=3)
119
+
120
+ def sa_mfrr_bid_prices_df(self) -> pd.DataFrame:
121
+ """Get df of offered min/max scheduled mfrr prices."""
122
+ response = self._get_data(api_id='sa_mfrr_bid_prices')
123
+ return self._unravel_response(response, levels=3)
124
+
125
+ def da_mfrr_bid_volumes_df(self) -> pd.DataFrame:
126
+ """Get df of offered direct mfrr volumes."""
127
+ response = self._get_data(api_id='da_mfrr_bid_volumes')
128
+ return self._unravel_response(response, levels=2)
129
+
130
+ def sa_mfrr_bid_volumes_df(self) -> pd.DataFrame:
131
+ """Get df of offered scheduled mfrr volumes."""
132
+ response = self._get_data(api_id='sa_mfrr_bid_volumes')
133
+ return self._unravel_response(response, levels=2)
104
134
 
105
135
  def imbalance_volumes_df(self) -> pd.DataFrame:
106
136
  """Get df of imbalance volumes for each country (MWh)."""
@@ -132,6 +162,11 @@ class BalticTransparencyClient:
132
162
  response = self._get_data(api_id='imbalance_prices')
133
163
  return self._unravel_response(response, levels=1)
134
164
 
165
+ def neutrality_component_df(self) -> pd.DataFrame:
166
+ """Get df the neutrality components."""
167
+ response = self._get_data(api_id='neutrality_component')
168
+ return self._unravel_response(response, levels=1)
169
+
135
170
  def local_marginal_prices_df(self) -> pd.DataFrame:
136
171
  """Get df of local marginal prices."""
137
172
  response = self._get_data(api_id='local_marginal_price')
@@ -175,4 +210,4 @@ class BalticTransparencyClient:
175
210
  df = df.dropna()
176
211
  df['Baltics_net'] = df.sum(axis=1)
177
212
  df *= 4
178
- return df
213
+ return df
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: btd-python
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: A python client for Baltic Transparency Data
5
5
  Author-email: Sarunas Jurgilas <jurgilassarunas@yahoo.com>
6
6
  License: MIT
@@ -1,19 +1,19 @@
1
- [project]
2
- name = "btd-python" # This will be your pip install name
3
- version = "0.1.0"
4
- description = "A python client for Baltic Transparency Data"
5
- authors = [
6
- { name = "Sarunas Jurgilas", email = "jurgilassarunas@yahoo.com" }
7
- ]
8
- readme = "README.md"
9
- license = { text = "MIT" }
10
- requires-python = ">=3.7"
11
- dependencies = [] # Add any dependencies here, like requests, etc.
12
-
13
- [project.urls]
14
- Homepage = "https://github.com/sarunasign/btd-python"
15
- Repository = "https://github.com/sarunasign/btd-python"
16
-
17
- [build-system]
18
- requires = ["setuptools", "wheel"]
19
- build-backend = "setuptools.build_meta"
1
+ [project]
2
+ name = "btd-python" # This will be your pip install name
3
+ version = "0.1.1"
4
+ description = "A python client for Baltic Transparency Data"
5
+ authors = [
6
+ { name = "Sarunas Jurgilas", email = "jurgilassarunas@yahoo.com" }
7
+ ]
8
+ readme = "README.md"
9
+ license = { text = "MIT" }
10
+ requires-python = ">=3.7"
11
+ dependencies = [] # Add any dependencies here, like requests, etc.
12
+
13
+ [project.urls]
14
+ Homepage = "https://github.com/sarunasign/btd-python"
15
+ Repository = "https://github.com/sarunasign/btd-python"
16
+
17
+ [build-system]
18
+ requires = ["setuptools", "wheel"]
19
+ build-backend = "setuptools.build_meta"
File without changes