python-esios 0.2.6__tar.gz → 0.2.7__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
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: python-esios
3
- Version: 0.2.6
3
+ Version: 0.2.7
4
4
  Summary: A Python wrapper for the ESIOS API
5
5
  Home-page: https://github.com/datons/python-esios
6
6
  Author: Jesús López
@@ -13,6 +13,16 @@ Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
14
  Requires-Dist: requests
15
15
  Requires-Dist: pandas
16
+ Dynamic: author
17
+ Dynamic: author-email
18
+ Dynamic: classifier
19
+ Dynamic: description
20
+ Dynamic: description-content-type
21
+ Dynamic: home-page
22
+ Dynamic: license-file
23
+ Dynamic: requires-dist
24
+ Dynamic: requires-python
25
+ Dynamic: summary
16
26
 
17
27
  # A Python library to download preprocessed data from the ESIOS API (REE)
18
28
 
@@ -16,7 +16,8 @@ class Indicators:
16
16
 
17
17
  indicators = data.get('indicators', [])
18
18
  for indicator in indicators:
19
- indicator['description'] = self._html_to_text(indicator['description'])
19
+ if 'description' in indicator:
20
+ indicator['description'] = self._html_to_text(indicator['description'])
20
21
  return pd.DataFrame(indicators)
21
22
 
22
23
  def select(self, id):
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: python-esios
3
- Version: 0.2.6
3
+ Version: 0.2.7
4
4
  Summary: A Python wrapper for the ESIOS API
5
5
  Home-page: https://github.com/datons/python-esios
6
6
  Author: Jesús López
@@ -13,6 +13,16 @@ Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
14
  Requires-Dist: requests
15
15
  Requires-Dist: pandas
16
+ Dynamic: author
17
+ Dynamic: author-email
18
+ Dynamic: classifier
19
+ Dynamic: description
20
+ Dynamic: description-content-type
21
+ Dynamic: home-page
22
+ Dynamic: license-file
23
+ Dynamic: requires-dist
24
+ Dynamic: requires-python
25
+ Dynamic: summary
16
26
 
17
27
  # A Python library to download preprocessed data from the ESIOS API (REE)
18
28
 
@@ -8,7 +8,7 @@ long_description = (this_directory / "README.md").read_text(encoding="utf-8")
8
8
 
9
9
  setup(
10
10
  name="python-esios",
11
- version="0.2.6",
11
+ version="0.2.7",
12
12
  packages=find_packages(),
13
13
  install_requires=[
14
14
  "requests",
File without changes
File without changes
File without changes