Thor

Simple Event-Driven IO for Python
Download

Thor Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Publisher Name:
  • Mark Nottingham
  • Publisher web site:
  • http://www.mnot.net/squij/

Thor Tags


Thor Description

Simple Event-Driven IO for Python Thor is a Python module for evented IO, with a focus on enabling high-performance HTTP intermediaries.Thor's goals are to be as fast as possible, to implement the protocols correctly, and to be simple. You can help meet these goals by contributing issues, patches and tests.Thor's EventEmitter API is influenced by^H^H^H copied from NodeJS; if you're familiar with Node, it shouldn't be too hard to use Thor. However, Thor is nothing like Twisted; this is considered a feature.Currently, Thor has an event loop as well as TCP and HTTP APIs (client and server). New APIs (e.g., UDP, DNS) and capabilities (e.g., TLS) should be arriving soon.InstallationIf you have setuptools, you can install from the repository: easy_install thoror using pip: pip install thorOtherwise, download a tarball and install using: python setup.py installUsing ThorThe documentation is a good starting point; see also the docstrings for the various modules, as well as the tests, to give an idea of how to use Thor. Examples will be forthcoming soon.Support and ContributionsSee http://github.com/mnot/thor/ to give feedback, view and report issues, and contribute code.We welcome all input, but especially code contributions via a Github pull request, and test cases are the cherry on top.Why Thor?Thor is not only "a hammer-wielding god associated with thunder, lightning, storms, oak trees, strength, destruction, fertility, healing, and the protection of mankind", he's also my Norwegian Forest Cat.Thor (the software program) grew out of nbhttp, which itself came from earlier work on evented Python in redbot and tarawa.Thor (the cat) now rules our house with a firm but benevolent paw. He gets sick if we give him any milk, though. Requirements: · Python


Thor Related Software