pygazpar 1.3.0a11__tar.gz → 1.3.0a12__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. pygazpar-1.3.0a12/CHANGELOG.md +225 -0
  2. {pygazpar-1.3.0a11/pygazpar.egg-info → pygazpar-1.3.0a12}/PKG-INFO +9 -1
  3. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/pygazpar/datasource.py +7 -7
  4. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/pygazpar/excelparser.py +1 -1
  5. pygazpar-1.3.0a12/pygazpar/version.py +1 -0
  6. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12/pygazpar.egg-info}/PKG-INFO +9 -1
  7. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/pygazpar.egg-info/SOURCES.txt +1 -0
  8. pygazpar-1.3.0a11/pygazpar/version.py +0 -1
  9. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/LICENSE.md +0 -0
  10. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/MANIFEST.in +0 -0
  11. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/README.md +0 -0
  12. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/pygazpar/__init__.py +0 -0
  13. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/pygazpar/__main__.py +0 -0
  14. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/pygazpar/client.py +0 -0
  15. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/pygazpar/enum.py +0 -0
  16. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/pygazpar/jsonparser.py +0 -0
  17. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/pygazpar/resources/daily_data_sample.json +0 -0
  18. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/pygazpar/resources/hourly_data_sample.json +0 -0
  19. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/pygazpar/resources/monthly_data_sample.json +0 -0
  20. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/pygazpar/resources/weekly_data_sample.json +0 -0
  21. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/pygazpar/resources/yearly_data_sample.json +0 -0
  22. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/pygazpar.egg-info/dependency_links.txt +0 -0
  23. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/pygazpar.egg-info/entry_points.txt +0 -0
  24. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/pygazpar.egg-info/not-zip-safe +0 -0
  25. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/pygazpar.egg-info/requires.txt +0 -0
  26. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/pygazpar.egg-info/top_level.txt +0 -0
  27. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/samples/__init__.py +0 -0
  28. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/samples/excelSample.py +0 -0
  29. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/samples/jsonSample.py +0 -0
  30. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/samples/testSample.py +0 -0
  31. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/setup.cfg +0 -0
  32. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/setup.py +0 -0
  33. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/tests/__init__.py +0 -0
  34. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/tests/test_client.py +0 -0
  35. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/tests/test_datafileparser.py +0 -0
  36. {pygazpar-1.3.0a11 → pygazpar-1.3.0a12}/tests/test_datasource.py +0 -0
@@ -0,0 +1,225 @@
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+
4
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
+
7
+ ## [1.2.4](https://github.com/ssenart/PyGazpar/compare/1.2.4...1.2.3) - 2024-10-09
8
+
9
+ ### Fixed
10
+ - [#72](https://github.com/ssenart/PyGazpar/issues/72): Remove the warning message "UserWarning: Boolean Series key will be reindexed to match DataFrame index. df = pd.concat([df[(df["count"] >= 7)], df.tail(1)[df["count"] < 7]])".
11
+
12
+ ## [1.2.3](https://github.com/ssenart/PyGazpar/compare/1.2.3...1.2.1) - 2024-10-05
13
+
14
+ ### Added
15
+ - [#70](https://github.com/ssenart/PyGazpar/issues/70): Add Python 3.12 support.
16
+
17
+ ## [1.2.2](https://github.com/ssenart/PyGazpar/compare/1.2.1...1.2.2) - 2024-05-08
18
+
19
+ ### Fixed
20
+ - [#65](https://github.com/ssenart/PyGazpar/issues/65): [Bug] PermissionError happens when loading data from Excel file.
21
+
22
+ ## [1.2.1](https://github.com/ssenart/PyGazpar/compare/1.2.0...1.2.1) - 2024-05-04
23
+
24
+ ### Fixed
25
+ - [#64](https://github.com/ssenart/PyGazpar/issues/64): [Issue] Captcha failed issue.
26
+
27
+ - [#63](https://github.com/ssenart/PyGazpar/issues/63): [Bug] If the latest received consumption is Sunday, then the last weekly period is duplicated.
28
+
29
+ ## [1.2.0](https://github.com/ssenart/PyGazpar/compare/1.1.6...1.2.0) - 2022-12-16
30
+
31
+ ### Changed
32
+ - [#59](https://github.com/ssenart/PyGazpar/issues/59): [Feature] Support both Excel and Json data source format from GrDF site.
33
+
34
+ - [#60](https://github.com/ssenart/PyGazpar/issues/60): [Feature] Permit to load data at multiple frequencies with one method call.
35
+
36
+ ### Fixed
37
+ - [#47](https://github.com/ssenart/PyGazpar/issues/47): [Bug] No temperature field available.
38
+
39
+ - [#58](https://github.com/ssenart/PyGazpar/issues/58): [Issue] No data update - GrDF web site is half broken - Download button does not work anymore.
40
+
41
+ ## [1.1.6](https://github.com/ssenart/PyGazpar/compare/1.1.5...1.1.6) - 2022-11-16
42
+ ### Fixed
43
+ - [#55](https://github.com/ssenart/PyGazpar/issues/55): Problème de connexion.
44
+
45
+ ## [1.1.5](https://github.com/ssenart/PyGazpar/compare/1.1.4...1.1.5) - 2022-07-11
46
+ ### Fixed
47
+ - [#49](https://github.com/ssenart/PyGazpar/issues/49): Authentication failure.
48
+
49
+ ## [1.1.4](https://github.com/ssenart/PyGazpar/compare/1.1.2...1.1.4) - 2022-01-18
50
+ ### Changed
51
+ - [#43](https://github.com/ssenart/PyGazpar/issues/43): Downloaded Excel file name has changed from Donnees_informatives_PCE_$dateDebut_$dateFin.xlsx to Donnees_informatives_$numeroPCE_$dateDebut_$dateFin.xlsx.
52
+
53
+ ## [1.1.2](https://github.com/ssenart/PyGazpar/compare/1.1.1...1.1.2) - 2022-01-08
54
+ ### Fixed
55
+ - [#39](https://github.com/ssenart/PyGazpar/issues/39): NameError: name 'Frequency' is not defined (thanks [nicolas-r](https://github.com/nicolas-r)).
56
+ - Numéro PCE pas forcément un nombre: Le numéro PCE de mon compteur commence par un 0 et lorsque j'essaie de récupérer mes relevés avec PyGazpar, une erreur de l'API est renvoyée. Le numéro PCE ne doit donc pas être converti en int lorsque il est passé en paramètre mais doit être une string (thanks [maelgangloff](https://github.com/maelgangloff)).
57
+
58
+ ## [1.1.1](https://github.com/ssenart/PyGazpar/compare/1.1.0...1.1.1) - 2021-12-02
59
+ ### Changed
60
+ - Exact same version as 1.1.0 except that 1.1.0 has not been published on Pypi repository.
61
+
62
+ ## [1.1.0](https://github.com/ssenart/PyGazpar/compare/1.0.2...1.1.0) - 2021-12-02
63
+ ### Changed
64
+ - Remove Selenium usage and use simple Web request for login and data retrieval.
65
+
66
+ ## [1.0.2](https://github.com/ssenart/PyGazpar/compare/1.0.1...1.0.2) - 2021-11-25
67
+ ### Fixed
68
+ - Fix broken command line pygazpar caused by adding the new lastNDays parameter.
69
+ - Fix the error : ValueError: could not convert string to float: 'Index de début de période (m3)'. It occurs because the records in the Excel file now starts at line 10 instead of line 8 before (thanks to [DEFAYArnaud](https://github.com/DEFAYArnaud) for having spotted the issue and bringing the fix).
70
+
71
+ ### Changed
72
+ - In the Excel file, if a cell is empty, then no corresponding key will be inserted in the result dictionary (before we inserted a key with an empty string).
73
+
74
+ ## [1.0.1](https://github.com/ssenart/PyGazpar/compare/1.0.0...1.0.1) - 2021-11-24
75
+ ### Fixed
76
+ - Fix typo warning from Pylance preventing 1.0.0 to be published.
77
+
78
+ ## [1.0.0](https://github.com/ssenart/PyGazpar/compare/0.2.0...1.0.0) - 2021-11-24
79
+ ### Added
80
+ - New lastNDays parameter to query data only over the last N days period.
81
+
82
+ ### Fixed
83
+ - [#18](https://github.com/ssenart/PyGazpar/issues/18): PyGazpar broken since GRDF Monespace has been upgraded to a new version.
84
+
85
+ ## [0.2.0](https://github.com/ssenart/PyGazpar/compare/0.1.27...0.2.0) - 2021-04-21
86
+ ### Added
87
+ - [#12](https://github.com/ssenart/PyGazpar/issues/10): Be able to retrieve consumption not only on a daily basis, but weekly and monthly:
88
+ - API : Add a new parameter 'meterReadingFrequency' to Client that accepts enumeration: Frequency.DAILY, Frequency.WEEKLY or Frequency.MONTHLY.
89
+ - Command line : Add a new argument '--frequency' that accepts values : DAILY, WEEKLY or MONTHLY.
90
+ - Be able to test using offline data :
91
+ - API : Add a new parameter 'testMode' to Clients used to specify whether we want to get some live data (testMode=False) and static testing data (testMode=True).
92
+ - Command line : Add a new argument '--testMode' (True if specified and False by default).
93
+
94
+ ### Changed
95
+ - Some ouput energy property names have changed:
96
+ - 'date' => 'time_period'.
97
+ - 'converter_factor' => 'converter_factor_kwh/m3'.
98
+ - 'local_temperature' => 'temperature_degC'.
99
+
100
+ ## [0.1.27](https://github.com/ssenart/PyGazpar/compare/0.1.26...0.1.27) - 2021-04-20
101
+ ### Fixed
102
+ - [#10](https://github.com/ssenart/PyGazpar/issues/10) : Does not download data file in tmpdir as expected (instead it is downloaded in the default user Download directory). The previous attempt in version 0.1.26 is a failure. The origin of the bug is that we send a relative tmp directory path to Webdriver. Additionally, this path has to be normalized to the runtime OS (using slash or backslash).
103
+
104
+ ## [0.1.26](https://github.com/ssenart/PyGazpar/compare/0.1.25...0.1.26) - 2021-04-18
105
+ ### Fixed
106
+ - [#10](https://github.com/ssenart/PyGazpar/issues/10) : Does not download data file in tmpdir as expected (instead it is downloaded in the default user Download directory).
107
+
108
+ ### Added
109
+ - A new parameter to drive whether we want Selenium in headless mode or not (mainly for troubleshooting purpose).
110
+
111
+ ## [0.1.25] - 2021-04-15
112
+ ### Fixed
113
+ - Remove useless warning log messages (log message level has been decreased to debug).
114
+
115
+ ## [0.1.24] - 2021-04-14
116
+ ### Added
117
+ - README.md amendment (thanks to pbranly).
118
+
119
+ ## [0.1.23] - 2021-04-09
120
+ ### Changed
121
+ - Final release with CI/CD workflow improvement.
122
+
123
+ ## [0.1.22] - 2021-04-09
124
+ ### Changed
125
+ - Improve CI/CD workflow.
126
+
127
+ ## [0.1.21] - 2021-04-07
128
+ ### Changed
129
+ - Cleanup some codes managing Privacy Conditions popup.
130
+
131
+ ## [0.1.20] - 2021-04-07
132
+ ### Changed
133
+ - Close an eventual Privacy Conditions popup just before clicking the daily button (instead of Cookie banner).
134
+
135
+ ## [0.1.19] - 2021-04-06
136
+ ### Added
137
+ - Close an eventual Cookie popup just before clicking the daily button.
138
+ - Add log messages and screenshot capture around click() and send_keys() methods.
139
+
140
+ ## [0.1.18] - 2021-04-05
141
+ ### Fixed
142
+ - Typo in logger usage.
143
+
144
+ ## [0.1.17] - 2021-04-05
145
+ ### Fixed
146
+ - Logger name must be different in each instance. Using __name__ is a good practice, we can get the module hierarchy.
147
+
148
+ ## [0.1.16] - 2021-04-05
149
+ ### Fixed
150
+ - Logger 'pygazpar' initialization must be done inside the main program and not inside the library.
151
+
152
+ ## [0.1.15] - 2021-04-05
153
+ ### Added
154
+ - Many log message to help debugging if GrDF site changes something : pygazpar.log
155
+ - Take a screenshot of the corresponding page where a selenium command fails : error_screenshot.png.
156
+
157
+ ## [0.1.14] - 2020-09-23
158
+ ### Fixed
159
+ - GrDF survey popup has to be closed at the home page.
160
+ - GrDF Assistant popup may hide the Download button. We have to close it.
161
+ - GrDF bottom banner that invite to accept cookies may also hide the Download button. We have to accept it.
162
+
163
+ ### Added
164
+ - A new parameter 'lastNRows' to get only the last N most recent records.
165
+
166
+ ## [0.1.13] - 2020-06-30
167
+ ### Fixed
168
+ - GrDF data retrieval from Excel file is not limited to the 1000 first rows any more.
169
+
170
+ ## [0.1.12] - 2020-06-30
171
+ ### Fixed
172
+ - The previous 0.1.11 is not sufficient. Hence, 2 new changes : First, make configurable the waiting time so the user can adapt to its context usage.
173
+ Second, the condition on clicking on Download button is now based on the corresponding event and not anymore on its identifier.
174
+
175
+ ## [0.1.11] - 2020-06-29
176
+ ### Fixed
177
+ - When GrDF Web site is slower than usual, the client may not wait enough time for pages to load and miss to reach the data file.
178
+ It occurs with the page containing 'Jour' button which is very long to load (I increase the wait to load time from 5s to 30s).
179
+
180
+ ## [0.1.10] - 2020-06-03
181
+ ### Fixed
182
+ - Extract rows from Excel until line 1000 (instead of 365 as before).
183
+
184
+ ## [0.1.9] - 2019-08-31
185
+ ### Fixed
186
+ - WebDriver window size must be large enough to display all clickable components.
187
+
188
+ ## [0.1.8] - 2019-08-31
189
+ ### Changed
190
+ - Use PropertyNameEnum type to store all property names.
191
+
192
+ ## [0.1.7] - 2019-08-29
193
+ ### Added
194
+ - Add wait_time option to control how much time the library has to wait for Web page element to load (see https://selenium-python.readthedocs.io/waits.html for details).
195
+ - Add LoginError exception raised when PyGazpar is unable to sign in the GrDF Web site with the given username/password.
196
+ - Refactor all data property names.
197
+
198
+ ## [0.1.6] - 2019-08-26
199
+ ### Added
200
+ - Add README.md and CHANGELOG.md.
201
+ - Add Client.data() method to get the updated data.
202
+
203
+ ### Removed
204
+ - Remove Client.data property to get the updated data. Replaced with Client.__data private property.
205
+
206
+ [0.1.25]: https://github.com/ssenart/PyGazpar/compare/0.1.24...0.1.25
207
+ [0.1.24]: https://github.com/ssenart/PyGazpar/compare/0.1.23...0.1.24
208
+ [0.1.23]: https://github.com/ssenart/PyGazpar/compare/0.1.22...0.1.23
209
+ [0.1.22]: https://github.com/ssenart/PyGazpar/compare/0.1.21...0.1.22
210
+ [0.1.21]: https://github.com/ssenart/PyGazpar/compare/0.1.20...0.1.21
211
+ [0.1.20]: https://github.com/ssenart/PyGazpar/compare/0.1.19...0.1.20
212
+ [0.1.19]: https://github.com/ssenart/PyGazpar/compare/0.1.17...0.1.19
213
+ [0.1.18]: https://github.com/ssenart/PyGazpar/compare/0.1.17...0.1.18
214
+ [0.1.17]: https://github.com/ssenart/PyGazpar/compare/0.1.16...0.1.17
215
+ [0.1.16]: https://github.com/ssenart/PyGazpar/compare/0.1.15...0.1.16
216
+ [0.1.15]: https://github.com/ssenart/PyGazpar/compare/0.1.14...0.1.15
217
+ [0.1.14]: https://github.com/ssenart/PyGazpar/compare/0.1.13...0.1.14
218
+ [0.1.13]: https://github.com/ssenart/PyGazpar/compare/0.1.12...0.1.13
219
+ [0.1.12]: https://github.com/ssenart/PyGazpar/compare/0.1.11...0.1.12
220
+ [0.1.11]: https://github.com/ssenart/PyGazpar/compare/0.1.10...0.1.11
221
+ [0.1.10]: https://github.com/ssenart/PyGazpar/compare/0.1.9...0.1.10
222
+ [0.1.9]: https://github.com/ssenart/PyGazpar/compare/0.1.7...0.1.9
223
+ [0.1.8]: https://github.com/ssenart/PyGazpar/compare/0.1.7...0.1.8
224
+ [0.1.7]: https://github.com/ssenart/PyGazpar/compare/0.1.6...0.1.7
225
+ [0.1.6]: https://github.com/ssenart/PyGazpar/compare/0.1.5...0.1.6
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pygazpar
3
- Version: 1.3.0a11
3
+ Version: 1.3.0a12
4
4
  Summary: Retrieve gas consumption from GrDF web site (French Gas Company)
5
5
  Home-page: https://github.com/ssenart/pygazpar
6
6
  Download-URL: https://github.com/ssenart/pygazpar/releases
@@ -26,6 +26,9 @@ Classifier: Programming Language :: Python :: 3.12
26
26
  Requires-Python: >=3.7
27
27
  Description-Content-Type: text/markdown
28
28
  License-File: LICENSE.md
29
+ Requires-Dist: openpyxl>=2.6.3
30
+ Requires-Dist: requests>=2.26.0
31
+ Requires-Dist: pandas
29
32
 
30
33
  # PyGazpar
31
34
 
@@ -217,6 +220,11 @@ All notable changes to this project will be documented in this file.
217
220
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
218
221
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
219
222
 
223
+ ## [1.2.4](https://github.com/ssenart/PyGazpar/compare/1.2.4...1.2.3) - 2024-10-09
224
+
225
+ ### Fixed
226
+ - [#72](https://github.com/ssenart/PyGazpar/issues/72): Remove the warning message "UserWarning: Boolean Series key will be reindexed to match DataFrame index. df = pd.concat([df[(df["count"] >= 7)], df.tail(1)[df["count"] < 7]])".
227
+
220
228
  ## [1.2.3](https://github.com/ssenart/PyGazpar/compare/1.2.3...1.2.1) - 2024-10-05
221
229
 
222
230
  ### Added
@@ -94,14 +94,14 @@ class WebDataSource(IDataSource):
94
94
 
95
95
  params = json.loads(AUTH_TOKEN_PARAMS.format(session_token))
96
96
 
97
- response = session.get(AUTH_TOKEN_URL, params=params, allow_redirects=True, cookies=jar)
97
+ response = session.get(AUTH_TOKEN_URL, params=params, allow_redirects=True, cookies=jar) # type: ignore
98
98
 
99
99
  if response.status_code != 200:
100
100
  raise Exception(f"An error occurred while getting the auth token. Status code: {response.status_code} - {response.text}")
101
101
 
102
102
  auth_token = session.cookies.get("auth_token", domain="monespace.grdf.fr")
103
103
 
104
- return auth_token
104
+ return auth_token # type: ignore
105
105
 
106
106
  @abstractmethod
107
107
  def _loadFromSession(self, auth_token: str, pceIdentifier: str, startDate: date, endDate: date, frequencies: Optional[List[Frequency]] = None) -> MeterReadingsByFrequency:
@@ -211,7 +211,7 @@ class ExcelWebDataSource(WebDataSource):
211
211
 
212
212
  response = session.get(url)
213
213
 
214
- if "text/html" in response.headers.get("Content-Type"):
214
+ if "text/html" in response.headers.get("Content-Type"): # type: ignore
215
215
  raise Exception("An error occurred while loading data. Please check your credentials.")
216
216
 
217
217
  if response.status_code != 200:
@@ -297,7 +297,7 @@ class JsonWebDataSource(WebDataSource):
297
297
  try:
298
298
  response = session.get(downloadUrl)
299
299
 
300
- if "text/html" in response.headers.get("Content-Type"):
300
+ if "text/html" in response.headers.get("Content-Type"): # type: ignore
301
301
  raise Exception("An error occurred while loading data. Please check your credentials.")
302
302
 
303
303
  if response.status_code != 200:
@@ -466,7 +466,7 @@ class FrequencyConverter:
466
466
  df = df.sort_values(by=['first_day_of_week'])
467
467
 
468
468
  # Select rows where we have a full week (7 days) except for the current week.
469
- df = pd.concat([df[(df["count"] >= 7)], df.tail(1)[df["count"] < 7]])
469
+ df = pd.concat([df[(df["count"] >= 7)], df.tail(1)[df.tail(1)["count"] < 7]])
470
470
 
471
471
  # Select target columns.
472
472
  df = df[["time_period", "start_index_m3", "end_index_m3", "volume_m3", "energy_kwh", "timestamp"]]
@@ -494,7 +494,7 @@ class FrequencyConverter:
494
494
  df = df.sort_values(by=['first_day_of_month'])
495
495
 
496
496
  # Select rows where we have a full month (more than 27 days) except for the current month.
497
- df = pd.concat([df[(df["count"] >= 28)], df.tail(1)[df["count"] < 28]])
497
+ df = pd.concat([df[(df["count"] >= 28)], df.tail(1)[df.tail(1)["count"] < 28]])
498
498
 
499
499
  # Rename columns for their target names.
500
500
  df = df.rename(columns={"month_year": "time_period"})
@@ -525,7 +525,7 @@ class FrequencyConverter:
525
525
  df = df.sort_values(by=['year'])
526
526
 
527
527
  # Select rows where we have almost a full year (more than 360) except for the current year.
528
- df = pd.concat([df[(df["count"] >= 360)], df.tail(1)[df["count"] < 360]])
528
+ df = pd.concat([df[(df["count"] >= 360)], df.tail(1)[df.tail(1)["count"] < 360]])
529
529
 
530
530
  # Rename columns for their target names.
531
531
  df = df.rename(columns={"year": "time_period"})
@@ -33,7 +33,7 @@ class ExcelParser:
33
33
 
34
34
  worksheet = workbook.active
35
35
 
36
- res = parseByFrequency[dataReadingFrequency](worksheet)
36
+ res = parseByFrequency[dataReadingFrequency](worksheet) # type: ignore
37
37
 
38
38
  workbook.close()
39
39
 
@@ -0,0 +1 @@
1
+ __version__ = "1.3.0a12"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pygazpar
3
- Version: 1.3.0a11
3
+ Version: 1.3.0a12
4
4
  Summary: Retrieve gas consumption from GrDF web site (French Gas Company)
5
5
  Home-page: https://github.com/ssenart/pygazpar
6
6
  Download-URL: https://github.com/ssenart/pygazpar/releases
@@ -26,6 +26,9 @@ Classifier: Programming Language :: Python :: 3.12
26
26
  Requires-Python: >=3.7
27
27
  Description-Content-Type: text/markdown
28
28
  License-File: LICENSE.md
29
+ Requires-Dist: openpyxl>=2.6.3
30
+ Requires-Dist: requests>=2.26.0
31
+ Requires-Dist: pandas
29
32
 
30
33
  # PyGazpar
31
34
 
@@ -217,6 +220,11 @@ All notable changes to this project will be documented in this file.
217
220
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
218
221
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
219
222
 
223
+ ## [1.2.4](https://github.com/ssenart/PyGazpar/compare/1.2.4...1.2.3) - 2024-10-09
224
+
225
+ ### Fixed
226
+ - [#72](https://github.com/ssenart/PyGazpar/issues/72): Remove the warning message "UserWarning: Boolean Series key will be reindexed to match DataFrame index. df = pd.concat([df[(df["count"] >= 7)], df.tail(1)[df["count"] < 7]])".
227
+
220
228
  ## [1.2.3](https://github.com/ssenart/PyGazpar/compare/1.2.3...1.2.1) - 2024-10-05
221
229
 
222
230
  ### Added
@@ -1,3 +1,4 @@
1
+ CHANGELOG.md
1
2
  LICENSE.md
2
3
  MANIFEST.in
3
4
  README.md
@@ -1 +0,0 @@
1
- __version__ = "1.3.0a11"
File without changes
File without changes
File without changes
File without changes
File without changes