enerdata 1.1.5__tar.gz → 1.2.0__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 (40) hide show
  1. enerdata-1.2.0/PKG-INFO +27 -0
  2. {enerdata-1.1.5 → enerdata-1.2.0}/README.rst +2 -2
  3. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/__init__.py +1 -1
  4. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/profiles/profile.py +2 -2
  5. enerdata-1.2.0/enerdata.egg-info/PKG-INFO +27 -0
  6. enerdata-1.2.0/enerdata.egg-info/requires.txt +13 -0
  7. {enerdata-1.1.5 → enerdata-1.2.0}/requirements-dev.txt +1 -1
  8. enerdata-1.2.0/requirements.txt +9 -0
  9. enerdata-1.1.5/PKG-INFO +0 -11
  10. enerdata-1.1.5/enerdata.egg-info/PKG-INFO +0 -11
  11. enerdata-1.1.5/enerdata.egg-info/requires.txt +0 -7
  12. enerdata-1.1.5/requirements.txt +0 -7
  13. {enerdata-1.1.5 → enerdata-1.2.0}/LICENSE +0 -0
  14. {enerdata-1.1.5 → enerdata-1.2.0}/MANIFEST.in +0 -0
  15. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/calendars/__init__.py +0 -0
  16. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/contracts/__init__.py +0 -0
  17. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/contracts/contract.py +0 -0
  18. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/contracts/electrical_seasons.py +0 -0
  19. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/contracts/normalized_power.py +0 -0
  20. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/contracts/tariff.py +0 -0
  21. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/cups/__init__.py +0 -0
  22. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/cups/cups.py +0 -0
  23. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/datetime/__init__.py +0 -0
  24. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/datetime/holidays.py +0 -0
  25. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/datetime/solar_hour.py +0 -0
  26. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/datetime/station.py +0 -0
  27. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/datetime/timezone.py +0 -0
  28. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/datetime/work_and_holidays.py +0 -0
  29. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/metering/__init__.py +0 -0
  30. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/metering/measure.py +0 -0
  31. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/metering/meter.py +0 -0
  32. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/profiles/__init__.py +0 -0
  33. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/profiles/data/coefficients_HIDRO_RE.csv +0 -0
  34. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata/profiles/data/coefficients_RE.xlsx +0 -0
  35. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata.egg-info/SOURCES.txt +0 -0
  36. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata.egg-info/dependency_links.txt +0 -0
  37. {enerdata-1.1.5 → enerdata-1.2.0}/enerdata.egg-info/top_level.txt +0 -0
  38. {enerdata-1.1.5 → enerdata-1.2.0}/setup.cfg +0 -0
  39. {enerdata-1.1.5 → enerdata-1.2.0}/setup.py +0 -0
  40. {enerdata-1.1.5 → enerdata-1.2.0}/spec/__init__.py +0 -0
@@ -0,0 +1,27 @@
1
+ Metadata-Version: 2.4
2
+ Name: enerdata
3
+ Version: 1.2.0
4
+ Summary: A set of energy models
5
+ Home-page: http://code.gisce.net
6
+ Author: GISCE-TI, S.L.
7
+ Author-email: devel@gisce.net
8
+ License: MIT
9
+ Provides: enerdata
10
+ License-File: LICENSE
11
+ Requires-Dist: pytz
12
+ Requires-Dist: workalendar<8.0.0; python_version <= "2.7.18"
13
+ Requires-Dist: workalendar; python_version > "2.7.18"
14
+ Requires-Dist: pandas<3.0.0,>=0.23.4
15
+ Requires-Dist: requests
16
+ Requires-Dist: sgp4<2.26; python_version <= "2.7.18"
17
+ Requires-Dist: six
18
+ Requires-Dist: xlrd==1.2.0
19
+ Requires-Dist: openpyxl
20
+ Dynamic: author
21
+ Dynamic: author-email
22
+ Dynamic: home-page
23
+ Dynamic: license
24
+ Dynamic: license-file
25
+ Dynamic: provides
26
+ Dynamic: requires-dist
27
+ Dynamic: summary
@@ -7,8 +7,8 @@ A set of energy models
7
7
  .. image:: https://github.com/gisce/enerdata/actions/workflows/python2.7-app.yml/badge.svg
8
8
  :target: https://github.com/gisce/enerdata/actions/workflows/python2.7-app.yml
9
9
 
10
- .. image:: https://github.com/gisce/enerdata/actions/workflows/python3.11-app.yml/badge.svg
11
- :target: https://github.com/gisce/enerdata/actions/workflows/python3.11-app.yml
10
+ .. image:: https://github.com/gisce/enerdata/actions/workflows/python3.13-app.yml/badge.svg
11
+ :target: https://github.com/gisce/enerdata/actions/workflows/python3.13-app.yml
12
12
 
13
13
  .. image:: https://coveralls.io/repos/github/gisce/enerdata/badge.svg?branch=master
14
14
  :target: https://coveralls.io/github/gisce/enerdata?branch=master
@@ -1,2 +1,2 @@
1
1
  __author__ = 'ecarreras'
2
- __version__ = '1.1.5'
2
+ __version__ = '1.2.0'
@@ -364,7 +364,7 @@ class REProfile(object):
364
364
  hour = solar_hour.hour
365
365
  else:
366
366
  hour = 24
367
- coff_value = float(df[df[key] == month][hour])
367
+ coff_value = float(df.loc[df[key] == month, hour].iloc[0])
368
368
  coff = Coefficent(start, {'A': coff_value})
369
369
  cofs.append(coff)
370
370
  start += relativedelta(hours=1)
@@ -432,7 +432,7 @@ class REProfileHydraulic(REProfile):
432
432
  cofs = []
433
433
  while start <= end:
434
434
  month = cls.translate_month[start.month]
435
- coff_value = float(df[df['MES'] == month]['Factor de funcionamiento'])
435
+ coff_value = float(df.loc[df['MES'] == month, 'Factor de funcionamiento'].values.item())
436
436
  coff = Coefficent(start, {'A': coff_value})
437
437
  cofs.append(coff)
438
438
  start += relativedelta(hours=1)
@@ -0,0 +1,27 @@
1
+ Metadata-Version: 2.4
2
+ Name: enerdata
3
+ Version: 1.2.0
4
+ Summary: A set of energy models
5
+ Home-page: http://code.gisce.net
6
+ Author: GISCE-TI, S.L.
7
+ Author-email: devel@gisce.net
8
+ License: MIT
9
+ Provides: enerdata
10
+ License-File: LICENSE
11
+ Requires-Dist: pytz
12
+ Requires-Dist: workalendar<8.0.0; python_version <= "2.7.18"
13
+ Requires-Dist: workalendar; python_version > "2.7.18"
14
+ Requires-Dist: pandas<3.0.0,>=0.23.4
15
+ Requires-Dist: requests
16
+ Requires-Dist: sgp4<2.26; python_version <= "2.7.18"
17
+ Requires-Dist: six
18
+ Requires-Dist: xlrd==1.2.0
19
+ Requires-Dist: openpyxl
20
+ Dynamic: author
21
+ Dynamic: author-email
22
+ Dynamic: home-page
23
+ Dynamic: license
24
+ Dynamic: license-file
25
+ Dynamic: provides
26
+ Dynamic: requires-dist
27
+ Dynamic: summary
@@ -0,0 +1,13 @@
1
+ pytz
2
+ pandas<3.0.0,>=0.23.4
3
+ requests
4
+ six
5
+ xlrd==1.2.0
6
+ openpyxl
7
+
8
+ [:python_version <= "2.7.18"]
9
+ workalendar<8.0.0
10
+ sgp4<2.26
11
+
12
+ [:python_version > "2.7.18"]
13
+ workalendar
@@ -1,4 +1,4 @@
1
1
  mamba<0.11.0;python_version<="2.7.18"
2
- mamba;python_version>"2.7.18"
2
+ mamba==0.11.3;python_version>"2.7.18"
3
3
  expects
4
4
  vcrpy
@@ -0,0 +1,9 @@
1
+ pytz
2
+ workalendar<8.0.0;python_version<="2.7.18"
3
+ workalendar;python_version>"2.7.18"
4
+ pandas>=0.23.4,<3.0.0
5
+ requests
6
+ sgp4<2.26;python_version<="2.7.18"
7
+ six
8
+ xlrd==1.2.0
9
+ openpyxl
enerdata-1.1.5/PKG-INFO DELETED
@@ -1,11 +0,0 @@
1
- Metadata-Version: 1.1
2
- Name: enerdata
3
- Version: 1.1.5
4
- Summary: A set of energy models
5
- Home-page: http://code.gisce.net
6
- Author: GISCE-TI, S.L.
7
- Author-email: devel@gisce.net
8
- License: MIT
9
- Description: UNKNOWN
10
- Platform: UNKNOWN
11
- Provides: enerdata
@@ -1,11 +0,0 @@
1
- Metadata-Version: 1.1
2
- Name: enerdata
3
- Version: 1.1.5
4
- Summary: A set of energy models
5
- Home-page: http://code.gisce.net
6
- Author: GISCE-TI, S.L.
7
- Author-email: devel@gisce.net
8
- License: MIT
9
- Description: UNKNOWN
10
- Platform: UNKNOWN
11
- Provides: enerdata
@@ -1,7 +0,0 @@
1
- pytz
2
- workalendar<8.0.0
3
- pandas<3.0.0,>=0.23.4
4
- requests
5
- six
6
- xlrd==1.2.0
7
- openpyxl
@@ -1,7 +0,0 @@
1
- pytz
2
- workalendar<8.0.0
3
- pandas>=0.23.4,<3.0.0
4
- requests
5
- six
6
- xlrd==1.2.0
7
- openpyxl
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes