I'm looking for recommendations on a library to use for a FastCGI server in Python.
You mean flup? That's technically a FastCGI server (the client might be, say, Apache -- Apache's a web server but, with mod_fastcgi
, acts as a FCGI client, sending requests to FCGI applications that serve them). I suspect you mean the other way 'round (in which case I don't know of any such libraries) simply because people are generally swapping the client and server terminology on FCGI (just like they do, e.g., in X11;-) -- just thought I'd answer, just in case you do have your terminology right.
See here for a case in which even the great Ian Bicking used the FCGI terminology wrong (he was asking for a server, too, but meant a client -- and didn't get any usable suggestions as far as I can see in the thread), which strongly suggest the terminology it borken (but, alas, it's estabilished in standards documents, so I don't think it can easily be flipped!-).
libfcgi for python is simple but has shorter learning curve than the full-featured packages. Allows you to write python fastcgi server, i.e. the web server connects as client to your python script. This is worth trying if you have had trouble getting the other packages to work on windows.