pandahub 0.3.6__zip → 0.3.7__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 (49) hide show
  1. {pandahub-0.3.6 → pandahub-0.3.7}/CHANGELOG.md +6 -0
  2. {pandahub-0.3.6 → pandahub-0.3.7}/PKG-INFO +1 -1
  3. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/lib/PandaHub.py +1 -1
  4. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub.egg-info/PKG-INFO +1 -1
  5. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub.egg-info/requires.txt +13 -0
  6. {pandahub-0.3.6 → pandahub-0.3.7}/pyproject.toml +2 -1
  7. {pandahub-0.3.6 → pandahub-0.3.7}/CONTRIBUTING.rst +0 -0
  8. {pandahub-0.3.6 → pandahub-0.3.7}/LICENSE +0 -0
  9. {pandahub-0.3.6 → pandahub-0.3.7}/MANIFEST.in +0 -0
  10. {pandahub-0.3.6 → pandahub-0.3.7}/README.md +0 -0
  11. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/__init__.py +0 -0
  12. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/api/__init__.py +0 -0
  13. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/api/dependencies.py +0 -0
  14. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/api/internal/__init__.py +0 -0
  15. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/api/internal/db.py +0 -0
  16. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/api/internal/schemas.py +0 -0
  17. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/api/internal/settings.py +0 -0
  18. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/api/internal/toolbox.py +0 -0
  19. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/api/internal/users.py +0 -0
  20. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/api/main.py +0 -0
  21. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/api/routers/__init__.py +0 -0
  22. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/api/routers/auth.py +0 -0
  23. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/api/routers/net.py +0 -0
  24. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/api/routers/projects.py +0 -0
  25. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/api/routers/timeseries.py +0 -0
  26. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/api/routers/users.py +0 -0
  27. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/api/routers/variants.py +0 -0
  28. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/lib/__init__.py +0 -0
  29. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/lib/database_toolbox.py +0 -0
  30. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/lib/datatypes.py +0 -0
  31. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/lib/mongodb_indexes.py +0 -0
  32. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/lib/timeseries/__init__.py +0 -0
  33. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/lib/timeseries/data_sources/__init__.py +0 -0
  34. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/lib/timeseries/data_sources/mongo_data.py +0 -0
  35. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub/lib/timeseries/output_writer_mongodb.py +0 -0
  36. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub.egg-info/SOURCES.txt +0 -0
  37. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub.egg-info/dependency_links.txt +0 -0
  38. {pandahub-0.3.6 → pandahub-0.3.7}/pandahub.egg-info/top_level.txt +0 -0
  39. {pandahub-0.3.6 → pandahub-0.3.7}/requirements.txt +0 -0
  40. {pandahub-0.3.6 → pandahub-0.3.7}/setup.cfg +0 -0
  41. {pandahub-0.3.6 → pandahub-0.3.7}/setup.py +0 -0
  42. {pandahub-0.3.6 → pandahub-0.3.7}/test/__init__.py +0 -0
  43. {pandahub-0.3.6 → pandahub-0.3.7}/test/conftest.py +0 -0
  44. {pandahub-0.3.6 → pandahub-0.3.7}/test/performance_test.py +0 -0
  45. {pandahub-0.3.6 → pandahub-0.3.7}/test/test_client.py +0 -0
  46. {pandahub-0.3.6 → pandahub-0.3.7}/test/test_networks.py +0 -0
  47. {pandahub-0.3.6 → pandahub-0.3.7}/test/test_projects.py +0 -0
  48. {pandahub-0.3.6 → pandahub-0.3.7}/test/test_timeseries.py +0 -0
  49. {pandahub-0.3.6 → pandahub-0.3.7}/tutorials/config.py +0 -0
@@ -1,6 +1,12 @@
1
1
  # Change Log
2
2
 
3
+ ## [0.3.7]
4
+
5
+ - FIXED: changes introduced in 0.3.6 removed all dependencies from the project
6
+ - IMPROVED: allow $or and $and in timeseries metadata query
7
+
3
8
  ## [0.3.6]
9
+ ! yanked, see 0.3.7
4
10
 
5
11
  - IMPROVED consider realm when activating project by name
6
12
  - IMPROVED housekeeping: clean up project layout, Docker, settings and remove PandaHubClient
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pandahub
3
- Version: 0.3.6
3
+ Version: 0.3.7
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
@@ -2428,7 +2428,7 @@ class PandaHub:
2428
2428
  if key == "timestamp_range":
2429
2429
  continue
2430
2430
  filter_value = filter_document[key]
2431
- if type(filter_value) == list:
2431
+ if isinstance(filter_value, list) and key not in ["$or", "$and"]:
2432
2432
  match_filter.append({key: {"$in": filter_value}})
2433
2433
  else:
2434
2434
  match_filter.append({key: filter_value})
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pandahub
3
- Version: 0.3.6
3
+ Version: 0.3.7
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
@@ -1,3 +1,16 @@
1
+ uvicorn>=0.24.0
2
+ fastapi-users[beanie]>=12.0
3
+ fastapi>=0.104.0
4
+ fastapi-mail>=1.4.1
5
+ pandapower~=2.14
6
+ pandapipes>=0.7.0
7
+ pymongo
8
+ pydantic
9
+ simplejson
10
+ requests
11
+ python-dotenv
12
+ pymongoarrow
13
+ blosc
1
14
 
2
15
  [all]
3
16
  numpydoc
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "pandahub"
7
- version = "0.3.6" # File format version '__format_version__' is tracked in __init__.py
7
+ version = "0.3.7" # 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" },
@@ -16,6 +16,7 @@ authors=[
16
16
  description = "Data hub for pandapower and pandapipes networks based on MongoDB"
17
17
  readme = "README.md"
18
18
  license = { file = "LICENSE" }
19
+ dynamic = ["dependencies"]
19
20
  requires-python = ">=3.8"
20
21
  classifiers = [
21
22
  "Development Status :: 5 - Production/Stable",
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