× General Purpose Components and Libraries, discussions, problems and suggestions

Question Python4Lazarus

  • Vbxler
  • Topic Author
  • Visitor
  • Visitor
5 years 5 months ago #6794 by Vbxler
Python4Lazarus was created by Vbxler
Sometimes it would be advantageous to be able to integrate external Python code in the application.
Is it possible to integrate Python4Lazarus?

wiki.freepascal.org/Using_Python_in_Lazarus_on_Windows/Linux

Many Thanks!

Vbxler

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 5 months ago #6795 by Sternas Stefanos
Replied by Sternas Stefanos on topic Python4Lazarus
Thanks Sir
we will try

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #9621 by tatamata
Replied by tatamata on topic Python4Lazarus
What is the status of this user request?
I share opinion that the Python4Lazarus would be great addition in CodeTyphon.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
4 years 2 months ago #9622 by Sternas Stefanos
Replied by Sternas Stefanos on topic Python4Lazarus
Sir help us,
can you post the license of this Pkg ?
It's Open Source And Free ?

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #9623 by tatamata
Replied by tatamata on topic Python4Lazarus
The package is placed here:
github.com/Alexey-T/Python-for-Lazarus

According to the github.com/Alexey-T/Python-for-Lazarus/b.../OrigDocs/Readme.txt , it seems it is free:
"OPYRIGHT:
~~~~~~~~~~
This source code is distributed with no WARRANTY, for no reason or use.
Everyone is allowed to use and change this code free for his own tasks
and projects, as long as this header and its copyright text is intact.
For changed versions of this code, which are public distributed the
following additional conditions have to be fullfilled:
1) The header has to contain a comment on the change and the author of it.
2) A copy of the changed source has to be sent to one of the above E-Mail
addresses or our then valid address, if this is possible to the
author.
The second condition has the target to maintain an up to date central
version of the components. If this condition is not acceptable for
confidential or legal reasons, everyone is free to derive components
or to generate a diff file to our or other original sources."

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
4 years 2 months ago - 4 years 2 months ago #9624 by Sternas Stefanos
Replied by Sternas Stefanos on topic Python4Lazarus
Yes,
but this do NOT answer my question.
To put a package to CodeTyphon Studio, the license of the package
must be clear and "Free and Open Source".

Sorry, but we had many problems with unclear licenses...
but we are learning... :)

PilotLogic Architect and Core Programmer
Last edit: 4 years 2 months ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #9625 by tatamata
Replied by tatamata on topic Python4Lazarus
I think that statement "Everyone is allowed to use and change this code free" satisfy both open-source and free criteria.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
4 years 2 months ago - 4 years 2 months ago #9626 by Sternas Stefanos
Replied by Sternas Stefanos on topic Python4Lazarus
Sorry Sir
but do NOT work with that way.

"Clear license" for us are
-MPL 1.1 ,
-LGPL 2.1 (GNU Lesser General Public License)
-BSD
-Public Domain
and many others

PilotLogic Architect and Core Programmer
Last edit: 4 years 2 months ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago - 4 years 2 months ago #9632 by tatamata
Replied by tatamata on topic Python4Lazarus
OK, I understand that you are cautious, but I think you really don't have to worry in this particular case.
Here you can see Delphi branch that it is very clear it is free and open:
github.com/pyscripter/python4delphi
"Python for Delphi (P4D) is a set of free components that wrap up the Python dll into Delphi and Lazarus (FPC). "
The same is stated on the Lazarus wiki as well:
wiki.freepascal.org/Python4Delphi
Last edit: 4 years 2 months ago by tatamata.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
4 years 2 months ago #9633 by Sternas Stefanos
Replied by Sternas Stefanos on topic Python4Lazarus
Yes Sir
on your level, (user level) it might be OK after all it is your choice,
on our level it s NOT

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.