{"title":"python\u3067S3\u306bgzip\u5f62\u5f0f\u3067PUT\u3059\u308b","type":"rich","height":"190","version":"1.0","width":"100%","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","categories":["python"],"blog_title":"web-technical-blog","author_url":"https://blog.hatena.ne.jp/yoshitachi/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fweb-technical.hatenablog.com%2Fentry%2F2018%2F10%2F04%2F122103\" title=\"python\u3067S3\u306bgzip\u5f62\u5f0f\u3067PUT\u3059\u308b - web-technical-blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://web-technical.hatenablog.com/entry/2018/10/04/122103","published":"2018-10-04 12:21:03","author_name":"yoshitachi","image_url":null,"description":"Python\u3067S3\u306bgzip\u5f62\u5f0f\u3067PUT\u3059\u308b\u969b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308c\u3070\u3044\u3051\u308b\u3002 Python 2.7.5 import boto3 from boto3.session import Session buff = '111,222,333' # output csv session = Session(aws_access_key_id=your_access_key_id, aws_secret_access_key=your_secret_access_key', ) bucket = \"your-bucket\" key = \"{}.csv.gz\".format(\"yyyy-mm-dd\") i\u2026","blog_url":"https://web-technical.hatenablog.com/"}