Server-chan for python.
pip install pyserverchan
You should go to Server-Chan get a SCKEY and bind WeChat. Your URL will be like 'https://sc.ftqq.com/[SCKEY].send '. You can use following functions to send text, picture, markdown files.
from pyserverchan import pyserver
svc = pyserver.ServerChan(user_URL) # If you're the first time using pyserverchan on this computer
svc = pyserver.ServerChan() # If you're not the first time on this computer
svc.output_to_weixin("ATestMessage.")
svc.output_to_weixin_picture("http://sc.ftqq.com/static/image/bottom_logo.png")
svc.output_to_weixin_markdown("J:/pyserverchan/README.md")