ProtoRPC, is a new tool from Google for creating simple Python services, which requires minimal set up and configuration to create new services.
What can you use ProtoRPC web-services for? "Most web apps have the need to send and receive data between different components and/or apps. Typically, developers come up with ad-hoc ways of doing this as quickly as possible. As the app grows larger and the need to share information across components grows, it becomes more difficult to manage. URL end-points are defined and appear inconsistent from one another and a lot of boiler plate code is added checking parameters. This quickly becomes a maintenance nightmare and is a problem that ProtoRPC is built to solve," informs Google.
ProtoRPC makes it easy to write consistent, reliable web interfaces that can be used, for example, to do the following:
- Create AJAX URL end-points for use by dynamic web pages and forms.
- Provide simple and understandable server-to-server communications.
- Become a back-end for command-line tools or other non-web based clients.
Using ProtoRPC, you can define structured web-services right in the apps Python code without having to first learn and write a new interface definition language such as Thrift and Protocol Buffers, however still retain the same powerful features such as interface introspection and automatic client generation.
ProtoRPC is currently available as an separate project that can be downloaded here.
More Info: Getting Started Guide
[Source: Google App Engine Blog]