I have a public file on cloudstorage with public url = https://storage.googleapis.com/xyz/abc.pdf
url = https://storage.googleapis.com/xyz/abc.pdf
import requests requests.get(url) # gives stat