Ciholas Data Protocol
Project description
cdp-py
The Ciholas Data Protocol (CDP) provides a method of communication between devices and services. CDP data is transmitted over Ethernet as User Datagram Protocol (UDP) packets. cdp-py contains a set of structural definitions of the CDP data items that make up these UDP packets.
To get started with CDP, see the official documentation. For more information regarding the individual data items, visit the data items documentation.
Getting Started
Prerequisites
You need Python 3 or higher to use cdp-py. Make sure you have Python installed and that the expected version is available from your command line. You can check this by running:
$ python --version
Installing
cdp-py can be installed using pip. To install the latest version use:
$ pip install cdp-py
Now that cdp-py package is installed, you can start using the cdp module by adding the following import statement to your Python script:
import cdp
For a tutorial about how to use the cdp module, visit: Using CDP - Python.
Upgrading
To upgrade to the latest version use:
$ pip install --upgrade cdp-py
License
This work is licensed under the Creative Commons Attribution 4.0 International License.
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
Built Distribution
File details
Details for the file cdp-py-1.5.0.tar.gz
.
File metadata
- Download URL: cdp-py-1.5.0.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bb37f3206c4a3cc738bcaf9cc8301adee749c09e2c4539126ac4482db51931b |
|
MD5 | 01675d7d5ca8f44cf5154dcf850de39d |
|
BLAKE2b-256 | 8e0c74393c03be54a1110926f5090b280d92f09c904495357b26717353247ee9 |
File details
Details for the file cdp_py-1.5.0-py3-none-any.whl
.
File metadata
- Download URL: cdp_py-1.5.0-py3-none-any.whl
- Upload date:
- Size: 20.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0f04cf1bde8166a5359aa1541c3c0120f8978bf26b40d397635908e0e4d4a2e |
|
MD5 | a5b3c87b104e75a1ce8f2441b3ebe9d6 |
|
BLAKE2b-256 | 09b19e498f4088b903e1dd45df67acd75036ce1834a8a557604e6666ca830b38 |