Skip to content

Instantly share code, notes, and snippets.

View alk-sramond's full-sized avatar
👨‍🌾
Coding

Samuel "maverick" RAMOND alk-sramond

👨‍🌾
Coding
View GitHub Profile
@alk-sramond
alk-sramond / azure_media.py
Created May 28, 2019 16:51
upload file to public blob azure
from azure.storage.blob import (
BlockBlobService,
ContentSettings,
)
local_path = '/tmp/my/image/random.jpeg'
container_name = 'my-bucket'
content_type = 'image/jpeg'