Pywr

Latest version: v1.27.3

Safety actively analyzes 707607 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 8

0.5.1

Miscellaneous

- Fixes to the source distribution (sdist) and inclusions of MANIFEST.in
- Changes to the build systems on travis to enable deploy to Anaconda and Pypi.

0.5

New features

- Added build and testing for OS X via travis. (588)
- Added data consumption warnings to DataFrameParamter and TablesArrayParameter. (562)
- Added `PiecewiseLinearControlCurve` as a new cython parameter.
- Pywr now emits some logging calls during a model run.
- Improved the event handling code to allow tracking of a `Parameter`'s value during an event.
- Added support for initialising storage volume by percentage. Can be set in json through the `"initial_volume_pc"` property.
- Added GZ2 and BZ2 compression support to `CSVRecorder`.
- Added JSON support for license parameters. (544)
- Added a sense check to `TablesArrayParameter` having non-finite values.
- Added scale and offset to ConstantParameter.
- Added JSON support for license parameters. (544)
- Added `WeeklyProfileParameter` (537)
- Added `InterpolationParameter`. Closes 478. (535)
- Added surface area property to `Storage` (525)
- Added optional checksum when loading DataFrameParameter and TablesArrayParameter using hashlib.
- Added ProgressRecorder and JupyterProgressRecorder (520)
- The threshold in `*ThresholdParameter` can now be a Parameter. (517)
- Added `HydroPowerRecorder` and `TotalHydroEnergyRecorder` for hydropower studies (584)

Bug fixes
- Explicitly set the frequency during dataframe resampling (563)
- `IndexedArrayParameter` also accepts 'parameters' in JSON. Closes 538. (539)
- Recursive deletion of child nodes when deleting compound nodes. (527)
- Compatibility with NetworkX 2.x (529)
- Changed GLPK log level to remove printing of superfluous messages to stdout. (523)
- Fixed loading parameters for `PiecewiseLink` in JSON. (519)

Deprecated features
- `AbstractProfileControlCurveParameter` marked for deprecation.

Miscellaneous
- Improved the online documentation including the API reference.
- Added a hydropower example.
- General tweaks and corrections to class docstrings.
- Updated conda build recipe to use the conda-forge lp_solve package.
- Updated the conda build recipe to use MSVC features.

Page 8 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.