马尔代夫 淡季:Pyro

来源:百度文库 编辑:九乡新闻网 时间:2024/05/05 06:46:55

Pyro - Python Remote Objects - 4.9¶

What is Pyro?¶

It is a library that enables you to build applications in whichobjects 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).

Pyro homepage | Pyro on Python package index |Pyro mailing list | Software License and Disclaimer

Contents¶

  • Intro and Example
    • About Pyro: feature overview
    • What can you use it for?
    • Simple Example
    • Performance
  • Installing Pyro
    • Requirements
    • Obtaining and installing Pyro
    • Stuff you get in the distribution archive
  • Tutorial
    • Warm-up
    • Pyro concepts and tools
    • Building a Warehouse
    • Building a Stock market simulator
    • Running it on different machines
    • Ok, what’s next?
  • Command line tools
    • Name server
    • Name server control
    • Test echo server
    • Configuration check
  • Clients: Calling remote objects
    • Object discovery
    • Calling methods
    • Proxies, connections, threads and cleaning up
    • Oneway calls
    • Batched calls
    • Asynchronous calls and call chains
    • Pyro Callbacks
    • Miscellaneous features
  • Servers: publishing objects
    • Pyro Daemon: publishing Pyro objects
    • Autoproxying
    • Server types and Object concurrency model
    • Other features
  • Name Server
    • Starting the Name Server
    • Configuration items
    • Name server control tool
    • Locating the Name Server and using it in your code
    • The ‘magical’ PYRONAME protocol type
    • Resolving object names
  • Security
    • Pickle as serialization format
    • Network interface binding
    • Running Pyro servers with different credentials/user id
    • Protocol encryption
    • Dotted names (object traversal)
    • Preventing arbitrary connections: HMAC signature
  • Errors and remote tracebacks
    • Pyro errors
    • Remote errors
    • Detailed traceback information
  • Tips & Tricks
    • Logging
    • Multiple network interfaces
    • Wire protocol version
  • Configuring Pyro
    • Overview of Config Items
  • Upgrading from Pyro 3
    • Should I choose Pyro4?
    • Differences
  • Pyro4 library API
    • Pyro4 — Main API package
    • Pyro4.core — core Pyro logic
    • Pyro4.naming — Pyro name server
    • Pyro4.util — Utilities
    • Pyro4.socketutil — Socket related utilities
    • Pyro4.threadutil — wrapper module for threading
    • Pyro4.constants — Constant value definitions
    • Pyro4.config — Configuration items
    • Pyro4.errors — Exception classes
    • Pyro4.test.echoserver — Built-in echo server for testing purposes
    • Socket server API contract
  • Running on alternative Python implementations
    • Jython
    • IronPython
    • Pypy
  • Pyrolite - client library for Java and .NET
  • Change Log
  • Software License and Disclaimer

Indices and tables¶

  • Index
  • Search Page