Turbopy

Latest version: v2023.6.9

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

Scan your dependencies

Page 1 of 2

2023.06.09

updated python and numpy

2023.06.08

This release addresses the numpy depreciation error in which we change `numpy.int` to `numpy.int64`

AttributeError: module 'numpy' has no attribute 'int'.
`np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information.

2023.06.08a

trying to push to PyPi

2020.10.14

This release includes a new "history" diagnostic, which uses the `xarray` package to save outputs in netCDF format. Additional metadata (variable name and units) are saved alongside the diagnostic outputs.

The output utilities for diagnostics have been improved and cleaned up.

Minor bugs have been fixed.

2020.09.10

Minor updates

2020.08.25

New feature: default resource sharing

We are excited to announce a new feature, available now in today's release:

__Automatic sharing of public `PhysicsModule` class attributes.__

This automatic sharing is accomplished by an update to the `PhysicsModule.exchange_resources` method in the base `PhysicsModule` class. Any public class attributes (whose names do not start with an underscore) will be automatically shared with other `PhysicsModules` using the name `<class_name>_<attribute_name>`.

By introducing this automatic resource sharing, we hope to simplify the creation of custom `PhysicsModules`. If you want to share an attribute, now all you need to do is give it a "public" name (not starting with an underscore). You no longer have to write your own custom `exchange_resources` method.

Backwards compatibility

Note that there are some minor changes to variable names in this release which might break backwards compatibility with existing turboPy apps. In particular, the names of several class attributes were changed to follow python's public/private attribute naming convention. For example, variables such as `owner` and `input_data` were changed to `_owner` and `_input_data`.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.