ebm 0.99.5__tar.gz → 0.99.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.
Files changed (89) hide show
  1. {ebm-0.99.5/ebm.egg-info → ebm-0.99.7}/PKG-INFO +26 -21
  2. {ebm-0.99.5 → ebm-0.99.7}/README.md +22 -8
  3. {ebm-0.99.5 → ebm-0.99.7}/ebm/__main__.py +2 -0
  4. ebm-0.99.7/ebm/__version__.py +1 -0
  5. {ebm-0.99.5 → ebm-0.99.7/ebm.egg-info}/PKG-INFO +26 -21
  6. {ebm-0.99.5 → ebm-0.99.7}/ebm.egg-info/requires.txt +1 -1
  7. {ebm-0.99.5 → ebm-0.99.7}/pyproject.toml +4 -20
  8. ebm-0.99.5/ebm/__version__.py +0 -1
  9. {ebm-0.99.5 → ebm-0.99.7}/LICENSE +0 -0
  10. {ebm-0.99.5 → ebm-0.99.7}/MANIFEST.in +0 -0
  11. {ebm-0.99.5 → ebm-0.99.7}/ebm/__init__.py +0 -0
  12. {ebm-0.99.5 → ebm-0.99.7}/ebm/cmd/__init__.py +0 -0
  13. {ebm-0.99.5 → ebm-0.99.7}/ebm/cmd/calibrate.py +0 -0
  14. {ebm-0.99.5 → ebm-0.99.7}/ebm/cmd/calibrate_excel_com_io.py +0 -0
  15. {ebm-0.99.5 → ebm-0.99.7}/ebm/cmd/heating_systems_by_year.py +0 -0
  16. {ebm-0.99.5 → ebm-0.99.7}/ebm/cmd/helpers.py +0 -0
  17. {ebm-0.99.5 → ebm-0.99.7}/ebm/cmd/initialize.py +0 -0
  18. {ebm-0.99.5 → ebm-0.99.7}/ebm/cmd/migrate.py +0 -0
  19. {ebm-0.99.5 → ebm-0.99.7}/ebm/cmd/pipeline.py +0 -0
  20. {ebm-0.99.5 → ebm-0.99.7}/ebm/cmd/prepare_main.py +0 -0
  21. {ebm-0.99.5 → ebm-0.99.7}/ebm/cmd/result_handler.py +0 -0
  22. {ebm-0.99.5 → ebm-0.99.7}/ebm/cmd/run_calculation.py +0 -0
  23. {ebm-0.99.5 → ebm-0.99.7}/ebm/data/area.csv +0 -0
  24. {ebm-0.99.5 → ebm-0.99.7}/ebm/data/area_new_residential_buildings.csv +0 -0
  25. {ebm-0.99.5 → ebm-0.99.7}/ebm/data/area_per_person.csv +0 -0
  26. {ebm-0.99.5 → ebm-0.99.7}/ebm/data/building_code_parameters.csv +0 -0
  27. {ebm-0.99.5 → ebm-0.99.7}/ebm/data/energy_need_behaviour_factor.csv +0 -0
  28. {ebm-0.99.5 → ebm-0.99.7}/ebm/data/energy_need_improvements.csv +0 -0
  29. {ebm-0.99.5 → ebm-0.99.7}/ebm/data/energy_need_original_condition.csv +0 -0
  30. {ebm-0.99.5 → ebm-0.99.7}/ebm/data/heating_system_efficiencies.csv +0 -0
  31. {ebm-0.99.5 → ebm-0.99.7}/ebm/data/heating_system_forecast.csv +0 -0
  32. {ebm-0.99.5 → ebm-0.99.7}/ebm/data/heating_system_initial_shares.csv +0 -0
  33. {ebm-0.99.5 → ebm-0.99.7}/ebm/data/holiday_home_energy_consumption.csv +0 -0
  34. {ebm-0.99.5 → ebm-0.99.7}/ebm/data/holiday_home_stock.csv +0 -0
  35. {ebm-0.99.5 → ebm-0.99.7}/ebm/data/improvement_building_upgrade.csv +0 -0
  36. {ebm-0.99.5 → ebm-0.99.7}/ebm/data/new_buildings_residential.csv +0 -0
  37. {ebm-0.99.5 → ebm-0.99.7}/ebm/data/population_forecast.csv +0 -0
  38. {ebm-0.99.5 → ebm-0.99.7}/ebm/data/s_curve.csv +0 -0
  39. {ebm-0.99.5 → ebm-0.99.7}/ebm/energy_consumption.py +0 -0
  40. {ebm-0.99.5 → ebm-0.99.7}/ebm/extractors.py +0 -0
  41. {ebm-0.99.5 → ebm-0.99.7}/ebm/heating_system_forecast.py +0 -0
  42. {ebm-0.99.5 → ebm-0.99.7}/ebm/holiday_home_energy.py +0 -0
  43. {ebm-0.99.5 → ebm-0.99.7}/ebm/migrations.py +0 -0
  44. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/__init__.py +0 -0
  45. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/area.py +0 -0
  46. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/bema.py +0 -0
  47. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/building_category.py +0 -0
  48. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/building_condition.py +0 -0
  49. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/calibrate_energy_requirements.py +0 -0
  50. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/calibrate_heating_systems.py +0 -0
  51. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/column_operations.py +0 -0
  52. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/construction.py +0 -0
  53. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/data_classes.py +0 -0
  54. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/database_manager.py +0 -0
  55. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/dataframemodels.py +0 -0
  56. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/defaults.py +0 -0
  57. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/energy_need.py +0 -0
  58. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/energy_need_filter.py +0 -0
  59. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/energy_purpose.py +0 -0
  60. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/energy_requirement.py +0 -0
  61. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/energy_use.py +0 -0
  62. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/enums.py +0 -0
  63. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/exceptions.py +0 -0
  64. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/file_handler.py +0 -0
  65. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/filter_scurve_params.py +0 -0
  66. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/filter_tek.py +0 -0
  67. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/heat_pump.py +0 -0
  68. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/heating_systems.py +0 -0
  69. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/heating_systems_parameter.py +0 -0
  70. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/heating_systems_projection.py +0 -0
  71. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/heating_systems_share.py +0 -0
  72. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/scurve.py +0 -0
  73. {ebm-0.99.5 → ebm-0.99.7}/ebm/model/tek.py +0 -0
  74. {ebm-0.99.5 → ebm-0.99.7}/ebm/s_curve.py +0 -0
  75. {ebm-0.99.5 → ebm-0.99.7}/ebm/services/__init__.py +0 -0
  76. {ebm-0.99.5 → ebm-0.99.7}/ebm/services/calibration_writer.py +0 -0
  77. {ebm-0.99.5 → ebm-0.99.7}/ebm/services/console.py +0 -0
  78. {ebm-0.99.5 → ebm-0.99.7}/ebm/services/excel_loader.py +0 -0
  79. {ebm-0.99.5 → ebm-0.99.7}/ebm/services/files.py +0 -0
  80. {ebm-0.99.5 → ebm-0.99.7}/ebm/services/spreadsheet.py +0 -0
  81. {ebm-0.99.5 → ebm-0.99.7}/ebm/temp_calc.py +0 -0
  82. {ebm-0.99.5 → ebm-0.99.7}/ebm/validators.py +0 -0
  83. {ebm-0.99.5 → ebm-0.99.7}/ebm.egg-info/SOURCES.txt +0 -0
  84. {ebm-0.99.5 → ebm-0.99.7}/ebm.egg-info/dependency_links.txt +0 -0
  85. {ebm-0.99.5 → ebm-0.99.7}/ebm.egg-info/entry_points.txt +0 -0
  86. {ebm-0.99.5 → ebm-0.99.7}/ebm.egg-info/top_level.txt +0 -0
  87. {ebm-0.99.5 → ebm-0.99.7}/setup.cfg +0 -0
  88. {ebm-0.99.5 → ebm-0.99.7}/tests/test_energy_need_filter.py +0 -0
  89. {ebm-0.99.5 → ebm-0.99.7}/tests/test_s_curve.py +0 -0
@@ -1,20 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ebm
3
- Version: 0.99.5
3
+ Version: 0.99.7
4
4
  Summary: A project for energy usage modeling
5
- Author-email: Ny Forbruksmodell <ebm@nve.no>, Lars Petrusson <lfep@nve.no>, Mohammed Ettyabi <moe@nve.no>, Ketil Nordstad <kenord@nve.no>
6
- License: MIT
5
+ Author-email: Lars Petrusson <lfep@nve.no>, Ketil Nordstad <kenord@nve.no>
7
6
  Project-URL: Homepage, https://www.nve.no/
8
7
  Project-URL: Documentation, https://nve.github.io/ebm-docs
9
- Project-URL: Repository, https://github.com/NVE/ebm.git
10
- Keywords: egg,bacon
11
- Classifier: Development Status :: 3 - Alpha
12
- Classifier: Intended Audience :: Science/Research
13
- Classifier: Topic :: Scientific/Engineering :: Information Analysis
14
- Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.11
16
- Classifier: Programming Language :: Python :: 3.12
17
- Classifier: Programming Language :: Python :: 3.13
8
+ Project-URL: Repository, https://github.com/NVE/ebm
18
9
  Requires-Python: >=3.11
19
10
  Description-Content-Type: text/markdown
20
11
  License-File: LICENSE
@@ -24,7 +15,7 @@ Requires-Dist: openpyxl
24
15
  Requires-Dist: pandas
25
16
  Requires-Dist: python-dotenv
26
17
  Requires-Dist: rich
27
- Requires-Dist: pandera
18
+ Requires-Dist: pandera==0.20.4
28
19
  Requires-Dist: XlsxWriter
29
20
  Requires-Dist: pywin32; platform_system == "Windows"
30
21
  Provides-Extra: test
@@ -56,6 +47,9 @@ estimated by a bottom- up approach, based on the building stock floor area, ener
56
47
  systems. The mathematical model is implemented in Python, with input and output files in excel or csv.
57
48
 
58
49
 
50
+ ![ebm-in-windows-terminal.png](docs/source/_static/getting_started/ebm-in-windows-terminal.png)
51
+
52
+
59
53
  # Getting Started
60
54
 
61
55
  ## More information
@@ -75,12 +69,6 @@ how ti install EBM as a user.
75
69
 
76
70
  Open a terminal application and navigate to wherever you want to do work.
77
71
 
78
- ### Clone the github repository
79
-
80
- `git clone https://github.com/NVE/ebm`
81
-
82
- `cd ebm`
83
-
84
72
  ### Make a python virtual environment (optional)
85
73
 
86
74
  While optional, it is always recommended to install and run python modules in a discrete virtual environment. To create a
@@ -105,7 +93,24 @@ To use your venv you need to activate it
105
93
  More information on [Python virtual environments](https://realpython.com/python-virtual-environments-a-primer/)
106
94
 
107
95
 
108
- ### Install EBM
96
+ ## Install EBM
97
+
98
+ There are two options. **Install from PyPI** (Python package index) or install **clone the github repository**.
99
+
100
+ ### Install from PyPI
101
+
102
+ `python -m pip install ebm`
103
+
104
+ You can now run the model as a module `python -m ebm` or as a program `ebm`
105
+
106
+ Please refer to [getting started](https://nve.github.io/ebm-docs/user_guide/getting_started.html) for more information on how the model works.
107
+
108
+
109
+ ### Clone the github repository
110
+
111
+ `git clone https://github.com/NVE/ebm`
112
+
113
+ `cd ebm`
109
114
 
110
115
  Make sure your current working directory is the EBM root.
111
116
 
@@ -206,7 +211,7 @@ This project is licensed under the MIT License. You are free to use, modify, and
206
211
  We welcome contributions! Please refer to the Contributing Guide (CONTRIBUTING.md) for details on how to get started.
207
212
 
208
213
  ## Documentation
209
- Full documentation is available at the EBM User Guide: https://nve.github.io/ebm-docs/
214
+ Full documentation is available at the EBM User Guide: https://nve.github.io/ebm/
210
215
 
211
216
 
212
217
 
@@ -7,6 +7,9 @@ estimated by a bottom- up approach, based on the building stock floor area, ener
7
7
  systems. The mathematical model is implemented in Python, with input and output files in excel or csv.
8
8
 
9
9
 
10
+ ![ebm-in-windows-terminal.png](docs/source/_static/getting_started/ebm-in-windows-terminal.png)
11
+
12
+
10
13
  # Getting Started
11
14
 
12
15
  ## More information
@@ -26,12 +29,6 @@ how ti install EBM as a user.
26
29
 
27
30
  Open a terminal application and navigate to wherever you want to do work.
28
31
 
29
- ### Clone the github repository
30
-
31
- `git clone https://github.com/NVE/ebm`
32
-
33
- `cd ebm`
34
-
35
32
  ### Make a python virtual environment (optional)
36
33
 
37
34
  While optional, it is always recommended to install and run python modules in a discrete virtual environment. To create a
@@ -56,7 +53,24 @@ To use your venv you need to activate it
56
53
  More information on [Python virtual environments](https://realpython.com/python-virtual-environments-a-primer/)
57
54
 
58
55
 
59
- ### Install EBM
56
+ ## Install EBM
57
+
58
+ There are two options. **Install from PyPI** (Python package index) or install **clone the github repository**.
59
+
60
+ ### Install from PyPI
61
+
62
+ `python -m pip install ebm`
63
+
64
+ You can now run the model as a module `python -m ebm` or as a program `ebm`
65
+
66
+ Please refer to [getting started](https://nve.github.io/ebm-docs/user_guide/getting_started.html) for more information on how the model works.
67
+
68
+
69
+ ### Clone the github repository
70
+
71
+ `git clone https://github.com/NVE/ebm`
72
+
73
+ `cd ebm`
60
74
 
61
75
  Make sure your current working directory is the EBM root.
62
76
 
@@ -157,7 +171,7 @@ This project is licensed under the MIT License. You are free to use, modify, and
157
171
  We welcome contributions! Please refer to the Contributing Guide (CONTRIBUTING.md) for details on how to get started.
158
172
 
159
173
  ## Documentation
160
- Full documentation is available at the EBM User Guide: https://nve.github.io/ebm-docs/
174
+ Full documentation is available at the EBM User Guide: https://nve.github.io/ebm/
161
175
 
162
176
 
163
177
 
@@ -1,5 +1,6 @@
1
1
  """EBM start from where when running as a script or module"""
2
2
  import os
3
+ os.environ['DISABLE_PANDERA_IMPORT_WARNING'] = 'True'
3
4
  import pathlib
4
5
  import sys
5
6
 
@@ -35,6 +36,7 @@ def main() -> tuple[ReturnCode, pd.DataFrame | None]:
35
36
 
36
37
  """
37
38
  load_environment_from_dotenv()
39
+
38
40
  configure_loglevel(log_format=os.environ.get('LOG_FORMAT', '{level.icon} <level>{message}</level>'))
39
41
  configure_json_log()
40
42
 
@@ -0,0 +1 @@
1
+ version = "0.99.7"
@@ -1,20 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ebm
3
- Version: 0.99.5
3
+ Version: 0.99.7
4
4
  Summary: A project for energy usage modeling
5
- Author-email: Ny Forbruksmodell <ebm@nve.no>, Lars Petrusson <lfep@nve.no>, Mohammed Ettyabi <moe@nve.no>, Ketil Nordstad <kenord@nve.no>
6
- License: MIT
5
+ Author-email: Lars Petrusson <lfep@nve.no>, Ketil Nordstad <kenord@nve.no>
7
6
  Project-URL: Homepage, https://www.nve.no/
8
7
  Project-URL: Documentation, https://nve.github.io/ebm-docs
9
- Project-URL: Repository, https://github.com/NVE/ebm.git
10
- Keywords: egg,bacon
11
- Classifier: Development Status :: 3 - Alpha
12
- Classifier: Intended Audience :: Science/Research
13
- Classifier: Topic :: Scientific/Engineering :: Information Analysis
14
- Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.11
16
- Classifier: Programming Language :: Python :: 3.12
17
- Classifier: Programming Language :: Python :: 3.13
8
+ Project-URL: Repository, https://github.com/NVE/ebm
18
9
  Requires-Python: >=3.11
19
10
  Description-Content-Type: text/markdown
20
11
  License-File: LICENSE
@@ -24,7 +15,7 @@ Requires-Dist: openpyxl
24
15
  Requires-Dist: pandas
25
16
  Requires-Dist: python-dotenv
26
17
  Requires-Dist: rich
27
- Requires-Dist: pandera
18
+ Requires-Dist: pandera==0.20.4
28
19
  Requires-Dist: XlsxWriter
29
20
  Requires-Dist: pywin32; platform_system == "Windows"
30
21
  Provides-Extra: test
@@ -56,6 +47,9 @@ estimated by a bottom- up approach, based on the building stock floor area, ener
56
47
  systems. The mathematical model is implemented in Python, with input and output files in excel or csv.
57
48
 
58
49
 
50
+ ![ebm-in-windows-terminal.png](docs/source/_static/getting_started/ebm-in-windows-terminal.png)
51
+
52
+
59
53
  # Getting Started
60
54
 
61
55
  ## More information
@@ -75,12 +69,6 @@ how ti install EBM as a user.
75
69
 
76
70
  Open a terminal application and navigate to wherever you want to do work.
77
71
 
78
- ### Clone the github repository
79
-
80
- `git clone https://github.com/NVE/ebm`
81
-
82
- `cd ebm`
83
-
84
72
  ### Make a python virtual environment (optional)
85
73
 
86
74
  While optional, it is always recommended to install and run python modules in a discrete virtual environment. To create a
@@ -105,7 +93,24 @@ To use your venv you need to activate it
105
93
  More information on [Python virtual environments](https://realpython.com/python-virtual-environments-a-primer/)
106
94
 
107
95
 
108
- ### Install EBM
96
+ ## Install EBM
97
+
98
+ There are two options. **Install from PyPI** (Python package index) or install **clone the github repository**.
99
+
100
+ ### Install from PyPI
101
+
102
+ `python -m pip install ebm`
103
+
104
+ You can now run the model as a module `python -m ebm` or as a program `ebm`
105
+
106
+ Please refer to [getting started](https://nve.github.io/ebm-docs/user_guide/getting_started.html) for more information on how the model works.
107
+
108
+
109
+ ### Clone the github repository
110
+
111
+ `git clone https://github.com/NVE/ebm`
112
+
113
+ `cd ebm`
109
114
 
110
115
  Make sure your current working directory is the EBM root.
111
116
 
@@ -206,7 +211,7 @@ This project is licensed under the MIT License. You are free to use, modify, and
206
211
  We welcome contributions! Please refer to the Contributing Guide (CONTRIBUTING.md) for details on how to get started.
207
212
 
208
213
  ## Documentation
209
- Full documentation is available at the EBM User Guide: https://nve.github.io/ebm-docs/
214
+ Full documentation is available at the EBM User Guide: https://nve.github.io/ebm/
210
215
 
211
216
 
212
217
 
@@ -4,7 +4,7 @@ openpyxl
4
4
  pandas
5
5
  python-dotenv
6
6
  rich
7
- pandera
7
+ pandera==0.20.4
8
8
  XlsxWriter
9
9
 
10
10
  [:platform_system == "Windows"]
@@ -1,30 +1,14 @@
1
1
  [build-system]
2
- requires = ["setuptools>=42"]
2
+ requires = ["setuptools"] #>=42
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ebm"
7
7
  dynamic = ["version"]
8
8
  description = "A project for energy usage modeling"
9
- keywords = ["egg", "bacon"]
10
- classifiers = [
11
- "Development Status :: 3 - Alpha",
12
-
13
- "Intended Audience :: Science/Research",
14
- "Topic :: Scientific/Engineering :: Information Analysis",
15
-
16
- "Programming Language :: Python :: 3",
17
- "Programming Language :: Python :: 3.11",
18
- "Programming Language :: Python :: 3.12",
19
- "Programming Language :: Python :: 3.13",
20
- ]
21
-
22
9
  readme = "README.md"
23
- license = {text="MIT"}
24
10
  authors = [
25
- { name = "Ny Forbruksmodell", email = "ebm@nve.no" },
26
11
  { name = "Lars Petrusson", email = "lfep@nve.no" },
27
- { name = "Mohammed Ettyabi", email= "moe@nve.no"},
28
12
  { name = "Ketil Nordstad", email = "kenord@nve.no" }
29
13
  ]
30
14
  requires-python = ">= 3.11"
@@ -35,7 +19,7 @@ dependencies = [
35
19
  "pandas",
36
20
  "python-dotenv",
37
21
  "rich",
38
- "pandera",
22
+ "pandera==0.20.4",
39
23
  "XlsxWriter",
40
24
  "pywin32 ; platform_system == 'Windows'",
41
25
  ]
@@ -48,7 +32,7 @@ tqdm = ['tqdm', 'XlsxWriter']
48
32
  [project.urls]
49
33
  Homepage = "https://www.nve.no/"
50
34
  Documentation = "https://nve.github.io/ebm-docs"
51
- Repository = "https://github.com/NVE/ebm.git"
35
+ Repository = "https://github.com/NVE/ebm"
52
36
 
53
37
  [tool.setuptools]
54
38
  packages = ['ebm', 'ebm.model', 'ebm.services', 'ebm.cmd', 'ebm.data']
@@ -60,7 +44,7 @@ ebm-calibrate = "ebm.cmd.calibrate_excel_com_io:main"
60
44
  version = {attr = "ebm.__version__.version"}
61
45
 
62
46
  [tool.setuptools.package-data]
63
- ebm = ["*.csv"]
47
+ mypackage = ["*.csv"]
64
48
  [tool.pytest.ini_options]
65
49
  pythonpath = "."
66
50
  testpaths = ["tests"]
@@ -1 +0,0 @@
1
- version = "0.99.5"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes