python-bindings icon indicating copy to clipboard operation
python-bindings copied to clipboard

Python language bindings for preCICE

Results 51 python-bindings issues
Sort by recently updated
recently updated
newest added

Continue closed PR https://github.com/precice/precice/pull/312 here.

question

The class `Interface` https://github.com/precice/python-bindings/blob/85245af97288c54b53d8ce26067408218aa99a0d/cyprecice/cyprecice.pyx#L34 can be misleading. It also deviates from the naming in the C++ API where the equivalent class is called `SolverInterface`. This came up on Gitter where...

breaking change

I just tried to run the following script: ``` import precice from mpi4py import MPI solver_interface = precice.Interface("SolverOne", "precice-config.xml", 0, 1, MPI.COMM_WORLD) ``` It unfortunately resulted in a segmentation fault....

bug

At the current state the solverdummy can only be used, if a user clones the python bindings from this repository (at least that's what our [documentation says](https://github.com/precice/python-bindings/tree/develop/solverdummy#run)). However, the [recommended...

enhancement

See https://github.com/pypa/setuptools/issues/1684 There are some suggestions what should be used instead. One suggestion is [pytest](https://docs.pytest.org/en/latest/).

Being able to install the python bindings simply via `pip3 install --user https://github.com/precice/python-bindings/archive/develop.zip` (see, for example [how we used this in our systemtests](https://github.com/precice/systemtests/blob/feb7379d4291423a8ea6ec40728f855e8268130b/tests/Test_bindings/Dockerfile#L26-L27)) is nice. However, we still have to...

I have noticed that, when e.g. inside `precice.initialize()`, pressing Ctrl+C does not interrupt the program. This I have only observed in Python and it seems to be a common issue...

bug

See, for example https://github.com/marketplace/actions/python-wheels-manylinux-build

enhancement

In the [release guide](https://github.com/precice/python-bindings/blob/develop/docs/ReleaseGuide.md) there are instructions to update the docker image after a release is done. Additionally there are instructions to check if the latest version of the bindings...

bug

Currently, when pkg-config cannot find preCICE it displays a generic error message. We should instead describe in additional detail what has gone wrong and how to fix it. We could...