pyconvexity 0.4.8__tar.gz → 0.4.8.post1__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.
Potentially problematic release.
This version of pyconvexity might be problematic. Click here for more details.
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/PKG-INFO +1 -1
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/pyproject.toml +2 -2
- pyconvexity-0.4.8.post1/src/pyconvexity/_version.py +1 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/solvers/pypsa/storage.py +4 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity.egg-info/PKG-INFO +1 -1
- pyconvexity-0.4.8/src/pyconvexity/_version.py +0 -1
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/README.md +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/setup.cfg +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/__init__.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/core/__init__.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/core/database.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/core/errors.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/core/types.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/dashboard.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/data/README.md +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/data/__init__.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/data/loaders/__init__.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/data/loaders/cache.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/data/schema/01_core_schema.sql +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/data/schema/02_data_metadata.sql +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/data/schema/03_validation_data.sql +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/data/sources/__init__.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/data/sources/gem.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/io/__init__.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/io/excel_exporter.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/io/excel_importer.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/io/netcdf_exporter.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/io/netcdf_importer.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/models/__init__.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/models/attributes.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/models/carriers.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/models/components.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/models/network.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/models/results.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/models/scenarios.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/solvers/__init__.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/solvers/pypsa/__init__.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/solvers/pypsa/api.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/solvers/pypsa/batch_loader.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/solvers/pypsa/builder.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/solvers/pypsa/clearing_price.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/solvers/pypsa/constraints.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/solvers/pypsa/solver.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/timeseries.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/validation/__init__.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/validation/rules.py +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity.egg-info/SOURCES.txt +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity.egg-info/dependency_links.txt +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity.egg-info/requires.txt +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity.egg-info/top_level.txt +0 -0
- {pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/tests/test_core_types.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pyconvexity"
|
|
7
|
-
version = "0.4.8"
|
|
7
|
+
version = "0.4.8.post1"
|
|
8
8
|
description = "Python library for energy system modeling and optimization with PyPSA"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "MIT"}
|
|
@@ -81,7 +81,7 @@ profile = "black"
|
|
|
81
81
|
line_length = 88
|
|
82
82
|
|
|
83
83
|
[tool.mypy]
|
|
84
|
-
python_version = "0.4.8"
|
|
84
|
+
python_version = "0.4.8.post1"
|
|
85
85
|
warn_return_any = true
|
|
86
86
|
warn_unused_configs = true
|
|
87
87
|
disallow_untyped_defs = true
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.4.8.post1"
|
|
@@ -4,12 +4,16 @@ Result storage functionality for PyPSA solver integration.
|
|
|
4
4
|
Handles storing solve results back to the database with proper validation and error handling.
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
|
+
import logging
|
|
7
8
|
import uuid
|
|
8
9
|
import pandas as pd
|
|
9
10
|
import numpy as np
|
|
10
11
|
from typing import Dict, Any, Optional, Callable
|
|
11
12
|
|
|
12
13
|
from pyconvexity.core.types import StaticValue
|
|
14
|
+
|
|
15
|
+
logger = logging.getLogger(__name__)
|
|
16
|
+
|
|
13
17
|
from pyconvexity.models import (
|
|
14
18
|
list_components_by_type,
|
|
15
19
|
set_static_attribute,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.4.8"
|
|
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
|
{pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/data/schema/01_core_schema.sql
RENAMED
|
File without changes
|
{pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/data/schema/02_data_metadata.sql
RENAMED
|
File without changes
|
{pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/data/schema/03_validation_data.sql
RENAMED
|
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
|
{pyconvexity-0.4.8 → pyconvexity-0.4.8.post1}/src/pyconvexity/solvers/pypsa/clearing_price.py
RENAMED
|
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
|