Twisted

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第19行: 第19行:
 
==Writing a TCP client==
 
==Writing a TCP client==
 
Client: 192.168.1.2 , WinXP
 
Client: 192.168.1.2 , WinXP
 +
==Software that uses Twisted==
 +
*[[BitTorrent]] - a peer-to-peer file sharing program.
 +
*[[BuildBot]] - a distributed building/testing framework.
 +
*[[Python Director]] - pure Python tcp load balancer.
 +
*[[Freevo]] - open-source home theatre and PVR PC platform.
 +
*[[NXLucene]] - a standalone multi-threaded Lucene-based text indexing server.
 +
*[[Zenoss]] - open source network/systems monitoring and management
 +
More details: http://twistedmatrix.com/trac/wiki/ProjectsUsingTwisted
 +
==Links==
 
*http://twistedmatrix.com
 
*http://twistedmatrix.com
 
*下载 - http://download.huihoo.com/python/framework/twisted/
 
*下载 - http://download.huihoo.com/python/framework/twisted/

2007年2月21日 (三) 16:38的版本

Twisted is an event-driven networking framework written in Python and licensed under the MIT license.

High-Level Overview of Twisted

目录

Guide

http://twistedmatrix.com/trac/wiki/Downloads

>>> from twisted.web.client import getPage
>>> from twisted.internet import reactor
>>> def printContents(contents):
print "The Deferred has called printContents with the following contents:"
print contents
reactor.stop()
>>> deferred = getPage('http://www.huihoo.com/')
>>> deferred.addCallback(printContents)
<Deferred at 0xb9afd0>
>>> reactor.run()

Writing a TCP server

Server: 192.168.1.3 , Debian 3.1

Writing a TCP client

Client: 192.168.1.2 , WinXP

Software that uses Twisted

  • BitTorrent - a peer-to-peer file sharing program.
  • BuildBot - a distributed building/testing framework.
  • Python Director - pure Python tcp load balancer.
  • Freevo - open-source home theatre and PVR PC platform.
  • NXLucene - a standalone multi-threaded Lucene-based text indexing server.
  • Zenoss - open source network/systems monitoring and management

More details: http://twistedmatrix.com/trac/wiki/ProjectsUsingTwisted

Links

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱