https://forum.omz-software.com/search/tumblr?in=titlesposts shows that several Pythonista users have done things with Tumblr so in theory it is all possible but it will require work but is you get stuck, come back here with specific questions and we will try to help. Do you know Python already or is that also part of the exercise)?