OpenSeesPy#
Warning
Due to the design of OpenSeesPy, scripts built with this approach will be extremely brittle. The best practice is to transition to the standard Python workflow. See the Transitioning Guide.
The xara package exposes a compatibility layer that exactly reproduces the OpenSeesPy functions, but does so without mandating a single global program state. To run OpenSeesPy scripts, just change the import:
import openseespy.opensees
to
import opensees.openseespy