Pyro4 — Main API package

Pyro4 is the main package of Pyro4. It imports most of the other packages that it needs and provides shortcuts to the most frequently used objects and functions from those packages. This means you can mostly just import Pyro4 in your code to start using Pyro.

The classes and functions provided are:

symbol in Pyro4 referenced location
Pyro4.config
the current configuration settings, Pyro4.configuration.config
Pyro4.current_context
the current client context, Pyro4.core.current_context
class Pyro4.URI
Pyro4.core.URI
class Pyro4.Proxy
Pyro4.core.Proxy
class Pyro4.Daemon
Pyro4.core.Daemon
class Pyro4.Future
Pyro4.futures.Future
Pyro4.callback()
Pyro4.core.callback()
Pyro4.batch()
Pyro4.core.batch()
Pyro4.asyncproxy()
Pyro4.core.asyncproxy()
Pyro4.locateNS()
Pyro4.naming.locateNS()
Pyro4.resolve()
Pyro4.naming.resolve()
Pyro4.expose()
Pyro4.core.expose() (decorator @expose)
Pyro4.oneway()
Pyro4.core.oneway() (decorator @oneway)
Pyro4.behavior()
Pyro4.core.behavior() (decorator @behavior)

See also

Module Pyro4.core
The core Pyro classes and functions.
Module Pyro4.naming
The Pyro name server logic.