How confd api(s) written in python work?

Hi Confd Team,

I have python script which interacts with confd (cdb.connect, cdb.start_session, cdb.subscribe, cdb.subscribe_done, etc).

I have to find out whether these function definitions are from any library or linked to any c language code.

Any documentation on this could be helpful.

Thanks in Advance,
Kamal

The Python API is implemented on top of the C API. The Python functions you listed invoke their corresponding C counterparts: cdb_start_session(), cdb_subscribe(), etc.

Hi,

I have the enterprise edition of ConfD. I am able to run confd server and want to create a demo client in Python. Can you provide me any Hello-World sort of example in Python to subscribe to CDB ?

Look into example package, directory examples.confd/intro/python.