Clarens is a software framework that makes it easy to write stateless, secure, high-performance web services in Python. jClarens is a very similar framework, but the web services are written in Java. Both of these frameworks are distributed with some services that you can use "out of the box". For instance, jClarens provides a service for discovering other services and it is used as part of the Open Science Grid.