Pyro - Python Remote Objects - 4.42¶

What is Pyro?¶
It is a library that enables you to build applications in which objects can talk to each other over the network, with minimal programming effort. You can just use normal Python method calls to call objects on other machines. Pyro is written in 100% pure Python and therefore runs on many platforms and Python versions, including Python 3.x.
Pyro is copyright © Irmen de Jong (irmen@razorvine.net | http://www.razorvine.net). Please read Software License and Disclaimer.
Join the Pyro mailing list for questions and discussion. Pyro can be found on Pypi as Pyro4. Source on Github: https://github.com/irmen/Pyro4
Contents¶
- Intro and Example
- Installing Pyro
- Tutorial
- Command line tools
- Clients: Calling remote objects
- Servers: publishing objects
- Name Server
- Starting the Name Server
- Starting the Name Server from within your own code
- Configuration items
- Name server control tool
- Locating the Name Server and using it in your code
- The ‘magical’ PYRONAME protocol type
- Resolving object names
- Registering object names
- Free connections quickly (or: scaling the Name Server)
- Using the name server with pickle or dill serializers
- Yellow-pages ability of the Name Server (metadata tags)
- Other methods in the Name Server API
- Security
- Exceptions and remote tracebacks
- Flame: Foreign Location Automatic Module Exposer
- Tips & Tricks
- Best practices
- Logging
- Multiple network interfaces
- Same major Python version required when using pickle, dill or marshal
- Wire protocol version
- Asynchronous (‘future’) normal function calls
- DNS setup
- Pyro behind a NAT router/firewall
- Failed to locate the nameserver / Connection refused, what now?
- Binary data transfer
- MSG_WAITALL socket option
- IPV6 support
- Pyro and Numpy
- Pyro via HTTP and JSON
- Client information on the current_context, correlation id
- Message annotations
- Connection handshake
- Configuring Pyro
- Upgrading from Pyro 3
- Pyro4 library API
Pyro4
— Main API packagePyro4.core
— core Pyro logicPyro4.naming
— Pyro name serverPyro4.util
— UtilitiesPyro4.socketutil
— Socket related utilitiesPyro4.threadutil
— wrapper module forthreading
Pyro4.message
— Pyro wire protocol messagePyro4.constants
— Constant value definitionsPyro4.config
— Configuration itemsPyro4.errors
— Exception classesPyro4.test.echoserver
— Built-in echo server for testing purposesPyro4.utils.flame
— Foreign Location Automatic Module ExposerPyro4.futures
— asynchronous calls- Socket server API contract
- Running on alternative Python implementations
- Pyrolite - client library for Java and .NET
- Change Log
- Software License and Disclaimer