nrel-pysam-legacy
Unofficial CPython 3.14 rebuild of NREL-PySAM 4.2.0, retaining the original SSC 280 simulation engine and battery models.
The distribution is named nrel-pysam-legacy; the import namespace remains
PySAM. This is a compatibility fork, not an official NREL/NLR release.
pip install nrel-pysam-legacy==4.2.0.post1
Use this package instead of nlr-pysam or nrel-pysam. They all own the
same PySAM namespace and must not be installed together. Prefer a fresh
environment, or uninstall both upstream distributions before installing.
import PySAM.BatteryStateful as BatteryStateful
battery = BatteryStateful.default("LFPGraphite")
This release targets ordinary (GIL-enabled) CPython 3.14 on Linux x86-64. Free-threaded Python, other Python versions, and other platforms are not claimed to be supported by this build.
The Python extensions are compiled for CPython 3.14. The original native
SSC and SAM API libraries, defaults, Python helpers, and type stubs are
preserved from the published 4.2.0 wheel. PySAM.__version__ remains
4.2.0, identifying the upstream model; the distribution version is
4.2.0.post1.
The generated wrappers consistently import PySAM.AdjustmentFactors to
avoid loading its static type twice under different module names. An invalid
decrement of a local pointer's reference count is also removed. These changes
affect wrapper initialization only; python314-wrapper.patch records them.
Upstream code and binary redistribution are covered by the included BSD
3-Clause license. See PROVENANCE.json for pinned sources and checksums.
Metadata
Release files for nrel-pysam-legacy 4.2.0.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nrel_pysam_legacy-4.2.0.post1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl | CPython 3.14 | CPython 3.14 | Linux glibc 2.17+ x86-64 | Details |
Release files / nrel_pysam_legacy-4.2.0.post1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | nrel_pysam_legacy-4.2.0.post1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 38.0 MB |
| Tags | CPython 3.14 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
af12584c9c460a0939f69a026478b88e88378d9112764964d73e2e8672159d43
|
|
BLAKE2b-256 checksum How to use checksums |
1955051be974c246947c757caa1f74a376e2a8cd06d5c155c094f2ade52adb97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|