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.6.2.tar.gz
.
File metadata
- Download URL: cdp-py-1.6.2.tar.gz
- Upload date:
- Size: 22.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ba6514a8354c864dda0c60b31675d243455f34e16eae2f49bdbe7ffc8059d30 |
|
MD5 | bc057c1c07ed870f42c5a9c668790fe1 |
|
BLAKE2b-256 | d7258adfe0b35b706571ee70a0e018654c4c30fcf795c22c46f47f5494482797 |
File details
Details for the file cdp_py-1.6.2-py3-none-any.whl
.
File metadata
- Download URL: cdp_py-1.6.2-py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae6c0d7c2177358906bbcfac6cf78f694c919740beafde587dcafdf63af1c03a |
|
MD5 | f230d43f79d76c8e8b356da3e12900b3 |
|
BLAKE2b-256 | d5c425b0c66fa1470134a056be8b0f310de8eb308242137904834948c15e70a9 |