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


Groups > comp.lang.python > #20067

Re: standalone python web server

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <thbach@students.uni-mainz.de>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.039
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'python.': 0.04; 'received:134': 0.05; 'python': 0.08; 'subject:python': 0.10; 'nginx,': 0.16; 'subject:server': 0.16; 'wsgi': 0.16; 'cc:addr :python-list': 0.16; 'describes': 0.18; 'shipped': 0.18; 'cc:no real name:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'writes:': 0.25; 'cc:2**0': 0.26; 'subject:web': 0.28; 'cc:addr:python.org': 0.29; 'server': 0.30; 'robust': 0.30; 'url:projects': 0.30; 'pretty': 0.31; 'there': 0.33; 'header:User-Agent:1': 0.33; 'received:84': 0.34; 'wondering': 0.34; 'light': 0.35; 'probably': 0.35; 'several': 0.38; 'url:org': 0.39; 'url:en': 0.39; "i'd": 0.39; 'received:de': 0.39; 'setup': 0.40; 'easy': 0.60; '8bit%:21': 0.62; 'website': 0.65; 'ship': 0.78; 'pyramid': 0.84; 'received:10.94': 0.84; 'rita': 0.91; '8bit%:18': 0.95
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=uni-mainz.de; i=thbach@students.uni-mainz.de; q=dns/txt; s=ironport; t=1328786912; x=1360322912; h=from:to:cc:subject:references:date:in-reply-to: message-id:mime-version:content-transfer-encoding; bh=ej1wuJCrVMUUawXPJRzPnExebKnC1tprfrBJjnf2/m4=; b=Y4O4zcGbTDcIkyDNfGlalAmhdGs7I9J3/qnScCgs89tXzS5zZ5oKgDKi 2i1bJUcEax1VRPZXgSuUy0wcvaXFg2RbzAS90Tfqk/IyZktNmXEUQhxEQ By+U0wTWTSJcC+tB+rirH5jXpbc/NgHL1X+6szm/tcNw8hZCBcLH1hD3F Y=;
X-IronPort-Anti-Spam-Filtered true
X-IronPort-Anti-Spam-Result Ap4EADitM08KXgZQ/2dsb2JhbABEhQ+rG4FyAQEEASNNCQULCxoCBSECAg8BBA0cChYOBYd8AwanSJIUgS+GdIMnAiUcCQYLDwoDBwEjAwGDYoMDgRYElTCLD4dU
From Thomas Bach <thbach@students.uni-mainz.de>
To Rita <rmorgan466@gmail.com>
Subject Re: standalone python web server
References <CAOF-KfgK0YcmqQ3BKS_2arX5-WVpk--Txq2dEQCTg7dy4V4LTw@mail.gmail.com>
Date Thu, 9 Feb 2012 12:28:21 +0100
In-Reply-To <CAOF-KfgK0YcmqQ3BKS_2arX5-WVpk--Txq2dEQCTg7dy4V4LTw@mail.gmail.com> (Rita's message of "Wed, 8 Feb 2012 23:01:08 -0500")
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)
MIME-Version 1.0
Content-Type text/plain; charset="utf-8"
Content-Transfer-Encoding quoted-printable
X-Originating-IP [84.123.65.57]
Cc python-list@python.org
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.5580.1328786912.27778.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1328786912 news.xs4all.nl 6963 [2001:888:2000:d::a6]:35874
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:20067

Show key headers only | View raw


Rita <rmorgan466@gmail.com> writes:

> I am building a small intranet website and I would like to use
> Python. I was wondering if there was a easy and medium performance
> python based web server available. 

Are you going to use a framework? Most of these ship with a light
web server implementation… You probably want to check these out too…

I got a pretty robust setup via
+ nginx,
+ supervisord,
+ the web server shipped with Pyramid

If you want to use the WSGI standard I'd recommend to read

http://docs.pylonsproject.org/projects/pyramid_cookbook/en/latest/deployment.html 

This document describes several possible set ups to serve an WSGI
application…


Regards,
        vince   

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


Thread

Re: standalone python web server Thomas Bach <thbach@students.uni-mainz.de> - 2012-02-09 12:28 +0100

csiph-web