Skip to main content

The python API for Eclipse zenoh

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

CI Documentation Status Discussion Discord License License

Eclipse zenoh Python API

Eclipse zenoh is an extremely efficient and fault-tolerant Named Data Networking (NDN) protocol that is able to scale down to extremely constrainded devices and networks.

Check the website zenoh.io and the roadmap for more detailed information.


How to install it

The Eclipse zenoh-python library is available on Pypi.org. Install the latest available version using pip:

pip install eclipse-zenoh

To install the latest nightly build of the development version do:

pip install eclipse-zenoh-nightly

:warning:WARNING:warning: zenoh-python is developped in Rust. On Pypi.org we provide binary wheels for the most common platforms (MacOS, Linux x86). But also a source distribution package for other platforms. However, for pip to be able to build this source distribution, there some prerequisites:

  • pip version 19.3.1 minimum (for full support of PEP 517). (if necessary upgrade it with command: 'sudo pip install --upgrade pip' )
  • Have a Rust toolchain installed (instructions at https://rustup.rs/)

Supported Python versions and platforms

zenoh-python has been tested with Python 3.6, 3.7, 3.8 and 3.9.

It relies on the zenoh Rust API which require the full std library. See the list Rust supported platforms here: https://doc.rust-lang.org/nightly/rustc/platform-support.html .


How to build it

Requirements:

Steps:

  • Install developments requirements:

    pip install -r requirements-dev.txt
    
  • Ensure your system can find the building tool maturin. For example, it is placed at $HOME/.local/bin/maturin by default on Ubuntu 20.04.

    export PATH="$HOME/.local/bin:$PATH"
    
  • Build zenoh-python

    maturin build --release
    

This will automatically build the zenoh Rust API, as well as the zenoh-python API and install it in your Python environement.


Running the Examples

The simplest way to run some of the example is to get a Docker image of the zenoh network router (see https://github.com/eclipse-zenoh/zenoh#how-to-test-it) and then to run the examples on your machine.

Then, run the zenoh-python examples following the instructions in examples/zenoh/README.md

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eclipse_zenoh_nightly-0.6.0_dev20220829.tar.gz (107.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.7+Windows x86-64

eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-win32.whl (4.2 MB view details)

Uploaded CPython 3.7+Windows x86

eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (6.8 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARMv7l

eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (7.1 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (7.1 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ x86-64

eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.5 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (10.2 MB view details)

Uploaded CPython 3.7+macOS 10.9+ universal2 (ARM64, x86-64)macOS 10.9+ x86-64macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-macosx_10_7_x86_64.whl (5.3 MB view details)

Uploaded CPython 3.7+macOS 10.7+ x86-64

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220829.tar.gz.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220829.tar.gz
Algorithm Hash digest
SHA256 958a7c7b57d3756ec6b53cbe2a4763d7c444f9d6c771c72d5e8e9bb23650e52f
MD5 ed0fb94d420496d9644247e994837aa7
BLAKE2b-256 711389dc4d7272875f3007ddd357319f7b33a3175f93a65eebe8fdfcfaab4da2

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 53f4600a8f9810b11732918fa932b334d05af9ffed9a913481c782fecc227881
MD5 0464f6b5757fa9b6b996361405a8e3d2
BLAKE2b-256 5eb3cd3b8bfe75e1c097dc40cc65b038fc58631c811dc4543746d977057b5005

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-win32.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-win32.whl
Algorithm Hash digest
SHA256 b29d858553a85814744b87e077c3ce7b070cbaebd7f124f51db32f148b34b190
MD5 6b2b0ade1420277f191b367f55615006
BLAKE2b-256 752618dd16dc22f49cd55f09178784a7deb50c7acbc60dd54fa8b9f560760ffc

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 44242e1ca9090ccbf30f8631d645e636b45a8a224f5464d9ed3dc02524a1be6e
MD5 4a64718523ef7336d26492d2d44f1cff
BLAKE2b-256 be3a9d5a38bcd39c137badced3381b652d37beb7d9ee7290e2b749a95c713482

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 08698bc73de5f87776d7f8858c2e308eb93ef94cda2e3b165f4cf1f66b850360
MD5 5cb124e811c4239241531e7dc5233553
BLAKE2b-256 4202a97a57bd83db0bd1633b64f2dda17cd5f595f6af3bb6b6e5e70ee475377a

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 1a7f68d0178e9bd6a808f78a0378836aaf4c0da56d14e2f39fc5660763cd08c5
MD5 70a1ce711fe3aa4e762b926093f442e3
BLAKE2b-256 73d6bb4bbecc3bbc64ef83162b5e3b6dca7cccfda75c56510505ee68d5337be4

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 ce0b93d6594793ec58feaea463ad01e30ae7642117e49896051fdfe460d58c93
MD5 d1ff785dc9179e4e04c28dff8f18e6f5
BLAKE2b-256 2f25a6fccdacd4b420460835928f2e606ac97e0b1464cfb8f2152feeae48d6ad

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 539a7a74b6915deed6766cbaacc3792d7d8e64552ab54e03074db5d691f8a7f5
MD5 38f8dbd85f77a2bc8487570317240a8b
BLAKE2b-256 046d698dd00e4602f8cb733162f0bff30cd7970fb61613de60a72ea16fda7384

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0_dev20220829-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 fd4981233dddf2f590ac26f70f7b9109480fb65b7940c5b67a1d9a21152d2277
MD5 8a578f24a5fef2920aafd083f21f252a
BLAKE2b-256 26afc0fd21eb43ff98048819827d6bb2f32beebe61d02d663a03a0e2bb4895f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page