pandahub 0.4.3__zip → 0.4.4__zip
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.
- {pandahub-0.4.3 → pandahub-0.4.4}/PKG-INFO +4 -5
- {pandahub-0.4.3 → pandahub-0.4.4}/README.md +2 -2
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/lib/PandaHub.py +1 -1
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub.egg-info/PKG-INFO +4 -5
- {pandahub-0.4.3 → pandahub-0.4.4}/pyproject.toml +2 -3
- {pandahub-0.4.3 → pandahub-0.4.4}/CHANGELOG.md +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/CONTRIBUTING.rst +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/LICENSE +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/MANIFEST.in +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/__init__.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/__init__.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/dependencies.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/internal/__init__.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/internal/db.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/internal/schemas.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/internal/settings.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/internal/toolbox.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/internal/users.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/main.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/routers/__init__.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/routers/auth.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/routers/net.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/routers/projects.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/routers/timeseries.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/routers/users.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/routers/variants.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/lib/__init__.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/lib/database_toolbox.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/lib/datatypes.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/lib/mongo_client.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/lib/mongodb_indexes.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/lib/timeseries/__init__.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/lib/timeseries/data_sources/__init__.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/lib/timeseries/data_sources/mongo_data.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/lib/timeseries/output_writer_mongodb.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub.egg-info/SOURCES.txt +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub.egg-info/dependency_links.txt +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub.egg-info/requires.txt +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/pandahub.egg-info/top_level.txt +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/requirements.txt +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/setup.cfg +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/setup.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/test/__init__.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/test/conftest.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/test/performance_test.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/test/test_client.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/test/test_networks.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/test/test_projects.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/test/test_timeseries.py +0 -0
- {pandahub-0.4.3 → pandahub-0.4.4}/tutorials/config.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pandahub
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.4
|
|
4
4
|
Summary: Data hub for pandapower and pandapipes networks based on MongoDB
|
|
5
5
|
Author-email: Jan Ulffers <jan.ulffers@iee.fraunhofer.de>, Leon Thurner <leon.thurner@retoflow.de>, Jannis Kupka <jannis.kupka@retoflow.de>, Mike Vogt <mike.vogt@iee.fraunhofer.de>, Joschka Thurner <joschka.thurner@retoflow.de>, Alexander Scheidler <alexander.scheidler@iee.fraunhofer.de>
|
|
6
6
|
License: Copyright (c) 2022 by University of Kassel, Fraunhofer Institute for Energy Economics
|
|
@@ -47,21 +47,20 @@ Classifier: Natural Language :: English
|
|
|
47
47
|
Classifier: Operating System :: OS Independent
|
|
48
48
|
Classifier: Programming Language :: Python
|
|
49
49
|
Classifier: Programming Language :: Python :: 3
|
|
50
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
51
50
|
Classifier: Programming Language :: Python :: 3.9
|
|
52
51
|
Classifier: Programming Language :: Python :: 3.10
|
|
53
52
|
Classifier: Programming Language :: Python :: 3.11
|
|
54
53
|
Classifier: Programming Language :: Python :: 3.12
|
|
55
|
-
Requires-Python: >=3.
|
|
54
|
+
Requires-Python: >=3.9
|
|
56
55
|
Description-Content-Type: text/markdown
|
|
57
56
|
Provides-Extra: docs
|
|
58
57
|
Provides-Extra: test
|
|
59
58
|
Provides-Extra: all
|
|
60
59
|
License-File: LICENSE
|
|
61
60
|
|
|
62
|
-
|
|
61
|
+
[](https://www.pandapower.org) [](https://www.pandapipes.org)
|
|
63
62
|
|
|
64
|
-
[](https://pypi.org/project/pandahub/) [](https://pypi.org/project/pandahub/) [](https://github.com/e2nIEE/pandahub/blob/master/LICENSE)
|
|
65
64
|
|
|
66
65
|
pandahub is a data hub for pandapower and pandapipes networks based on MongoDB. It allows you to store pandapower and
|
|
67
66
|
pandapipes networks as well as timeseries in a MongoDB. pandahub allows you to access the database directly through the PandaHub class,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
[](https://www.pandapower.org) [](https://www.pandapipes.org)
|
|
2
2
|
|
|
3
|
-
[](https://pypi.org/project/pandahub/) [](https://pypi.org/project/pandahub/) [](https://github.com/e2nIEE/pandahub/blob/master/LICENSE)
|
|
4
4
|
|
|
5
5
|
pandahub is a data hub for pandapower and pandapipes networks based on MongoDB. It allows you to store pandapower and
|
|
6
6
|
pandapipes networks as well as timeseries in a MongoDB. pandahub allows you to access the database directly through the PandaHub class,
|
|
@@ -1300,7 +1300,7 @@ class PandaHub:
|
|
|
1300
1300
|
dtypes = self._datatypes.get(element_type)
|
|
1301
1301
|
|
|
1302
1302
|
variant_filter = self.get_variant_filter(variant)
|
|
1303
|
-
documents = self.
|
|
1303
|
+
documents = self.project_db[collection].find({"index": element_index, "net_id": net_id, **variant_filter}).to_list()
|
|
1304
1304
|
if len(documents) == 1:
|
|
1305
1305
|
document = documents[0]
|
|
1306
1306
|
else:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pandahub
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.4
|
|
4
4
|
Summary: Data hub for pandapower and pandapipes networks based on MongoDB
|
|
5
5
|
Author-email: Jan Ulffers <jan.ulffers@iee.fraunhofer.de>, Leon Thurner <leon.thurner@retoflow.de>, Jannis Kupka <jannis.kupka@retoflow.de>, Mike Vogt <mike.vogt@iee.fraunhofer.de>, Joschka Thurner <joschka.thurner@retoflow.de>, Alexander Scheidler <alexander.scheidler@iee.fraunhofer.de>
|
|
6
6
|
License: Copyright (c) 2022 by University of Kassel, Fraunhofer Institute for Energy Economics
|
|
@@ -47,21 +47,20 @@ Classifier: Natural Language :: English
|
|
|
47
47
|
Classifier: Operating System :: OS Independent
|
|
48
48
|
Classifier: Programming Language :: Python
|
|
49
49
|
Classifier: Programming Language :: Python :: 3
|
|
50
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
51
50
|
Classifier: Programming Language :: Python :: 3.9
|
|
52
51
|
Classifier: Programming Language :: Python :: 3.10
|
|
53
52
|
Classifier: Programming Language :: Python :: 3.11
|
|
54
53
|
Classifier: Programming Language :: Python :: 3.12
|
|
55
|
-
Requires-Python: >=3.
|
|
54
|
+
Requires-Python: >=3.9
|
|
56
55
|
Description-Content-Type: text/markdown
|
|
57
56
|
Provides-Extra: docs
|
|
58
57
|
Provides-Extra: test
|
|
59
58
|
Provides-Extra: all
|
|
60
59
|
License-File: LICENSE
|
|
61
60
|
|
|
62
|
-
|
|
61
|
+
[](https://www.pandapower.org) [](https://www.pandapipes.org)
|
|
63
62
|
|
|
64
|
-
[](https://pypi.org/project/pandahub/) [](https://pypi.org/project/pandahub/) [](https://github.com/e2nIEE/pandahub/blob/master/LICENSE)
|
|
65
64
|
|
|
66
65
|
pandahub is a data hub for pandapower and pandapipes networks based on MongoDB. It allows you to store pandapower and
|
|
67
66
|
pandapipes networks as well as timeseries in a MongoDB. pandahub allows you to access the database directly through the PandaHub class,
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pandahub"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.4" # File format version '__format_version__' is tracked in __init__.py
|
|
8
8
|
authors=[
|
|
9
9
|
{ name = "Jan Ulffers", email = "jan.ulffers@iee.fraunhofer.de" },
|
|
10
10
|
{ name = "Leon Thurner", email = "leon.thurner@retoflow.de" },
|
|
@@ -17,7 +17,7 @@ description = "Data hub for pandapower and pandapipes networks based on MongoDB"
|
|
|
17
17
|
readme = "README.md"
|
|
18
18
|
license = { file = "LICENSE" }
|
|
19
19
|
dynamic = ["dependencies"]
|
|
20
|
-
requires-python = ">=3.
|
|
20
|
+
requires-python = ">=3.9"
|
|
21
21
|
classifiers = [
|
|
22
22
|
"Development Status :: 5 - Production/Stable",
|
|
23
23
|
"Environment :: Console",
|
|
@@ -30,7 +30,6 @@ classifiers = [
|
|
|
30
30
|
"Programming Language :: Python",
|
|
31
31
|
"Programming Language :: Python :: 3",
|
|
32
32
|
# Add the specific Python versions supported here, e.g.:
|
|
33
|
-
"Programming Language :: Python :: 3.8",
|
|
34
33
|
"Programming Language :: Python :: 3.9",
|
|
35
34
|
"Programming Language :: Python :: 3.10",
|
|
36
35
|
"Programming Language :: Python :: 3.11",
|
|
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
|