cobre-python 0.1.0__cp312-abi3-win_amd64.whl
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.
cobre/__init__.py
ADDED
cobre/cobre.pyd
ADDED
|
Binary file
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cobre-python
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Classifier: Development Status :: 4 - Beta
|
|
5
|
+
Classifier: Intended Audience :: Science/Research
|
|
6
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
7
|
+
Classifier: Operating System :: MacOS
|
|
8
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
9
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
14
|
+
Classifier: Programming Language :: Rust
|
|
15
|
+
Classifier: Topic :: Scientific/Engineering
|
|
16
|
+
Summary: High-performance SDDP solver for hydrothermal dispatch — Python bindings for the Cobre ecosystem
|
|
17
|
+
Keywords: sddp,optimization,power-systems,energy,hydrothermal
|
|
18
|
+
Home-Page: https://cobre-rs.github.io/cobre-docs/
|
|
19
|
+
Author-email: "Rogerio J. M. Alves" <rogerio.alves@cobre.dev>
|
|
20
|
+
License-Expression: Apache-2.0
|
|
21
|
+
Requires-Python: >=3.12
|
|
22
|
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
23
|
+
Project-URL: Bug Tracker, https://github.com/cobre-rs/cobre/issues
|
|
24
|
+
Project-URL: Documentation, https://cobre-rs.github.io/cobre-docs/
|
|
25
|
+
Project-URL: Homepage, https://cobre-rs.github.io/cobre-docs/
|
|
26
|
+
Project-URL: Repository, https://github.com/cobre-rs/cobre
|
|
27
|
+
|
|
28
|
+
# cobre
|
|
29
|
+
|
|
30
|
+
Python bindings for the [Cobre](https://github.com/cobre-rs/cobre) power systems solver.
|
|
31
|
+
|
|
32
|
+
Cobre is a high-performance SDDP (Stochastic Dual Dynamic Programming) solver for hydrothermal dispatch, written in Rust. This package provides Python access to case loading, validation, training, simulation, and result inspection.
|
|
33
|
+
|
|
34
|
+
## Installation
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
pip install cobre-python
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Pre-built wheels are available for:
|
|
41
|
+
|
|
42
|
+
- Linux x86_64 and aarch64 (manylinux_2_34), musl x86_64
|
|
43
|
+
- macOS Apple Silicon (aarch64) and Intel (x86_64)
|
|
44
|
+
- Windows x86_64
|
|
45
|
+
- Python 3.12+
|
|
46
|
+
|
|
47
|
+
## Quick Start
|
|
48
|
+
|
|
49
|
+
```python
|
|
50
|
+
import cobre
|
|
51
|
+
|
|
52
|
+
# Load and validate a case
|
|
53
|
+
system = cobre.io.load_case("path/to/case")
|
|
54
|
+
print(f"System: {system.n_buses} buses, {system.n_hydros} hydros, {system.n_thermals} thermals")
|
|
55
|
+
|
|
56
|
+
# Run training + simulation
|
|
57
|
+
cobre.run.run("path/to/case", output_dir="output/")
|
|
58
|
+
|
|
59
|
+
# Inspect results
|
|
60
|
+
results = cobre.results.load_results("output/")
|
|
61
|
+
convergence = cobre.results.load_convergence("output/")
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Modules
|
|
65
|
+
|
|
66
|
+
- **`cobre.io`** — Load and validate case directories
|
|
67
|
+
- **`cobre.model`** — Data model classes (System, Bus, Line, Thermal, Hydro, etc.)
|
|
68
|
+
- **`cobre.run`** — Execute SDDP training and simulation
|
|
69
|
+
- **`cobre.results`** — Load and inspect output artifacts
|
|
70
|
+
|
|
71
|
+
## Requirements
|
|
72
|
+
|
|
73
|
+
- Python >= 3.12
|
|
74
|
+
- No runtime dependencies (the Rust solver is statically linked)
|
|
75
|
+
|
|
76
|
+
## License
|
|
77
|
+
|
|
78
|
+
Apache-2.0 — see [LICENSE](https://github.com/cobre-rs/cobre/blob/main/LICENSE).
|
|
79
|
+
|
|
80
|
+
## Links
|
|
81
|
+
|
|
82
|
+
- [Repository](https://github.com/cobre-rs/cobre)
|
|
83
|
+
- [Documentation](https://cobre-rs.github.io/cobre-docs/)
|
|
84
|
+
- [Bug Tracker](https://github.com/cobre-rs/cobre/issues)
|
|
85
|
+
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
cobre/__init__.py,sha256=G62k0XsQAlYlKvkofOUE6eLhn9_e1XmKOvgscXyCsK0,103
|
|
2
|
+
cobre/cobre.pyd,sha256=beft1DwAyjN58O2KxSXE_EzzkyFATT0iB_aysF1JqFE,15127040
|
|
3
|
+
cobre_python-0.1.0.dist-info/METADATA,sha256=qBD011DWTMLiBEG0ng1L_Zy_q9JCOAPrXGVwfQxPRFo,3003
|
|
4
|
+
cobre_python-0.1.0.dist-info/WHEEL,sha256=QQPerY0b65q09lONG2VQ3xSFCTie-pr7MRgd9fQpdj0,96
|
|
5
|
+
cobre_python-0.1.0.dist-info/sboms/cobre-python.cyclonedx.json,sha256=qJ5gl024heD5bHEui3rAXaSbcy7L_c3FgAgk2WafVoU,152023
|
|
6
|
+
cobre_python-0.1.0.dist-info/RECORD,,
|