Re: [Development] Repository request: playground/qtscrypt
On 9/2/22 18:04, Oswald Buddenhagen wrote: On Fri, Sep 02, 2022 at 02:15:15PM +, Volker Hilsheimer wrote: +1 to go ahead with QtPythonScripting as the name and repository. how about QtPyScript? that's not so long, and makes the parallel to QtScript very obvious. Hey Ossi, I'd like that name too, but in June this year the 'PyScript' project was announced [1] So it might be confusing for Python users thinking it's a Qt wrapper or library to develop Python applications in WebAssembly. Cheers [1] https://pyscript.net/ -- Dr. Cristián Maureira-Fredes Senior R Manager The Qt Company GmbH Erich-Thilo-Str. 10 D-12489 Berlin Geschäftsführer: Mika Pälsi, Juha Varelius, Jouni Lintunen Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development
Re: [Development] Repository request: playground/qtscrypt
On Fri, Sep 02, 2022 at 02:15:15PM +, Volker Hilsheimer wrote: +1 to go ahead with QtPythonScripting as the name and repository. how about QtPyScript? that's not so long, and makes the parallel to QtScript very obvious. ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development
Re: [Development] Repository request: playground/qtscrypt
On 9/2/22 16:15, Volker Hilsheimer wrote: On 31 Aug 2022, at 16:47, Cristián Maureira-Fredes wrote: [snip] +1 to go ahead with QtPythonScripting as the name and repository. Work for me as well, Thanks Volker Cheers -- Dr. Cristián Maureira-Fredes Senior R Manager The Qt Company GmbH Erich-Thilo-Str. 10 D-12489 Berlin Geschäftsführer: Mika Pälsi, Juha Varelius, Jouni Lintunen Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development
Re: [Development] Repository request: playground/qtscrypt
+1 to go ahead with QtPythonScripting as the name and repository. +1, QtPythonScripting seems like the least confusing option to me, too. You can still have a "marketing name" different from the repository and/or module name then. ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development
Re: [Development] Repository request: playground/qtscrypt
> On 31 Aug 2022, at 16:47, Cristián Maureira-Fredes > wrote: > > Hey there, > > I would like to request a new repository on codereview.qt-project.org > > Name and description: qtscrypt - Script C++ with Python > Responsible person: Cristián Maureira-Fredes (cristian.maureira-fre...@qt.io) > Desired repository name: playground/qtscrypt > URL of existing code: https://git.qt.io/crmaurei/qtscrypt > > Thanks The discussion gives me the impression that any repository or module name is going to be confusing for people not reading the fine-print, and of what has been proposed, QtPythonScripting makes the most sense to me (in that it explicitly is not QtPythonBinding). This will be a playground project, so the naming doesn’t need to be perfect yet. If and when it becomes a place of collaboration, perhaps the hive-mind of contributors produces the perfect name. +1 to go ahead with QtPythonScripting as the name and repository. Volker ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development
Re: [Development] Repository request: playground/qtscrypt
On Wednesday, 31 August 2022 16:33:29 -03 Konrad Rosenbaum wrote: > QtNowForSomethingCompletelyDifferent QtMonty -- Thiago Macieira - thiago.macieira (AT) intel.com Cloud Software Architect - Intel DCAI Cloud Engineering ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development
Re: [Development] Repository request: playground/qtscrypt
On 8/31/22 21:33, Konrad Rosenbaum wrote: Hi, On 31/08/2022 20:57, Cristián Maureira-Fredes wrote: On 8/31/22 19:19, Aleix Pol wrote: On Wed, Aug 31, 2022 at 4:47 PM Cristián Maureira-Fredes wrote: Hey there, I would like to request a new repository on codereview.qt-project.org Name and description: qtscrypt - Script C++ with Python Responsible person: Cristián Maureira-Fredes (cristian.maureira-fre...@qt.io) Desired repository name: playground/qtscrypt URL of existing code: https://git.qt.io/crmaurei/qtscrypt Thanks Won't this be confusing? We have had QtScript for the longest time and it looks like a typo. thanks for the comments. I was under the impression that changing the 'i' for a 'y' from P'y'thon was not confusing, because it was already mentioned in a couple of talks and nobody mentioned anything against it. Even more fun: scrypt is the name of a password encryption algorithm and the corresponding library. I wanted to avoid qtscript-python because it's not really qtscript, it's just the main idea from it. Do you have any other name suggestion? (I really struggled with finding a name) QtPython Hey Konrad, too close to 'Qt for Python' IMHO QtPythonScripting Could be! even if it's a longer name, it's more descriptive. QtPythonAPI Not really a Python API, > QtYetAnotherPythonBinding Jokes aside, I think there is a project called "PyAnotherSide" :) QtNowForSomethingCompletelyDifferent QtBrightSide Probable copyright issues with the band "The Killers" QtHesTheMessiah (SCNR) Sorry for having completely missed the ball here, but what makes this new Python binding worthwhile when there's already PyQt, Qt-for-Python and PySide? This idea, as you can see in the code is to run Python code within C++ code, quite different from the bindings, but hey, maybe an example is more clear. With QtScrypt (Following the idea of the old QtScript module) You can have C++ code, and at some point that evaluates Python code and get some result back, say: QScryptEngine e; qDebug() << "something, something" << e.evaluate("[i for i in range(10)]"); and you can get a QVariantList with the numerical values, same idea with a Python function, like: # your_file.py def power_of_two(x): return x**2 you can call it from C++ like QScryptModule mod("your_file.py") QScryptFunction f("power_of_two", ); qDebug() << "power_of_two(4): " << f.call(4); // you get 16 as a QVariant So now, PyQt and PySide provide bindings Python for the Qt API, like having: button = QPushButton("press me!") button.clicked.connect(some_slot) on Python files. Hopefully it's not a QtDeadParrot, I'd prefer a QtHolyGrail... :-P [I'll see myself out now and do something useful instead, sorry.] No worries, it's useful to ask things are are unknown to ourselves :) So, as the original email states, this is for a 'playground' repository, because I was literally playing with this idea on a Hackathon, and after presenting it in some talks in Qt conferences/workshops, some folks thought it was something interesting to play with. Konrad Cheers -- Dr. Cristián Maureira-Fredes Senior R Manager The Qt Company GmbH Erich-Thilo-Str. 10 D-12489 Berlin Geschäftsführer: Mika Pälsi, Juha Varelius, Jouni Lintunen Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development
Re: [Development] Repository request: playground/qtscrypt
Den ons 31 aug. 2022 kl 21:34 skrev Konrad Rosenbaum : > > Hi, > > On 31/08/2022 20:57, Cristián Maureira-Fredes wrote: > > > > > > On 8/31/22 19:19, Aleix Pol wrote: > >> On Wed, Aug 31, 2022 at 4:47 PM Cristián Maureira-Fredes > >> wrote: > >>> > >>> Hey there, > >>> > >>> I would like to request a new repository on codereview.qt-project.org > >>> > >>> Name and description: qtscrypt - Script C++ with Python > >>> Responsible person: Cristián Maureira-Fredes > >>> (cristian.maureira-fre...@qt.io) > >>> Desired repository name: playground/qtscrypt > >>> URL of existing code: https://git.qt.io/crmaurei/qtscrypt > >>> > >>> Thanks > >> > >> Won't this be confusing? We have had QtScript for the longest time and > >> it looks like a typo. > > > > thanks for the comments. > > > > I was under the impression that changing the 'i' for a 'y' > > from P'y'thon was not confusing, because it was already > > mentioned in a couple of talks and nobody mentioned > > anything against it. > > Even more fun: scrypt is the name of a password encryption algorithm and > the corresponding library. Was going to point this out too. That's what I first thought it was when I saw the e-mail subject - some Qt wrapper for that lib :p Elvis > > > > I wanted to avoid qtscript-python because it's not really qtscript, > > it's just the main idea from it. > > > > Do you have any other name suggestion? > > (I really struggled with finding a name) > > QtPython > > QtPythonScripting > > QtPythonAPI > > QtYetAnotherPythonBinding > > QtNowForSomethingCompletelyDifferent > > QtBrightSide > > QtHesTheMessiah > > (SCNR) > > > Sorry for having completely missed the ball here, but what makes this > new Python binding worthwhile when there's already PyQt, Qt-for-Python > and PySide? > > > Hopefully it's not a QtDeadParrot, I'd prefer a QtHolyGrail... :-P > > > [I'll see myself out now and do something useful instead, sorry.] > > > Konrad > > ___ > Development mailing list > Development@qt-project.org > https://lists.qt-project.org/listinfo/development ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development
Re: [Development] Repository request: playground/qtscrypt
On 8/31/22 19:19, Aleix Pol wrote: On Wed, Aug 31, 2022 at 4:47 PM Cristián Maureira-Fredes wrote: Hey there, I would like to request a new repository on codereview.qt-project.org Name and description: qtscrypt - Script C++ with Python Responsible person: Cristián Maureira-Fredes (cristian.maureira-fre...@qt.io) Desired repository name: playground/qtscrypt URL of existing code: https://git.qt.io/crmaurei/qtscrypt Thanks Won't this be confusing? We have had QtScript for the longest time and it looks like a typo. Hey Aleix, thanks for the comments. I was under the impression that changing the 'i' for a 'y' from P'y'thon was not confusing, because it was already mentioned in a couple of talks and nobody mentioned anything against it. I wanted to avoid qtscript-python because it's not really qtscript, it's just the main idea from it. Do you have any other name suggestion? (I really struggled with finding a name) "Script C++ with Python" < should this be "Use Python scripts from C++"? Or is it indeed C++ being scripted? Sure, it could also be 'Use Python scripts from C++', (or "Use Python code from C++") I just wanted to write something simple like the fact that is adding some 'scripting flavor' on top of C++ code, that's why "Script C++ with Python". Following the Qt documentation, and the wikipedia page from QtScript, some other options are: "The QtScrypt module provides classes for making Qt applications scriptable with Python" or "QtScrypt is a scripting engine that aims to be be part of the Qt cross-platform application framework." I'm open to new suggestions :) Aleix In any case, If the name and description are too problematic, I can continue the development outside the Qt Project, until the project (and the name/description) are mature enough that I can request a new repository. Just wanted to make the code public and accept new contributions from people that showed a positive response after the last Qt Contributor Summit [1] Cheers [1] https://wiki.qt.io/Qt_Contributors_Summit_2022_-_Program/QtScrypt -- Dr. Cristián Maureira-Fredes Senior R Manager The Qt Company GmbH Erich-Thilo-Str. 10 D-12489 Berlin Geschäftsführer: Mika Pälsi, Juha Varelius, Jouni Lintunen Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development
Re: [Development] Repository request: playground/qtscrypt
On Wed, Aug 31, 2022 at 4:47 PM Cristián Maureira-Fredes wrote: > > Hey there, > > I would like to request a new repository on codereview.qt-project.org > > Name and description: qtscrypt - Script C++ with Python > Responsible person: Cristián Maureira-Fredes > (cristian.maureira-fre...@qt.io) > Desired repository name: playground/qtscrypt > URL of existing code: https://git.qt.io/crmaurei/qtscrypt > > Thanks Won't this be confusing? We have had QtScript for the longest time and it looks like a typo. "Script C++ with Python" < should this be "Use Python scripts from C++"? Or is it indeed C++ being scripted? Aleix ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development