Python script plugin alternative working with python 3?browsing

Hi!
I just discovered the awesome python script plugin, and then… that it got stuck in python2.

Is there a way to run a python (3.6) script that would do it’s work in the text of a specific tab?
For instance how can run a simple script that would apply the python function upper() to the text *. The way pythonscript was working with scientilla was awesome : editor.getText() do something with it and then editor.setText().

It’s possible to add custom macro, and call them using shortcut (or launch them from the menu). But is it possible to do the same with a python3 script?

(I know it’s possible to run script using Pynpp, among other options. I’m looking for a way to run a script that would work on np++ tab)

*I know there is other solution for that: it’s an example. A typically 3.6 example would be to run this script :answer = editor.getText()
editor.addText(print(f"did notepad++ made it? {answer}."))
on a tab containing this:“yes, as always!”

For those who also wonder, the work around is to use a python3.6 script that work with files (and not scintilla). Past the text that need to be processed in a tab, and run it from the tab of the script.

ps: This python 3.6 script below won’t work through the “python script” plugin: