ConnectPort X4 and WAMPserver

Can use the WAMP with the gateway CPX4 in Python Script ?
I want to record the data from the CPX4 in DataBase (WAMP)
My CPX4 is connect to Router (via Cable ethernet)
WAMP is installed in the PC