Interface Wireless Sensor with Ethernet relay through Raspberry PI secure LAN port communication

any sample in python for this kind of solution?
so that ill be able to modify as per my sufficiency.