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.
Files changed (50) hide show
  1. {pandahub-0.4.3 → pandahub-0.4.4}/PKG-INFO +4 -5
  2. {pandahub-0.4.3 → pandahub-0.4.4}/README.md +2 -2
  3. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/lib/PandaHub.py +1 -1
  4. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub.egg-info/PKG-INFO +4 -5
  5. {pandahub-0.4.3 → pandahub-0.4.4}/pyproject.toml +2 -3
  6. {pandahub-0.4.3 → pandahub-0.4.4}/CHANGELOG.md +0 -0
  7. {pandahub-0.4.3 → pandahub-0.4.4}/CONTRIBUTING.rst +0 -0
  8. {pandahub-0.4.3 → pandahub-0.4.4}/LICENSE +0 -0
  9. {pandahub-0.4.3 → pandahub-0.4.4}/MANIFEST.in +0 -0
  10. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/__init__.py +0 -0
  11. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/__init__.py +0 -0
  12. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/dependencies.py +0 -0
  13. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/internal/__init__.py +0 -0
  14. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/internal/db.py +0 -0
  15. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/internal/schemas.py +0 -0
  16. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/internal/settings.py +0 -0
  17. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/internal/toolbox.py +0 -0
  18. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/internal/users.py +0 -0
  19. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/main.py +0 -0
  20. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/routers/__init__.py +0 -0
  21. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/routers/auth.py +0 -0
  22. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/routers/net.py +0 -0
  23. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/routers/projects.py +0 -0
  24. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/routers/timeseries.py +0 -0
  25. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/routers/users.py +0 -0
  26. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/api/routers/variants.py +0 -0
  27. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/lib/__init__.py +0 -0
  28. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/lib/database_toolbox.py +0 -0
  29. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/lib/datatypes.py +0 -0
  30. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/lib/mongo_client.py +0 -0
  31. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/lib/mongodb_indexes.py +0 -0
  32. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/lib/timeseries/__init__.py +0 -0
  33. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/lib/timeseries/data_sources/__init__.py +0 -0
  34. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/lib/timeseries/data_sources/mongo_data.py +0 -0
  35. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub/lib/timeseries/output_writer_mongodb.py +0 -0
  36. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub.egg-info/SOURCES.txt +0 -0
  37. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub.egg-info/dependency_links.txt +0 -0
  38. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub.egg-info/requires.txt +0 -0
  39. {pandahub-0.4.3 → pandahub-0.4.4}/pandahub.egg-info/top_level.txt +0 -0
  40. {pandahub-0.4.3 → pandahub-0.4.4}/requirements.txt +0 -0
  41. {pandahub-0.4.3 → pandahub-0.4.4}/setup.cfg +0 -0
  42. {pandahub-0.4.3 → pandahub-0.4.4}/setup.py +0 -0
  43. {pandahub-0.4.3 → pandahub-0.4.4}/test/__init__.py +0 -0
  44. {pandahub-0.4.3 → pandahub-0.4.4}/test/conftest.py +0 -0
  45. {pandahub-0.4.3 → pandahub-0.4.4}/test/performance_test.py +0 -0
  46. {pandahub-0.4.3 → pandahub-0.4.4}/test/test_client.py +0 -0
  47. {pandahub-0.4.3 → pandahub-0.4.4}/test/test_networks.py +0 -0
  48. {pandahub-0.4.3 → pandahub-0.4.4}/test/test_projects.py +0 -0
  49. {pandahub-0.4.3 → pandahub-0.4.4}/test/test_timeseries.py +0 -0
  50. {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
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.8
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
- from lib import get_mongo_client[![pandapower](https://www.pandapower.org/images/pp.svg)](https://www.pandapower.org) [![pandapipes](https://www.pandapipes.org/images/pp.svg)](https://www.pandapipes.org)
61
+ [![pandapower](https://www.pandapower.org/images/pp.svg)](https://www.pandapower.org) [![pandapipes](https://www.pandapipes.org/images/pp.svg)](https://www.pandapipes.org)
63
62
 
64
- [![pandahub](https://badge.fury.io/py/pandahub.svg)](https://pypi.org/project/pandahub/) [![pandahub](https://img.shields.io/pypi/pyversions/pandahub.svg)](https://pypi.org/project/pandahub/) [![pandahub](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://github.com/e2nIEE/pandahub/blob/master/LICENSE)
63
+ [![pandahub](https://img.shields.io/pypi/v/pandahub?label=pypi%20package&color=green)](https://pypi.org/project/pandahub/) [![pandahub](https://img.shields.io/pypi/pyversions/pandahub.svg)](https://pypi.org/project/pandahub/) [![pandahub](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](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
- from lib import get_mongo_client[![pandapower](https://www.pandapower.org/images/pp.svg)](https://www.pandapower.org) [![pandapipes](https://www.pandapipes.org/images/pp.svg)](https://www.pandapipes.org)
1
+ [![pandapower](https://www.pandapower.org/images/pp.svg)](https://www.pandapower.org) [![pandapipes](https://www.pandapipes.org/images/pp.svg)](https://www.pandapipes.org)
2
2
 
3
- [![pandahub](https://badge.fury.io/py/pandahub.svg)](https://pypi.org/project/pandahub/) [![pandahub](https://img.shields.io/pypi/pyversions/pandahub.svg)](https://pypi.org/project/pandahub/) [![pandahub](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://github.com/e2nIEE/pandahub/blob/master/LICENSE)
3
+ [![pandahub](https://img.shields.io/pypi/v/pandahub?label=pypi%20package&color=green)](https://pypi.org/project/pandahub/) [![pandahub](https://img.shields.io/pypi/pyversions/pandahub.svg)](https://pypi.org/project/pandahub/) [![pandahub](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](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.projects_collection[collection].find({"index": element_index, "net_id": net_id, **variant_filter}).to_list()
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
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.8
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
- from lib import get_mongo_client[![pandapower](https://www.pandapower.org/images/pp.svg)](https://www.pandapower.org) [![pandapipes](https://www.pandapipes.org/images/pp.svg)](https://www.pandapipes.org)
61
+ [![pandapower](https://www.pandapower.org/images/pp.svg)](https://www.pandapower.org) [![pandapipes](https://www.pandapipes.org/images/pp.svg)](https://www.pandapipes.org)
63
62
 
64
- [![pandahub](https://badge.fury.io/py/pandahub.svg)](https://pypi.org/project/pandahub/) [![pandahub](https://img.shields.io/pypi/pyversions/pandahub.svg)](https://pypi.org/project/pandahub/) [![pandahub](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://github.com/e2nIEE/pandahub/blob/master/LICENSE)
63
+ [![pandahub](https://img.shields.io/pypi/v/pandahub?label=pypi%20package&color=green)](https://pypi.org/project/pandahub/) [![pandahub](https://img.shields.io/pypi/pyversions/pandahub.svg)](https://pypi.org/project/pandahub/) [![pandahub](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](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.3" # File format version '__format_version__' is tracked in __init__.py
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.8"
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