Skip to main content

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.

For more information about CDP, see the official 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

If you do not have Python, please install the latest 3.x version, available from python.org.

Additionally, you will need to make sure you have pip installed. You can check this by running:

$ pip --version

If you're on Linux and installed Python 3.x using your OS package manager, you may need to install pip separately.

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


Download files

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

Source Distribution

cdp-py-1.2.0.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

cdp_py-1.2.0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file cdp-py-1.2.0.tar.gz.

File metadata

  • Download URL: cdp-py-1.2.0.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.5.2

File hashes

Hashes for cdp-py-1.2.0.tar.gz
Algorithm Hash digest
SHA256 1aed8a547696ee394820d532ad0bdc5b6c9027a5fc49e5d3cbbba4b84c4a73a4
MD5 3ad1cb2918c344f3e2dcc8be76f8c466
BLAKE2b-256 7e3b1e76c61a7b2b8ff4cabf992a004c5090fdf6d29c672dd3351a3eaeb48667

See more details on using hashes here.

File details

Details for the file cdp_py-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: cdp_py-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/3.5.2

File hashes

Hashes for cdp_py-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4cf7a7c03d170300032afa04708b3ac0d4a2616c978c0c38caeb26dba40a7739
MD5 3733b653a85eae859b69381d3671be21
BLAKE2b-256 5e7ed957a048bc5d6a181bb2a9d6b7aa8d14ba2bfa961037ce5802ca1adf7ee6

See more details on using hashes here.

Supported by

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