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](http://cuwb.io/docs/v3.0/software-integration/cdp-output-definition/).
## 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](https://www.python.org/downloads/).
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:
```python
import cdp
```
For a tutorial about how to use the _cdp_ module, visit: [Using CDP - Python](http://cuwb.io/docs/v3.0/application-notes/using-cdp-python/#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](http://creativecommons.org/licenses/by/4.0/) License.
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](http://cuwb.io/docs/v3.0/software-integration/cdp-output-definition/).
## 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](https://www.python.org/downloads/).
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:
```python
import cdp
```
For a tutorial about how to use the _cdp_ module, visit: [Using CDP - Python](http://cuwb.io/docs/v3.0/application-notes/using-cdp-python/#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](http://creativecommons.org/licenses/by/4.0/) 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
cdp-py-1.3.1.tar.gz
(13.3 kB
view details)
Built Distribution
cdp_py-1.3.1-py3-none-any.whl
(15.1 kB
view details)
File details
Details for the file cdp-py-1.3.1.tar.gz
.
File metadata
- Download URL: cdp-py-1.3.1.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b917ea2eb95cfb125f8dcb7ed20e9b0f67eb27bdee5df75bba71b672087a385 |
|
MD5 | 0e5eb8c95fff4d7941883ef61f451036 |
|
BLAKE2b-256 | d86d813c67dbe2407f790120040fdaf30bcd511ccb9b48cd626449be6021ec4f |
File details
Details for the file cdp_py-1.3.1-py3-none-any.whl
.
File metadata
- Download URL: cdp_py-1.3.1-py3-none-any.whl
- Upload date:
- Size: 15.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4d3fdef53c4bebb4bb423430adc91b93294cf3616821a9b8035f176921d3c5a |
|
MD5 | 10e9194535d518f98b4b2b3a454d4735 |
|
BLAKE2b-256 | e3e57060962c5356059ecb134b63d74f41a3417dec487edb4ded5949e73e9808 |