Twisted Matrix

From Fabelier
Jump to: navigation, search

November, 24th, 6pm, @CRI, by Joaquin Keller

From Wikipedia : Twisted is an event-driven network programming framework written in Python and licensed under the MIT License. Twisted projects variously support TCP, UDP, SSL/TLS, IP Multicast, Unix domain sockets, a large number of protocols (including HTTP, XMPP, NNTP, IMAP, SSH, IRC, FTP, and others), and much more. Twisted is based on the event-driven programming paradigm, which means that users of Twisted write short callbacks which are called by the framework.

Home Page of the project.

Contents

blackboard link

https://docs.google.com/document/d/1u116RsdascXqHR2L76Nnw8qUz7ZSvgzKcGPo0MFC6V4/edit?hl=en&authkey=CNzh0ssB

About The Workshop

Program:

  • write a webserver (10 lines of code)
  • write a webclient (10 lines of code)
  • pagemixer: build a webpage using other webpages
  • web collage: fetch pages with webclient mix them with pagemixer serve the result with webserver

Prepare for the Workshop

Please install what you need to run twisted on your machine before the workshop, and fill this wiki section to let us know about the issues you might have found while installing.

Installing windows and macOS

Install python, beautifulsoup and nevow using the adhoc installers

http://www.python.org/download/

http://divmod.org/trac/wiki/DivmodNevow

http://www.crummy.com/software/BeautifulSoup/#Download

Installing Twisted on Ubuntu (or other debian distro)

sudo apt-get install python-twisted python-beautifulsoup python-nevow
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox