### Example Scripts Source: https://github.com/cerebusoss/pycbsdk/blob/dev/README.md Shows how to run included example scripts for printing data rates and handling comments from Cerebus devices. ```Python python -m pycbsdk.examples.print_rates ``` ```Python python -m pycbsdk.examples.comments ``` -------------------------------- ### Install pycbsdk Source: https://github.com/cerebusoss/pycbsdk/blob/dev/README.md Installs the pycbsdk package using pip. This is the first step to using the library. ```Shell pip install pycbsdk ``` -------------------------------- ### Install pycbsdk Source: https://github.com/cerebusoss/pycbsdk/blob/dev/notebooks/README.md Installs the pycbsdk package in developer mode. This requires activating the Python environment, navigating to the pycbsdk folder, and running the pip install command. ```bash pip install -e . ``` -------------------------------- ### Basic pycbsdk Usage Source: https://github.com/cerebusoss/pycbsdk/blob/dev/README.md Demonstrates the fundamental steps to initialize, connect to, and retrieve configuration from a Blackrock Cerebus device using pycbsdk. ```Python from pycbsdk import cbsdk params_obj = cbsdk.create_params() nsp_obj = cbsdk.get_device(params_obj) # NSPDevice instance. This will be the first argument to most API calls. runlevel = cbsdk.connect(nsp_obj) # Bind sockets, change device run state, and get device config. config = cbsdk.get_config(nsp_obj) print(config) ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.