psr-factory 4.0.27__py3-none-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.
@@ -0,0 +1,77 @@
1
+ Metadata-Version: 2.4
2
+ Name: psr-factory
3
+ Version: 4.0.27
4
+ Summary: PSR database management module.
5
+ Author-email: "PSR Inc." <psrfactory@psr-inc.com>
6
+ Project-URL: documentation, https://docs.psr-inc.com/factory/
7
+ Classifier: Programming Language :: Python :: 3
8
+ Requires-Python: >=3.9
9
+ Description-Content-Type: text/markdown
10
+ License-File: LICENSE.txt
11
+ Dynamic: license-file
12
+
13
+ PSR Factory (version 4.0.27)
14
+ ============================
15
+
16
+ Factory is a library that helps to manage SDDP cases.
17
+ It contains functions that create, load, and save studies, and also functions that create,
18
+ access, and modify objects in a study.
19
+
20
+
21
+ Installation
22
+ ------------
23
+
24
+ ### System-wide installation
25
+
26
+ Open the command prompt and run the following command:
27
+
28
+ ```bash
29
+ pip install psr_factory-4.0.27-py3-none-win_amd64.whl
30
+ ```
31
+
32
+ Factory will be available to all Python scripts in your system after importing it:
33
+
34
+ ```python
35
+ import psr.factory
36
+ ```
37
+
38
+ ### Local/project-specific usage
39
+
40
+ Copy the folder `psr` and its contents to your project folder or a specific folder (e.g., `C:\path\to\factory`). Then, in your Python script, add the following lines:
41
+
42
+ ```python
43
+ import sys
44
+ sys.path.append(r"C:\path\to\factory")
45
+ import psr.factory
46
+ ```
47
+
48
+
49
+ Usage sample
50
+ ------------
51
+
52
+ ```python
53
+ import psr.factory
54
+
55
+ study = psr.factory.load_study(r"C:\temp\my\study")
56
+ system_1 = study.find("System.*")[0]
57
+
58
+ battery = psr.factory.create("Battery")
59
+ battery.code = 1
60
+ battery.name = "Battery 1"
61
+ battery.set("InstalledCapacity", 10.0)
62
+ battery.set("RefSystem", system_1)
63
+ study.add(battery)
64
+
65
+ study.save(r"C:\temp\my\updated_study")
66
+ ```
67
+
68
+
69
+ Full documentation
70
+ ------------------
71
+
72
+ The full documentation and reference is available at [https://docs.psr-inc.com/factory/](https://docs.psr-inc.com/manual/factory/).
73
+
74
+ Releases
75
+ --------
76
+
77
+ New releases can be found in the release notes at [https://psrenergy-docs.github.io/factory/releases.html](https://psrenergy-docs.github.io/factory/releases.html).
@@ -0,0 +1,31 @@
1
+ psr/apps/__init__.py,sha256=frSq1WIy5vIdU21xJIGX7U3XoAZRj0pcQmFb-R00b7I,228
2
+ psr/apps/apps.py,sha256=8jVxTFZ73KFk_PbY-8rZDD8HBONdCjt-jzsDJyu2P50,6921
3
+ psr/apps/version.py,sha256=vs459L6JsatAkUxna7BNG-vMCaXpO1Ye8c1bmkEx4U4,194
4
+ psr/cloud/__init__.py,sha256=inZMwG7O9Fca9hg1BhqYObOYtTTJOkpuTIuXnkHJZkI,246
5
+ psr/cloud/cloud.py,sha256=ZP2gRmm2OzreWE6xvp7pDpceYeU_X8-DusH34M6xTx0,43669
6
+ psr/cloud/data.py,sha256=3zWh1qnBNFfI8K3N8jZKqDnzHWMQ5llc_wwGMZ4FtKs,3548
7
+ psr/cloud/desktop.py,sha256=JFroCMEFV1Nz3has74n7OVrGCg2lS7Ev5bcjdw2hRxY,2980
8
+ psr/cloud/log.py,sha256=Dvhz1enIWlFWeaRK7JAAuZVPfODgoEIRNcHEmbEliyQ,1366
9
+ psr/cloud/status.py,sha256=vcI4B9S6wCt9maT5NNrVwYaEgGIvy6kkC1UVpJjYbtw,3607
10
+ psr/cloud/tempfile.py,sha256=1IOeye0eKWnmBynK5K5FMWiTaEVhn4GbQ8_y0THEva0,3893
11
+ psr/cloud/version.py,sha256=RG2RB_TfKD_2sF3BR3PpbFPEmlXkWUJOgqpsnMmcVsc,192
12
+ psr/cloud/xml.py,sha256=dmBh4iRieORCctm1obz1EGA2QN-KkZlH5_dQfBud-AI,1847
13
+ psr/factory/__init__.py,sha256=gZVISRvOeLeJ592q6FZOdGO5Eav74H6pquNe3H0jQuA,217
14
+ psr/factory/api.py,sha256=bCsJ9moGsi3pkp1menqPJ-nVYDRksMpAX7DRf-tKafI,81423
15
+ psr/factory/factory.dll,sha256=zNDW9fk9Q20LWgZFr5AHCQsGZYvjJ4TTf0HVO6m4BVE,7260704
16
+ psr/factory/factory.pmd,sha256=sJytMHoS-EfdIc5mMugV0XevFAakdaHQc0_3jznfmFk,230920
17
+ psr/factory/factory.pmk,sha256=YTuSJNfwgn8BE8-LT3eIYSdjXgkGwNM_oiR_PWtW060,569213
18
+ psr/factory/factorylib.py,sha256=6w2HGulENe7E_MHQC2fNnP3zUW-0AdCjzA-Ra2KxbdI,22893
19
+ psr/factory/libcurl-x64.dll,sha256=UqPBLcXSpPLHkQ56dyxohB2wzH_37Lrwj3Kwl-QJtPE,5319208
20
+ psr/factory/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
+ psr/psrfcommon/__init__.py,sha256=WXR560XQllIjtFpWd0jiJEbUAQIyh5-6lwj-42_J95c,200
22
+ psr/psrfcommon/psrfcommon.py,sha256=NABM5ahvyfSizDC9c0Vu9dVK1pD_vOzIGFHL1oz2E1o,1464
23
+ psr/psrfcommon/tempfile.py,sha256=5S13wa2DCLYTUdwbLm_KMBRnDRJ0WDlu8GO2BmZoNdg,3939
24
+ psr/runner/__init__.py,sha256=kI9HDX-B_LMQJUHHylFHas2rNpWfNNa0pZXoIvX_Alw,230
25
+ psr/runner/runner.py,sha256=zyf7BToliu9V3YQPc54foyQb2Y4Y_GpQcflurP4kDY0,25517
26
+ psr/runner/version.py,sha256=mch2Y8anSXGMn9w72Z78PhSRhOyn55EwaoLAYhY4McE,194
27
+ psr_factory-4.0.27.dist-info/licenses/LICENSE.txt,sha256=N6mqZK2Ft3iXGHj-by_MHC_dJo9qwn0URjakEPys3H4,1089
28
+ psr_factory-4.0.27.dist-info/METADATA,sha256=UojQfQclJ8VJ_sXTj6hKUsOMSO3mMT34DV9au9j8-t0,2003
29
+ psr_factory-4.0.27.dist-info/WHEEL,sha256=4cvAR2LpmdqpvXM0-t_4duJjmI_AlyeOb6Zx6aFyoSA,97
30
+ psr_factory-4.0.27.dist-info/top_level.txt,sha256=Jb393O96WQk3b5D1gMcrZBLKJJgZpzNjTPoldUi00ck,4
31
+ psr_factory-4.0.27.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.4.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-win_amd64
5
+
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 PSR Factory
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ psr