Home assistant v python

I want to trigger my home assistant (an example music is played or a timer in the home assistant is played) using a Python environment (from spyder anaconda) so that for example: at 6:10 spyder triggers the home assistant. I run the home assistant using Oracle VM virtual. please help

You should be able to use the Home Assistant API to trigger something from Python (using something like Requests to generate the needed call).