Skip to main content

Pyro5

Remote objects communication library, fifth major version

https://img.shields.io/badge/say-thanks-ff69b4.svg https://travis-ci.org/irmen/Pyro5.svg?branch=master https://img.shields.io/pypi/v/Pyro5.svg https://anaconda.org/conda-forge/pyro5/badges/version.svg https://img.shields.io/lgtm/grade/python/g/irmen/Pyro5.svg?logo=lgtm&logoWidth=18 https://img.shields.io/lgtm/alerts/g/irmen/Pyro5.svg?logo=lgtm&logoWidth=18

Info

Pyro 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, and Pyro takes care of locating the right object on the right computer to execute the method. It is designed to be very easy to use, and to stay out of your way. But it also provides a set of powerful features that enables you to build distributed applications rapidly and effortlessly. Pyro is a pure Python library and runs on many different platforms and Python versions.

Pyro is copyright © Irmen de Jong (irmen@razorvine.net | http://www.razorvine.net). Please read the file license.

Pyro can be found on Pypi as Pyro5. Source is on Github: https://github.com/irmen/Pyro5 Documentation is here: https://pyro5.readthedocs.io/

Pyro5 is the current version of Pyro. Pyro4 is the predecessor that only gets important bugfixes and security fixes, but is otherwise no longer being improved. New code should use Pyro5 if at all possible.

Features

  • written in 100% Python so extremely portable, supported on Python 3.6 and newer, and Pypy3

  • works between different system architectures and operating systems.

  • able to communicate between different Python versions transparently.

  • defaults to a safe serializer (serpent) that supports many Python data types.

  • supports different serializers (serpent, json, marshal, msgpack).

  • can use IPv4, IPv6 and Unix domain sockets.

  • optional secure connections via SSL/TLS (encryption, authentication and integrity), including certificate validation on both ends (2-way ssl).

  • lightweight client library available for .NET and Java native code (‘Pyrolite’, provided separately).

  • designed to be very easy to use and get out of your way as much as possible, but still provide a lot of flexibility when you do need it.

  • name server that keeps track of your object’s actual locations so you can move them around transparently.

  • yellow-pages type lookups possible, based on metadata tags on registrations in the name server.

  • support for automatic reconnection to servers in case of interruptions.

  • automatic proxy-ing of Pyro objects which means you can return references to remote objects just as if it were normal objects.

  • one-way invocations for enhanced performance.

  • batched invocations for greatly enhanced performance of many calls on the same object.

  • remote iterator on-demand item streaming avoids having to create large collections upfront and transfer them as a whole.

  • you can define timeouts on network communications to prevent a call blocking forever if there’s something wrong.

  • remote exceptions will be raised in the caller, as if they were local. You can extract detailed remote traceback information.

  • http gateway available for clients wanting to use http+json (such as browser scripts).

  • stable network communication code that has worked reliably on many platforms for over a decade.

  • can hook onto existing sockets created for instance with socketpair() to communicate efficiently between threads or sub-processes.

  • possibility to integrate Pyro’s event loop into your own (or third party) event loop.

  • three different possible instance modes for your remote objects (singleton, one per session, one per call).

  • many simple examples included to show various features and techniques.

  • large amount of unit tests and high test coverage.

  • reliable and established: built upon more than 20 years of existing Pyro history, with ongoing support and development.

Metadata

Release files for Pyro5 5.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Pyro5 5.12
File Size Uploaded Provenance Actions
Pyro5-5.12.tar.gz 443.7 kB Without provenance Details for Pyro5-5.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Pyro5 5.12
File Interpreter ABI Platform Actions
Pyro5-5.12-py3-none-any.whl Python 3 none any Details for Pyro5-5.12-py3-none-any.whl

Total release size: 521.5 kB

Release files / Pyro5-5.12.tar.gz

Download URL Pyro5-5.12.tar.gz
Size 443.7 kB
Tags Source
SHA-256 checksum
How to use checksums
616e6957c341da0ca26f947805c9c97b42031941f59ca5613537d1420ff4f2e2
BLAKE2b-256 checksum
How to use checksums
d4bbcd2970035f47ed10e7453567e48557ffc9f93684957dcefd2861b8635bde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

Release files / Pyro5-5.12-py3-none-any.whl

Download URL Pyro5-5.12-py3-none-any.whl
Size 77.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
050ce83a5e2ee4fffafbdd3fbf61732cf5107040aecd9633c9aaa6b2b1a35c63
BLAKE2b-256 checksum
How to use checksums
9752e6110ba52055d39f3806a55ea7f270dd755e0989326ffd7e89f7dcb8b6df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

Security for Pyro5 5.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page