Skip to content

j4cbo/chiral

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
doc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Chiral

Chiral is a lightweight coroutine-based networking framework for high-performance internet and Web services.

Coroutines in Chiral are based on Python 2.5's generators, as specified in PEP 342. The Coroutine class wraps around a generator and handles scheduling. Coroutines are expected to yield WaitConditions, which carry the conditions for the coroutine to be resumed again. This makes asynchronous networking simple and straightforward; see the API documentation (docstrings) for more.

On top of Coroutines, Chiral provides:

  • TCP connection management
  • High-performance networking with epoll()
  • Introspection and on-the-fly code reloading
  • A fast HTTP server supporting WSGI, with extensions for Coroutine-based pages
  • A native memcached client
  • Deeply-integrated COMET support
  • In progress: an instant messaging framework; a thread pool system for calling blocking code
  • Planned: asynchronous database access with DB-API or SQLAlchemy

Chiral development is currently inactive.

Releases

No releases published

Packages

No packages published

Languages