473,326 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Commercial Products in Python

Hi all,

I was just wondering, if you wish to commercialize an application
developed in Python, what's the way to go?
I guess the only way is to sell the source, right?

This is because (and tell me if I am wrong):
1) You can't sell an executable because Python doesn't compile to native
code (the usual approach, afaik);
2) You can't sell the bytecode, otherwise you get the client stuck with
a specific python version (given bytecode might vary between versions)
(the alternative);

Cheers,

--
Paulo Jorge Matos - pocmatos at gmail.com
Webpage: http://www.personal.soton.ac.uk/pocm
Oct 21 '08 #1
14 1416
On 2008-10-21, Paulo J. Matos <po******@gmail.comwrote:
Hi all,

I was just wondering, if you wish to commercialize an application
developed in Python, what's the way to go?
I guess the only way is to sell the source, right?

This is because (and tell me if I am wrong):
1) You can't sell an executable because Python doesn't compile to native
code (the usual approach, afaik);
2) You can't sell the bytecode, otherwise you get the client stuck with
a specific python version (given bytecode might vary between versions)
(the alternative);
You can bundle bytecode with a minimal Python snapshot into an
"application". Under Windows, it'll be mostly .dll, .zip, and
..exe files, so the customer need not know it's Python at all
(though it's not hard for an experienced person to figure that
out).

--
Grant Edwards grante Yow! I want you to MEMORIZE
at the collected poems of
visi.com EDNA ST VINCENT MILLAY
... BACKWARDS!!
Oct 21 '08 #2
"Paulo J. Matos" <po******@gmail.comwrites:
Hi all,

I was just wondering, if you wish to commercialize an application
developed in Python, what's the way to go?
I guess the only way is to sell the source, right?
That should be a good way to go about it. It doesn't make it "open
source", you can still bundle the source with a cut-throat license
that does not allow derived products.

1) You can't sell an executable because Python doesn't compile to native
code (the usual approach, afaik);
You can sell py2exe:d package for windows.

Oct 21 '08 #3
Bruno Desthuilliers wrote:
Paulo J. Matos a écrit :
>Hi all,

I was just wondering, if you wish to commercialize an application
developed in Python, what's the way to go?
I guess the only way is to sell the source, right?

Nope, why ?
>This is because (and tell me if I am wrong):
1) You can't sell an executable because Python doesn't compile to native
code (the usual approach, afaik);
2) You can't sell the bytecode, otherwise you get the client stuck with
a specific python version (given bytecode might vary between versions)
(the alternative);

This is the case for quite a few languages (VB6 and Java just to name a
few), and it seems like it didn't prevent anyone writing and selling
commercial software written with these languages.

--
http://mail.python.org/mailman/listinfo/python-list

Truth is I am ignorant as how Java packages are sold. :) About VB I
thought they generate an executable and that is installed on the clients
computer (at least in old VB5, I guess).

Question remains, how would you do it with Python? (I am not saying that
you can't in Python, I just really don't know!)

--
Paulo Jorge Matos - pocmatos at gmail.com
Webpage: http://www.personal.soton.ac.uk/pocm
Oct 21 '08 #4
In article <ma**************************************@python.o rg>,
Paulo J. Matos <po******@gmail.comwrote:
>Hi all,

I was just wondering, if you wish to commercialize an application
developed in Python, what's the way to go?
I guess the only way is to sell the source, right?

This is because (and tell me if I am wrong):
1) You can't sell an executable because Python doesn't compile to native
code (the usual approach, afaik);
2) You can't sell the bytecode, otherwise you get the client stuck with
a specific python version (given bytecode might vary between versions)
(the alternative);
Oct 21 '08 #5
Grant Edwards wrote:
On 2008-10-21, Paulo J. Matos <po******@gmail.comwrote:
>Hi all,

I was just wondering, if you wish to commercialize an application
developed in Python, what's the way to go?
I guess the only way is to sell the source, right?

This is because (and tell me if I am wrong):
1) You can't sell an executable because Python doesn't compile to native
code (the usual approach, afaik);
2) You can't sell the bytecode, otherwise you get the client stuck with
a specific python version (given bytecode might vary between versions)
(the alternative);

You can bundle bytecode with a minimal Python snapshot into an
"application". Under Windows, it'll be mostly .dll, .zip, and
.exe files, so the customer need not know it's Python at all
(though it's not hard for an experienced person to figure that
out).
Ah, ok, thanks, that's exactly what I wanted to know! :) So, there is an
automatic way of creating a python 'package' that bundles the source
code with a Python snapshot! :) Any reference on how to do that?

Thanks,

--
Paulo Jorge Matos - pocmatos at gmail.com
Webpage: http://www.personal.soton.ac.uk/pocm
Oct 21 '08 #6
Paulo J. Matos wrote:
Grant Edwards wrote:
>On 2008-10-21, Paulo J. Matos <po******@gmail.comwrote:
>>Hi all,

I was just wondering, if you wish to commercialize an application
developed in Python, what's the way to go?
I guess the only way is to sell the source, right?

This is because (and tell me if I am wrong):
1) You can't sell an executable because Python doesn't compile to native
code (the usual approach, afaik);
2) You can't sell the bytecode, otherwise you get the client stuck with
a specific python version (given bytecode might vary between versions)
(the alternative);
You can bundle bytecode with a minimal Python snapshot into an
"application". Under Windows, it'll be mostly .dll, .zip, and
.exe files, so the customer need not know it's Python at all
(though it's not hard for an experienced person to figure that
out).

Ah, ok, thanks, that's exactly what I wanted to know! :) So, there is an
automatic way of creating a python 'package' that bundles the source
code with a Python snapshot! :) Any reference on how to do that?
Question cleared:
http://wiki.python.org/moin/DistributionUtilities
Thanks,

--
Paulo Jorge Matos - pocmatos at gmail.com
Webpage: http://www.personal.soton.ac.uk/pocm
Oct 21 '08 #7
Paulo J. Matos wrote:
Paulo J. Matos wrote:
>Grant Edwards wrote:
>>On 2008-10-21, Paulo J. Matos <po******@gmail.comwrote:

Hi all,

I was just wondering, if you wish to commercialize an application
developed in Python, what's the way to go?
I guess the only way is to sell the source, right?

This is because (and tell me if I am wrong):
1) You can't sell an executable because Python doesn't compile to native
code (the usual approach, afaik);
2) You can't sell the bytecode, otherwise you get the client stuck with
a specific python version (given bytecode might vary between versions)
(the alternative);

You can bundle bytecode with a minimal Python snapshot into an
"application". Under Windows, it'll be mostly .dll, .zip, and
.exe files, so the customer need not know it's Python at all
(though it's not hard for an experienced person to figure that
out).

Ah, ok, thanks, that's exactly what I wanted to know! :) So, there is an
automatic way of creating a python 'package' that bundles the source
code with a Python snapshot! :) Any reference on how to do that?


Question cleared:
http://wiki.python.org/moin/DistributionUtilities

Which of the programs there makes an "real" executable,
I mean an executable that can't be reversed engineered in less than 2
minutes ?

cheers,
Stef
>Thanks,



Oct 21 '08 #8
Stef Mientki wrote:
Paulo J. Matos wrote:
>Question cleared:
http://wiki.python.org/moin/DistributionUtilities
Which of the programs there makes an "real" executable,
I mean an executable that can't be reversed engineered in less than 2
minutes ?
None of them, most likely. That's not the use case they were written for.

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco

Oct 21 '08 #9
On 2008-10-21, Paulo J. Matos <po******@gmail.comwrote:
Grant Edwards wrote:
>On 2008-10-21, Paulo J. Matos <po******@gmail.comwrote:
>>Hi all,

I was just wondering, if you wish to commercialize an application
developed in Python, what's the way to go?
I guess the only way is to sell the source, right?

This is because (and tell me if I am wrong):
1) You can't sell an executable because Python doesn't compile to native
code (the usual approach, afaik);
2) You can't sell the bytecode, otherwise you get the client stuck with
a specific python version (given bytecode might vary between versions)
(the alternative);

You can bundle bytecode with a minimal Python snapshot into an
"application". Under Windows, it'll be mostly .dll, .zip, and
.exe files, so the customer need not know it's Python at all
(though it's not hard for an experienced person to figure that
out).

Ah, ok, thanks, that's exactly what I wanted to know! :) So, there is an
automatic way of creating a python 'package' that bundles the source
code with a Python snapshot! :)
No, one usually bundles bytecode.
Any reference on how to do that?
It's already been posted in this thread.

--
Grant Edwards grante Yow! Why is it that when
at you DIE, you can't take
visi.com your HOME ENTERTAINMENT
CENTER with you??
Oct 21 '08 #10
On Oct 21, 12:50 pm, "Paulo J. Matos" <pocma...@gmail.comwrote:
Hi all,

I was just wondering, if you wish to commercialize an application
developed in Python, what's the way to go?
I guess the only way is to sell the source, right?
If this application is a Windows app, and can use .Net, you may wish
to look at how Resolver Systems [1] did it. Their products are written
in IronPython, a python implementation for .Net.

1. http://www.resolversystems.com/products/

Regards,
Erich
Oct 21 '08 #11
>>
Which of the programs there makes an "real" executable,
I mean an executable that can't be reversed engineered in less than 2
minutes ?

None. Who cares? I work for a company that produces a C++ application
with quite a few embedded license checks.

The cracks are available a few hours after a release.

It's as simple as this: all you have against piracy are laws.
Ofuscation, compilation - nothing really helps.

Diez
Oct 21 '08 #12
On 21 Okt, 19:50, "Paulo J. Matos" <pocma...@gmail.comwrote:
>
I was just wondering, if you wish to commercialize an application
developed in Python, what's the way to go?
See here for some answers:

http://wiki.python.org/moin/HowDoYouProtectSource

As I've already said a few times when answering these kinds of
questions, I've seen proprietary software which incorporated Python
bytecode-only modules, and it merely served up inconvenience to the
user for no practical "secret sauce" benefit to the vendor.

Paul
Oct 22 '08 #13
Why don't you give a try to IronPython. I began playin with it
yesterday, and as far as I can see, My worries about selling a python
application are gone, so far.



On Oct 22, 12:08*pm, Paul Boddie <p...@boddie.org.ukwrote:
On 21 Okt, 19:50, "Paulo J. Matos" <pocma...@gmail.comwrote:
I was just wondering, if you wish to commercialize an application
developed in Python, what's the way to go?

See here for some answers:

http://wiki.python.org/moin/HowDoYouProtectSource

As I've already said a few times when answering these kinds of
questions, I've seen proprietary software which incorporated Python
bytecode-only modules, and it merely served up inconvenience to the
user for no practical "secret sauce" benefit to the vendor.

Paul
Oct 22 '08 #14
azrael schrieb:
Why don't you give a try to IronPython. I began playin with it
yesterday, and as far as I can see, My worries about selling a python
application are gone, so far.
Why? It's byte-compiled as the CPython code, and needs an explicit
interpreter installed. So where is the advantage?

Diez
Oct 23 '08 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Rick Thomas | last post by:
http://wingide.com/wingide
15
by: Polerio Babao Jr.II | last post by:
Please correct me if im wrong. I have depended much on python and wxpython gui apps. After a year of using python apps I was able to do good application written entirely in python. One big problem...
23
by: eeykay | last post by:
Hello All, I am trying to convince my client to use Python in his new product. He is worried about the license issues. Can somebody there to point me any good commercial applications developed...
375
by: rkusenet | last post by:
This article is very bleak about future of DB2. How credible is the author. http://www.eweek.com/article2/0,1895,1839681,00.asp
6
by: Internet User | last post by:
Can anyone point me to examples of commercial software packages (i.e. sold through VARs or retail channels) that were programmed in VB.net? Thanks in advance.
20
by: Paul Bromley | last post by:
Not sure if I can ask the question in this forum - please let me know if it is better elsewhere. Does anyone know of a reasonably priced good copy protection program that will protect software on...
8
by: Sin Jeong-hun | last post by:
Hello. This post is not about the C# language itself, but its usage in the real world. I know a lot of commercial Windows desktop applications. But actually I don't think any of them is written in...
0
by: Paulo J. Matos | last post by:
Sebastian Bassi wrote: I feel as if you are replying to a question _against_ python. No, this is definitely not against python. It was just a matter of knowing how Python commercial applications...
0
by: Delaney, Timothy (Tim) | last post by:
Paulo J. Matos wrote: Another option that we've used in the past was to write the "sensitive" bits in Pyrex/Cython. These get compiled to executable code (a .pyd/DLL on Windows, .so on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.