code examples from article https://www.the-swamp.info/blog/some-lesser-known-features-google-cloud-storage/
examples were run under Python 3.x
pip install -r requirements.txt -t lib
you need to create Service Account in Cloud Console and download private key in JSON format
in setting.py file set bucket name and path to private key