PyHttpRPC /

Filename Size Date modified Message
docs
examples
pyhttprpc
tests
97 B
363 B
415 B
1.1 KB
1.7 KB
1.3 KB

PyHttpRPC is a Python to Python Remote Procedure Call (RPC) solution that uses the HTTP protocol for communication. Unlike the vast majority of Python RPC mechanisms, it is capable of transporting Python objects by value to the other side while retaining type information, even for user defined classes.

Additional features like HTTPS, gzip compression and configurable timeouts are available depending on the server and client of choice. Serialization security issues are handled by allowing users to define which modules/classes can be automatically imported on deserialization.

Several alternative clients are available:

  • A client using the standard library httplib module
  • A client based on the standard library urllib2 module
  • A client using httplib2
  • An asynchronous client using Twisted

Servers are provided as controllers/handlers for several web frameworks:

Two alternative serialization mechanisms are available:

  • Pickle (Python standard library, default)
  • AMF using PyAMF

Note

Installation on Python 3.x requires distribute due to the required 2to3 conversion.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.