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

In [this discourse thread](https://precice.discourse.group/t/pyprecice-slow-at-setting-up-secondary-communications/1889/12), I tracked down the increased duration spent in the "do-nothing solver" down to `read_data` and `write_data`. Most logical explanation would be the additional * input `vertex_ids`...

Currently, the python bindings doesn't check the version of preCICE. It uses whatever version `pkg-config` finds on the system. This leads to compile or link issues which could have been...

usability

Due to changes in https://github.com/precice/python-bindings/blame/develop/.github/workflows/build-docker.yml#L36-L44 the [workflow](https://github.com/precice/python-bindings/actions/workflows/build-docker.yml) to update the Docker image is triggered on the master branch. This workflow fails on the master branch: https://github.com/precice/python-bindings/actions/runs/7799939617/job/21271746402 because it tries to...

This issue also affects downstream python components. ## Problem With the publication of [PEP 668](https://peps.python.org/pep-0668/), the pip uses changed. In short, directly using pip: * conflicts with the system package...

https://github.com/precice/python-bindings/blob/536d385a0fdb77656011f45cf32ab9b3be16de3b/cyprecice/Participant.pxd#L6 The `precice/Participant.hpp` is the renamed `precice/SolverInterface.hpp`. However, we now also have `precice/precice.hpp`, which is meant to be the central header to include. This currently contains also `Version.h`, `span.hpp`, and...

The python bindings currently don't support the constructor which provides a custom MPI_Communicator to preCICE. https://precice.org/doxygen/develop/classprecice_1_1Participant.html#a292d1a7e046ac3c083c3eec09bdb1a48 This locks preCICE into using MPI_COMM_WORLD and blocks reconstruction of the Participant. Resulting issue:...

Proposed by @fsimonis * [mypy](https://pypi.org/project/mypy/) * [type hints](https://docs.python.org/3/library/typing.html)

good first issue
help wanted

When installed in a non-system location, pkg-config is not able to find the configuration file. According to pkg-config's manual, "the default is libdir/pkgconfig:datadir/pkgconfig where libdir is the libdir where pkg-config...

The following API functions currently do not have tests: * `set_mesh_edge` (and correspondingly also the new incoming function `set_mesh_edges`) * `set_mesh_triangle` (and correspondingly also the new incoming function `set_mesh_triangles`) *...

good first issue