Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python.': 0.02; 'frameworks': 0.05; '21,': 0.07; 'seemed': 0.07; 'python': 0.09; 'cherrypy,': 0.09; 'django,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'turbogears,': 0.09; '+0300': 0.16; 'disk.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'refactoring': 0.16; 'url:virtualenv': 0.16; 'wed,': 0.16; 'wrote:': 0.17; '(or': 0.18; 'code.': 0.20; 'trying': 0.21; 'cheers,': 0.23; 'work.': 0.23; 'installed': 0.23; 'seems': 0.23; 'tried': 0.25; 'header:User- Agent:1': 0.26; 'am,': 0.27; 'header:X-Complaints-To:1': 0.28; 'chris': 0.28; 'points': 0.29; 'source': 0.29; "i'm": 0.29; 'install': 0.29; 'normally': 0.30; 'url:2012': 0.30; 'code': 0.31; 'right?': 0.33; 'turns': 0.33; 'to:addr:python-list': 0.33; 'recommended': 0.33; 'another': 0.33; 'version': 0.34; "can't": 0.34; 'list': 0.35; 'nov': 0.35; 'something': 0.35; 'received:org': 0.36; 'really': 0.36; 'url:org': 0.36; 'too': 0.36; 'charset:us-ascii': 0.36; 'author': 0.37; 'beyond': 0.37; 'level': 0.37; 'subject:: ': 0.38; 'fact': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'here:': 0.62; 'different': 0.63; 'more': 0.63; 'url:blogspot': 0.64; 'here': 0.65; 'management': 0.65; 'total': 0.65; 'market': 0.66; 'car': 0.69; 'lack': 0.71; 'url:11': 0.71; 'complexity': 0.84; 'excessive': 0.84; 'received:sd.cox.net': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: rh Subject: Re: Web Frameworks Excessive Complexity Date: Wed, 21 Nov 2012 10:57:03 -0800 References: <20121121094939.2be7ebf0809c1959538f8166@lavabit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: ip68-6-43-149.sb.sd.cox.net User-Agent: dsodnetnin X-Mailer: EZnn0.37p X-Newsreader: EZnn0.37p X-Gmane-NNTP-Posting-Host: EZnn0.37p Original-Received: from slem by 1.1 with local X-No-Archive: yes Archive: no X-Archive: expiry=11 X-Archive: encrypt X-Operating-System: Barebones_6.1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 41 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1353524190 news.xs4all.nl 6965 [2001:888:2000:d::a6]:34720 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:33756 On Wed, 21 Nov 2012 10:12:26 -0800 Chris Rebert wrote: > On Wed, Nov 21, 2012 at 9:49 AM, rh > wrote: > > On Tue, 20 Nov 2012 20:41:42 +0300 > > Andriy Kornatskyy wrote: > >> Cyclomatic (or conditional) complexity is a metric used to indicate > >> the complexity of a source code. Excessive complexity is something > >> that is beyond recommended level of 10 (threshold that points to > >> the fact the source code is too complex and refactoring is > >> suggested). Here is a list of web frameworks examined: bottle, > >> cherrypy, circuits, django, flask, pyramid, pysi, tornado, > >> turbogears, web.py, web2py and wheezy.web. > >> > >> You can read more here: > >> > >> http://mindref.blogspot.com/2012/11/python-web-excessive-complexity.html > > > > You are the author of wheezy.web right? Can't blame you for trying > > to market your product. The conclusions, or lack of, are > > meaningless to me. I have to get in and drive the car before I go > > all in and buy it. > > > > I'm looking at different technology right now on which to base a > > site. I tried pyramid and after install it consumed 92MB of disk. > > It seemed large and it turns out that it installed its own version > > of python. Seems more complex to me, yet another python on disk. > > That's how virtualenvs (http://www.virtualenv.org/ ) normally work. > Not really Pyramid's fault, it's more a deficiency of the current > Python package management tools. There's still 92MB under pyramid, I just installed a new virtualenv and installed wheezy.web, grand total 3.3MB. What deficiency? > > Cheers, > Chris