Skip to main content

psr.cloud (pycloud)

PSR Cloud Python module. Authenticate with PSR Cloud and submit, monitor, and retrieve model cases programmatically from Python.

Installation

From source (recommended)

Copy the psr folder and its contents to your working directory, or add its parent path to the PYTHONPATH environment variable.

pip

pip install git+https://github.com/psrenergy/pycloud.git

Quick example

import psr.cloud

client = psr.cloud.Client()

case = psr.cloud.Case(
    name="Test PyCloud",
    program="SDDP",
    program_version="18.0.9",
    data_path="C:\\PSR\\SDDP18.0\\examples\\operation",
    price_optimized=True,
    execution_type="Operation Planning (Default)",
    number_of_processes=64,
    memory_per_process_ratio="2:1",
)

client.run_case(case)

Interfaces

Besides the Python API above, the same capabilities are available through a CLI (console/), a REST API (api/, pip install -e .[server]), and an integrated desktop app (desktop/, pip install -e .[desktop]) that hosts the web UI and calls the service layer in-process — python -m desktop.app. All delegate to the shared, transport-agnostic api/service.py. The desktop app packages into a single Windows executable (front-end + back-end) via scripts\build_desktop_exe.batdist\PSRCloud.exe.

Documentation

Full documentation lives in docs/: authentication, querying PSR Cloud options, common workflows, and the complete API reference.

Preview it locally with:

uv run mkdocs serve

Contributing

The architecture and change conventions live in docs/architecture/ — start there (an auto-generated code map shows where every public symbol lives). The "definition of done" for any change is in docs/architecture/conventions.md.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

psr_cloud-0.4.0.tar.gz (69.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

psr_cloud-0.4.0-py3-none-any.whl (62.2 kB view details)

Uploaded Python 3

File details

Details for the file psr_cloud-0.4.0.tar.gz.

File metadata

  • Download URL: psr_cloud-0.4.0.tar.gz
  • Upload date:
  • Size: 69.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for psr_cloud-0.4.0.tar.gz
Algorithm Hash digest
SHA256 c7c3a11006e1c0b8a12d4207f69a27ae2dec352e35df11ab36f8f0b073628637
MD5 d8746df69744464501111d4310a117f2
BLAKE2b-256 ead750df6441fa41217e0358fe9d6b8d52a1f0ecc498a57bb1b3686c2fc25b1d

See more details on using hashes here.

File details

Details for the file psr_cloud-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: psr_cloud-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 62.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for psr_cloud-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a6357bee22cfc1983fc0342bad6b649afabd74a1391f29d1782303282cabc692
MD5 eb374dbbe44645616011dfd3216b87b9
BLAKE2b-256 5249d8254117240dd36805d1b9201a85ca0e1a207842196457f5b26c7b0b8758

See more details on using hashes here.

Release history Release notifications | RSS feed

0.4.2

2 files

0.4.1

2 files

This release

0.4.0 This release

2 files

0.3.29

2 files

0.3.28

2 files

0.3.27

2 files

0.3.26

2 files

0.3.25

2 files

0.3.24

2 files

0.3.23

2 files

0.3.22

2 files

0.3.21

2 files

0.3.20

2 files

0.3.19

2 files

0.3.18

2 files

0.3.17

2 files

0.3.16

2 files

0.3.15

2 files

0.3.14

2 files

0.3.13

2 files

0.3.12

2 files

0.3.11

2 files

0.3.10

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page