ebm 0.99.5__py3-none-any.whl → 0.99.7__py3-none-any.whl
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.
- ebm/__main__.py +2 -0
- ebm/__version__.py +1 -1
- {ebm-0.99.5.dist-info → ebm-0.99.7.dist-info}/METADATA +26 -21
- {ebm-0.99.5.dist-info → ebm-0.99.7.dist-info}/RECORD +8 -8
- {ebm-0.99.5.dist-info → ebm-0.99.7.dist-info}/WHEEL +0 -0
- {ebm-0.99.5.dist-info → ebm-0.99.7.dist-info}/entry_points.txt +0 -0
- {ebm-0.99.5.dist-info → ebm-0.99.7.dist-info}/licenses/LICENSE +0 -0
- {ebm-0.99.5.dist-info → ebm-0.99.7.dist-info}/top_level.txt +0 -0
ebm/__main__.py
CHANGED
@@ -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
|
|
ebm/__version__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
version = "0.99.
|
1
|
+
version = "0.99.7"
|
@@ -1,20 +1,11 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ebm
|
3
|
-
Version: 0.99.
|
3
|
+
Version: 0.99.7
|
4
4
|
Summary: A project for energy usage modeling
|
5
|
-
Author-email:
|
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
|
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
|
+

|
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
|
-
|
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
|
214
|
+
Full documentation is available at the EBM User Guide: https://nve.github.io/ebm/
|
210
215
|
|
211
216
|
|
212
217
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
ebm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
ebm/__main__.py,sha256=
|
3
|
-
ebm/__version__.py,sha256=
|
2
|
+
ebm/__main__.py,sha256=oRQiC55HLaXQ8ZqXCJtSTnoGLKqyNKmz3EHz92vpWAo,6572
|
3
|
+
ebm/__version__.py,sha256=LUqOZMNKyZBC_vc-8-J0sqylBUmk68_S9nicp5Vo8Yo,20
|
4
4
|
ebm/energy_consumption.py,sha256=zf1FHat3sGNZHi4N2Pe4FHIgda_arNoP_rcVwPSERIU,16582
|
5
5
|
ebm/extractors.py,sha256=cwYyqV_mzKPF0O7FlKifKNUbCKIJz0wn4qOoLW4NPwE,5123
|
6
6
|
ebm/heating_system_forecast.py,sha256=c4zGqHYLtV6bJqGHmY1H78FvC32C8OleE72gd9UE4yk,22929
|
@@ -72,9 +72,9 @@ ebm/services/console.py,sha256=pxYTCBU2P2XGvDhf8m6JW4z4ACQClOIpcZtY-JI7hoY,3611
|
|
72
72
|
ebm/services/excel_loader.py,sha256=4wA1NwpVhjbbPHYzd8ff-3Y0Qiue3bs8Wi9AiToxo6c,2315
|
73
73
|
ebm/services/files.py,sha256=z5dACO7kLgfmZsVlVqcBJB7lBLFsE60r7yV1qm_0u5Q,1247
|
74
74
|
ebm/services/spreadsheet.py,sha256=ULeW9OGkzHILyDcj4CVFaT4jq3PdjAOrgW-IgmcatK4,10400
|
75
|
-
ebm-0.99.
|
76
|
-
ebm-0.99.
|
77
|
-
ebm-0.99.
|
78
|
-
ebm-0.99.
|
79
|
-
ebm-0.99.
|
80
|
-
ebm-0.99.
|
75
|
+
ebm-0.99.7.dist-info/licenses/LICENSE,sha256=z6m_5UiYKx1WqLe3n_p0-r8qmnI-EB6A742-bBjrnL0,1115
|
76
|
+
ebm-0.99.7.dist-info/METADATA,sha256=xhgLgrVU8WQKksSK6hYihJdT6kAoYzg1qLe-hp1HmL8,7922
|
77
|
+
ebm-0.99.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
78
|
+
ebm-0.99.7.dist-info/entry_points.txt,sha256=oBnI63ekBLrYuADfsoXaM2_frfTvqv0YFpyIdOOMp6g,94
|
79
|
+
ebm-0.99.7.dist-info/top_level.txt,sha256=gPNbfZiBvhzVrSAsrzR_rJbhjXGgR_3po5621JZvdds,4
|
80
|
+
ebm-0.99.7.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|