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.


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

: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
    
  • Build zenoh-python
    python setup.py develop
    

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

Project details


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.dev20220516.tar.gz (51.2 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.dev20220516-cp36-abi3-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.6+Windows x86-64

eclipse_zenoh_nightly-0.6.0.dev20220516-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (6.7 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.17+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220516-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.7 MB view details)

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

eclipse_zenoh_nightly-0.6.0.dev20220516-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl (7.1 MB view details)

Uploaded CPython 3.6+manylinux: glibc 2.12+ i686

eclipse_zenoh_nightly-0.6.0.dev20220516-cp36-abi3-macosx_11_0_arm64.whl (4.7 MB view details)

Uploaded CPython 3.6+macOS 11.0+ ARM64

eclipse_zenoh_nightly-0.6.0.dev20220516-cp36-abi3-macosx_10_9_x86_64.whl (5.0 MB view details)

Uploaded CPython 3.6+macOS 10.9+ x86-64

eclipse_zenoh_nightly-0.6.0.dev20220516-cp36-abi3-macosx_10_9_universal2.whl (9.7 MB view details)

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

File details

Details for the file eclipse-zenoh-nightly-0.6.0.dev20220516.tar.gz.

File metadata

File hashes

Hashes for eclipse-zenoh-nightly-0.6.0.dev20220516.tar.gz
Algorithm Hash digest
SHA256 5ba35b84fb47c16e1b5677b64d47151ad7b8572375deb6fcd8894aa694855737
MD5 7a42427e5c456f5b5c9644d613743ea0
BLAKE2b-256 d9614a6dbb73e8f689959deadde5fd7318510e34b634e14444a7457616c1c39f

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220516-cp36-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220516-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8f89187649ce943dc73c9123c58e626264967e3be63aeab96a7e871c6f591f68
MD5 1dea35554e00e55e1d00d7712a2ebc12
BLAKE2b-256 5a42fd716fd9dd64cf9319ef21ea33680ebff3b7b32e5752010a6bdd3da90b65

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220516-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220516-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0d78ed9e572d393c6b14ab69d9aa2305a070f662cc1ccb3d20d993cd3466c2af
MD5 7c0fecf80582f24cee3408f419648df4
BLAKE2b-256 bb4bd357dc527e5358eddc56f5af4c120cce4d081458587ada2a2eb1d79bec4f

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220516-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220516-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 6b6706db0e1116cc37c6886ca7a59c4b07890d41a309aa06eb08527a110bb400
MD5 0f451cb8232ad165d441af30fc97b37e
BLAKE2b-256 9448bfb49e71b6309e2584e2f6c0cc79ae3e0d546127d0ad0c31fed1800f5dc5

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220516-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220516-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm Hash digest
SHA256 089d32cf97ab57c950b707bf39c48defbf59bc75662470e15f90036a68b8d116
MD5 10d3f4f2fe8d57ea61b719c8661a2d13
BLAKE2b-256 7d436147e6774d240362a74f356bfe6370e5b89a96a0d9bb2cfe9f14bf9cfb2b

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220516-cp36-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220516-cp36-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f349bba83adca13ed3d786214dde76f33e3e5c3999a958b8e1005d1479eb6105
MD5 0437021efb7f29c5644e03fa53744e7f
BLAKE2b-256 5405dbe6de52afb4020e135731e5a76ec1d792f78341240a2691d7abb4a509bc

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220516-cp36-abi3-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220516-cp36-abi3-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fbe96a2c01176d9f4aed8ba203c7202fb7f1d40b65beb91212972b1c5d373358
MD5 91a55f440d3f03edefcd00c9a7504d83
BLAKE2b-256 b34106beb7ce054b1a95211d135a88e9c4975e558f0c7204e7bbfed8799afac7

See more details on using hashes here.

File details

Details for the file eclipse_zenoh_nightly-0.6.0.dev20220516-cp36-abi3-macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for eclipse_zenoh_nightly-0.6.0.dev20220516-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 8cedaf458c6ce68afc9188cdf97bbc8a594ad3e69fef3dcb1b068c73ea57bdd5
MD5 ba97dada25dfddaa971f3f9bd10a30a8
BLAKE2b-256 88504da5309a5bd10070455aecf46ec26cdbac3dd5cd787f748f0f0c4f86374d

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