zen-temple 0.4.0.dev3__tar.gz → 0.4.2__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.
- {zen_temple-0.4.0.dev3/src/zen_temple.egg-info → zen_temple-0.4.2}/PKG-INFO +21 -5
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/README.md +16 -1
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/pyproject.toml +3 -3
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/chunks/C8-e5yjw.js → zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/chunks/B0llF2z6.js +19 -17
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/chunks/BGr3cem7.js → zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/chunks/B3ik9OKY.js +1 -1
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/chunks/CG0AHQUY.js → zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/chunks/B5Bv56A2.js +1 -1
- zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/chunks/C3oA2Kkp.js +1 -0
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/chunks/DHAe9LFe.js → zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/chunks/CiahgOPt.js +1 -1
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/chunks/oGsVNp28.js → zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/chunks/CrHIdHvl.js +1 -1
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/chunks/DE9jx0rI.js → zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/chunks/Dh8qrbyK.js +1 -1
- zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/chunks/DwLL8wa_.js +1 -0
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/chunks/Qq6_vv3G.js → zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/chunks/Rklybz_u.js +1 -1
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/entry/app.xZd9L_9E.js → zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/entry/app.BBROJzR0.js +2 -2
- zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/entry/start.BRXlbmjb.js +1 -0
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/nodes/0.BVAgzyly.js → zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/nodes/0.CKHYouhB.js +1 -1
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/nodes/1.CK-lRafY.js → zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/nodes/1.BUA7PGhm.js +1 -1
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/nodes/10.wkaM8bse.js → zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/nodes/10.DcN8gS24.js +1 -1
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/nodes/3.DQXLDyIf.js → zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/nodes/3.DU2EOSG9.js +1 -1
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/nodes/4.C1nPXNcd.js → zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/nodes/4.Cl2ZycLI.js +1 -1
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/nodes/5.0Ljz0Oyt.js → zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/nodes/5.CJ8RXhw3.js +1 -1
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/nodes/6.CHZpAySH.js → zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/nodes/6.Du8HSRgP.js +1 -1
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/nodes/7.BcwM-wIR.js → zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/nodes/7.KburkI4c.js +1 -1
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/nodes/8.BlVXT6sK.js → zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/nodes/8.BcUrxa_r.js +1 -1
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/nodes/9.C8AQxwUn.js → zen_temple-0.4.2/src/zen_temple/explorer/_app/immutable/nodes/9.wDLIgQa7.js +1 -1
- zen_temple-0.4.2/src/zen_temple/explorer/_app/version.json +1 -0
- {zen_temple-0.4.0.dev3/src/zen_temple/explorer/energy_balance/storage → zen_temple-0.4.2/src/zen_temple/explorer/energy_balance/nodal}/index.html +8 -8
- {zen_temple-0.4.0.dev3/src/zen_temple/explorer/transition/capacity → zen_temple-0.4.2/src/zen_temple/explorer/energy_balance/storage}/index.html +8 -8
- {zen_temple-0.4.0.dev3/src/zen_temple/explorer/energy_balance/nodal → zen_temple-0.4.2/src/zen_temple/explorer}/index.html +8 -8
- {zen_temple-0.4.0.dev3/src/zen_temple/explorer → zen_temple-0.4.2/src/zen_temple/explorer/transition/capacity}/index.html +8 -8
- zen_temple-0.4.2/src/zen_temple/explorer/transition/costs/index.html +52 -0
- zen_temple-0.4.2/src/zen_temple/explorer/transition/emissions/index.html +52 -0
- zen_temple-0.4.2/src/zen_temple/explorer/transition/index.html +52 -0
- zen_temple-0.4.2/src/zen_temple/explorer/transition/production/index.html +52 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/models/solution.py +29 -23
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/repositories/solution_repository.py +10 -4
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2/src/zen_temple.egg-info}/PKG-INFO +21 -5
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple.egg-info/SOURCES.txt +21 -21
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/chunks/CQsJWJ4S.js +0 -1
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/chunks/ol5LJYhQ.js +0 -1
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/immutable/entry/start.AFDznqqt.js +0 -1
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/_app/version.json +0 -1
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/transition/costs/index.html +0 -52
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/transition/emissions/index.html +0 -52
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/transition/index.html +0 -52
- zen_temple-0.4.0.dev3/src/zen_temple/explorer/transition/production/index.html +0 -52
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/LICENSE +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/setup.cfg +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/__init__.py +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/config.py +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/env.js +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/assets/0.B7Yg-bUP.css +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/assets/3.C5c1HJAj.css +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/assets/_layout.Bb57l8co.css +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/assets/_page.C5c1HJAj.css +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/assets/bootstrap-icons.BOrJxbIo.woff +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/assets/bootstrap-icons.BtvjY1KL.woff2 +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/assets/utils.BovkadW7.css +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/assets/zen_garden_small.Bbfqs-kl.png +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/chunks/69_IOA4Y.js +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/chunks/AM9C8FsA.js +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/chunks/B6F1ZNoe.js +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/chunks/Bg9kRutz.js +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/chunks/Bo1UclGg.js +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/chunks/C6Ut6Zxy.js +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/chunks/CHbR_RN5.js +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/chunks/CkqRHYTO.js +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/chunks/CmMFD2-g.js +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/chunks/CqS7hfz2.js +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/chunks/D-bC_bvq.js +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/chunks/DIeogL5L.js +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/chunks/DY_kk6CS.js +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/_app/immutable/nodes/2.Pu54RFMG.js +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/apple-touch-icon.png +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/favicon-96x96.png +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/favicon.ico +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/favicon.svg +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/site.webmanifest +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/web-app-manifest-192x192.png +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/explorer/web-app-manifest-512x512.png +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/main.py +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/models/__init__.py +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/repositories/__init__.py +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/routers/__init__.py +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/routers/solutions.py +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple/utils.py +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple.egg-info/dependency_links.txt +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple.egg-info/requires.txt +0 -0
- {zen_temple-0.4.0.dev3 → zen_temple-0.4.2}/src/zen_temple.egg-info/top_level.txt +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: zen_temple
|
|
3
|
-
Version: 0.4.
|
|
4
|
-
Summary: The visualization plattform for ZEN
|
|
5
|
-
Author-email:
|
|
3
|
+
Version: 0.4.2
|
|
4
|
+
Summary: The visualization plattform for ZEN-garden
|
|
5
|
+
Author-email: ZEN-garden developers <zen-garden@ethz.ch>
|
|
6
6
|
Project-URL: Homepage, https://github.com/ZEN-universe/ZEN-temple
|
|
7
7
|
Project-URL: Issues, https://github.com/ZEN-universe/ZEN-temple/issues
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -17,6 +17,7 @@ Requires-Dist: fastapi-cache2
|
|
|
17
17
|
Requires-Dist: python-dotenv
|
|
18
18
|
Requires-Dist: zen-garden
|
|
19
19
|
Requires-Dist: mypy>=1.14.1
|
|
20
|
+
Dynamic: license-file
|
|
20
21
|
|
|
21
22
|
# ZEN Temple
|
|
22
23
|
ZEN Temple is a FastAPI Application.
|
|
@@ -37,7 +38,7 @@ Then, create a new copy of `.env`.
|
|
|
37
38
|
cp .env.example .env
|
|
38
39
|
```
|
|
39
40
|
|
|
40
|
-
Modify the `SOLUTION_FOLDER` variable to the location of your solutions. This is the `outputs` folder generated by ZEN garden. Look at the page [Running a model](https://zen-garden.readthedocs.io/en/latest/files/user_guide/running_models.html#run-zen-garden-with-preexisting-datasets) of the ZEN garden documentation.
|
|
41
|
+
Modify the `SOLUTION_FOLDER` variable to the location of your solutions. This is the `outputs` folder generated by ZEN garden. Make sure that the path string uses `/` as a folder separator, and not `\`. Look at the page [Running a model](https://zen-garden.readthedocs.io/en/latest/files/user_guide/running_models.html#run-zen-garden-with-preexisting-datasets) of the ZEN garden documentation.
|
|
41
42
|
|
|
42
43
|
## Usage
|
|
43
44
|
|
|
@@ -48,6 +49,21 @@ conda activate <your-env-name>
|
|
|
48
49
|
uvicorn src.zen_temple.main:app --reload
|
|
49
50
|
```
|
|
50
51
|
|
|
52
|
+
## Release workflow
|
|
53
|
+
|
|
54
|
+
To create a new release of ZEN-temple follow the following steps. The idea is that for each major release (from `v0.4.x` to `v0.5.0`) we sync the version number of ZEN explorer and ZEN temple
|
|
55
|
+
|
|
56
|
+
1. Bump version in ZEN explorer `bash scripts/bump_version.sh` and update its CHANGELOG.md.
|
|
57
|
+
2. Commit and upload the updated files to GitHub.
|
|
58
|
+
3. Create a new release for ZEN explorer:
|
|
59
|
+
https://github.com/ZEN-universe/ZEN-explorer/releases/new
|
|
60
|
+
4. Bump version in ZEN temple `bash scripts/bump_version.sh` and update [CHANGELOG.md](CHANGELOG.md).
|
|
61
|
+
5. Commit and upload the updated files to GitHub.
|
|
62
|
+
6. Create a new release for ZEN temple, e.g. `<version>`. For a pre-release also add a suffix `.dev1`, i.e. `<version>.dev1`, and mark the release as pre-release:
|
|
63
|
+
https://github.com/ZEN-universe/ZEN-temple/releases/new
|
|
64
|
+
7. (optional) Look at PyPI whether the new release has successfully been created:
|
|
65
|
+
https://pypi.org/project/zen-temple/#history
|
|
66
|
+
|
|
51
67
|
## Folder structure
|
|
52
68
|
|
|
53
69
|
The folder and file structure is the following:
|
|
@@ -17,7 +17,7 @@ Then, create a new copy of `.env`.
|
|
|
17
17
|
cp .env.example .env
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
Modify the `SOLUTION_FOLDER` variable to the location of your solutions. This is the `outputs` folder generated by ZEN garden. Look at the page [Running a model](https://zen-garden.readthedocs.io/en/latest/files/user_guide/running_models.html#run-zen-garden-with-preexisting-datasets) of the ZEN garden documentation.
|
|
20
|
+
Modify the `SOLUTION_FOLDER` variable to the location of your solutions. This is the `outputs` folder generated by ZEN garden. Make sure that the path string uses `/` as a folder separator, and not `\`. Look at the page [Running a model](https://zen-garden.readthedocs.io/en/latest/files/user_guide/running_models.html#run-zen-garden-with-preexisting-datasets) of the ZEN garden documentation.
|
|
21
21
|
|
|
22
22
|
## Usage
|
|
23
23
|
|
|
@@ -28,6 +28,21 @@ conda activate <your-env-name>
|
|
|
28
28
|
uvicorn src.zen_temple.main:app --reload
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
+
## Release workflow
|
|
32
|
+
|
|
33
|
+
To create a new release of ZEN-temple follow the following steps. The idea is that for each major release (from `v0.4.x` to `v0.5.0`) we sync the version number of ZEN explorer and ZEN temple
|
|
34
|
+
|
|
35
|
+
1. Bump version in ZEN explorer `bash scripts/bump_version.sh` and update its CHANGELOG.md.
|
|
36
|
+
2. Commit and upload the updated files to GitHub.
|
|
37
|
+
3. Create a new release for ZEN explorer:
|
|
38
|
+
https://github.com/ZEN-universe/ZEN-explorer/releases/new
|
|
39
|
+
4. Bump version in ZEN temple `bash scripts/bump_version.sh` and update [CHANGELOG.md](CHANGELOG.md).
|
|
40
|
+
5. Commit and upload the updated files to GitHub.
|
|
41
|
+
6. Create a new release for ZEN temple, e.g. `<version>`. For a pre-release also add a suffix `.dev1`, i.e. `<version>.dev1`, and mark the release as pre-release:
|
|
42
|
+
https://github.com/ZEN-universe/ZEN-temple/releases/new
|
|
43
|
+
7. (optional) Look at PyPI whether the new release has successfully been created:
|
|
44
|
+
https://pypi.org/project/zen-temple/#history
|
|
45
|
+
|
|
31
46
|
## Folder structure
|
|
32
47
|
|
|
33
48
|
The folder and file structure is the following:
|
|
@@ -4,11 +4,11 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "zen_temple"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.2"
|
|
8
8
|
authors = [
|
|
9
|
-
{ name="
|
|
9
|
+
{ name="ZEN-garden developers", email="zen-garden@ethz.ch" },
|
|
10
10
|
]
|
|
11
|
-
description = "The visualization plattform for ZEN
|
|
11
|
+
description = "The visualization plattform for ZEN-garden"
|
|
12
12
|
requires-python= ">=3.10"
|
|
13
13
|
readme = "README.md"
|
|
14
14
|
classifiers = [
|