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


Groups > comp.lang.python > #20047

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 <rodrick.brown@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.041
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'python.': 0.04; 'currently,': 0.07; 'python': 0.08; 'subject:python': 0.10; 'library': 0.13; 'received:209.85.213.174': 0.16; 'received:mail- yx0-f174.google.com': 0.16; 'subject:server': 0.16; 'cc:addr :python-list': 0.16; 'wrote:': 0.18; 'header:In-Reply-To:1': 0.22; 'feb': 0.22; 'checkout': 0.25; 'cc:2**0': 0.26; 'url:mailman': 0.27; 'server.': 0.28; 'subject:web': 0.28; 'cc:addr:python.org': 0.29; 'pm,': 0.29; 'server': 0.30; 'host': 0.30; 'standalone': 0.30; 'message-id:@gmail.com': 0.31; '---': 0.31; 'url:listinfo': 0.32; 'there': 0.33; 'too': 0.33; 'wondering': 0.34; 'deploy': 0.34; 'root': 0.34; 'wont': 0.34; 'something': 0.35; 'url:python': 0.35; 'http': 0.37; 'run': 0.37; 'but': 0.37; 'charset:us-ascii': 0.37; 'received:google.com': 0.37; 'using': 0.37; 'another': 0.37; 'received:209.85': 0.38; 'url:org': 0.39; 'received:209': 0.39; 'easy': 0.60; 'your': 0.61; 'header:Message-Id:1': 0.62; 'website': 0.65; 'physical': 0.79; '2012,': 0.84; 'distort': 0.84; 'server)': 0.84; 'rita': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; bh=RakA/XCQ5OyYO8aWWhZqSjt0PXOE+1oIEYQIQ4dXACI=; b=CGk8ZlmJexS6ehEJzZ43tA8EKG8erm3BHXgow1muSZ/WHdGJuWtIIK3lCSrqYY48G3 +BeDnqWljjsrdYDjolLpWhjeQ6Z+5MJ3f3NsVLbvCNiLwxoISsSKa6AieHIVYw2EOh2x wIhB+QdDWwSpgRZ6xVpUX6LzlxmSwa8pzCEe8=
References <CAOF-KfgK0YcmqQ3BKS_2arX5-WVpk--Txq2dEQCTg7dy4V4LTw@mail.gmail.com>
In-Reply-To <CAOF-KfgK0YcmqQ3BKS_2arX5-WVpk--Txq2dEQCTg7dy4V4LTw@mail.gmail.com>
Mime-Version 1.0 (1.0)
Content-Transfer-Encoding quoted-printable
Content-Type text/plain; charset=us-ascii
X-Mailer iPhone Mail (9A405)
From Rodrick Brown <rodrick.brown@gmail.com>
Subject Re: standalone python web server
Date Wed, 8 Feb 2012 23:12:04 -0500
To Rita <rmorgan466@gmail.com>
Cc "python-list@python.org" <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.5563.1328760741.27778.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1328760741 news.xs4all.nl 6934 [2001:888:2000:d::a6]:56579
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:20047

Show key headers only | View raw


On Feb 8, 2012, at 11:01 PM, Rita <rmorgan466@gmail.com> wrote:

> 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. I would like to run it on port :8080 since I wont have root access also I prefer something easy to deploy meaning I would like to move the server from one physical host to another without too much fuss. 
> 
> Currently, I am using flask (development server) and everything is ok but the performance is really bad.
> 

Checkout TwistedWeb it's an HTTP server that can be used as a library or standalone server.

$ twistd web --path . --port 8080
> 
> 
> -- 
> --- Get your facts first, then you can distort them as you please.--
> -- 
> http://mail.python.org/mailman/listinfo/python-list

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


Thread

Re: standalone python web server Rodrick Brown <rodrick.brown@gmail.com> - 2012-02-08 23:12 -0500
  Re: standalone python web server Roy Smith <roy@panix.com> - 2012-02-08 23:31 -0500

csiph-web