Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #5466

Re: obviscating python code for distribution

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <prologic@shortcircuit.net.au>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.024
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'python': 0.07; 'received:209.85.160.174': 0.09; 'received:mail- gy0-f174.google.com': 0.09; 'to:name:python list': 0.09; 'pm,': 0.11; 'wrote:': 0.14; 'subject:python': 0.15; 'subject:distribution': 0.16; '16,': 0.16; 'meant': 0.18; 'header :In-Reply-To:1': 0.22; 'mon,': 0.22; 'subject:code': 0.23; 'message-id:@mail.gmail.com': 0.28; 'received:209.85.160': 0.28; 'daniel': 0.29; 'harm': 0.31; 'solved': 0.31; 'however,': 0.31; 'to:addr:python-list': 0.32; 'skip:" 10': 0.34; 'there': 0.35; 'doing': 0.36; 'getting': 0.36; 'else': 0.37; 'some': 0.37; 'raw': 0.37; 'received:209.85': 0.37; 'manner.': 0.38; 'received:google.com': 0.38; 'used': 0.38; 'much.': 0.39; 'to:addr:python.org': 0.39; 'could': 0.39; 'received:209': 0.39; 'would': 0.40; 'header:Received:5': 0.40; 'design,': 0.60; '2011': 0.62; '12:21': 0.84; 'readability': 0.84
MIME-Version 1.0
In-Reply-To <BANLkTinvqWtiwGePXGpcgikfiArg32c58w@mail.gmail.com>
References <4DD08620.4030507@tysdomain.com> <BANLkTinvqWtiwGePXGpcgikfiArg32c58w@mail.gmail.com>
From James Mills <prologic@shortcircuit.net.au>
Date Mon, 16 May 2011 12:36:56 +1000
Subject Re: obviscating python code for distribution
To python list <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1613.1305513445.9059.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 82.94.164.166
X-Trace 1305513445 news.xs4all.nl 41102 [::ffff:82.94.164.166]:58216
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:5466

Show key headers only | View raw


On Mon, May 16, 2011 at 12:21 PM, Daniel Kluev <dan.kluev@gmail.com> wrote:
> No, there is no way to prevent users from getting access to raw python
> sources. By its nature and design, python is not meant to be used this
> way, and even obfuscation would not harm readability much.
> However, you can write all parts you want to hide in C/C++/Cython and
> distribute them as .so/.dll

Or you could do what everyone else is doing
and provide your "application" as a service in some manner.

cheers
James

-- 
-- James Mills
--
-- "Problems are solved by method"

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: obviscating python code for distribution James Mills <prologic@shortcircuit.net.au> - 2011-05-16 12:36 +1000

csiph-web