Python Script for the uplink

Hello, I am working on a project for which I want to send the data from the Python script. I will take data from the user and then send data to the virtual gateway, and after that, I will send the data to chirpstack. Is there any way by which I can send data to the virtual gateway and, after that send data to the chip stack server using the Python script? I am using the LWN simulator for the virtual device and the virtual gateway. link-> GitHub - UniCT-ARSLab/LWN-Simulator: A LoRaWAN nodes' and network simulator that works with a real LoRaWAN environment (such as Chirpstack) and equipped with a web interface for real-time interaction.. Thank you so ,much