PyCharm Community Edition IDE editor for developing not only python applications.
You only need to download sources from www.jetbrains.com/pycharm
flatpak-builder --repo=repo flatpakbuildir com.jetbrains.PyCharm-Community.json --force-clean
flatpak remote-add --user mypycharm repo
flatpak install --user mypycharm com.jetbrains.PyCharm-Community
flatpak run com.jetbrains.PyCharm-Community
flatpak uninstall --user com.jetbrains.PyCharm-Community