Connect python logging

Hi, I am new to the this product. I am searching for easy solutions to send logs from python to grafana (probably via loki ). I prefer not to install any local agent, but just use a api url if its possible.
Thnaks for your help.