Skip to content

Instantly share code, notes, and snippets.

View dilip2048's full-sized avatar

Dilip Yadav dilip2048

View GitHub Profile
@gleicon
gleicon / list_objects_google_storage_boto3.py
Last active February 12, 2025 11:40
How to use boto3 with google cloud storage and python to emulate s3 access.
from boto3.session import Session
from botocore.client import Config
from botocore.handlers import set_list_objects_encoding_type_url
import boto3
ACCESS_KEY = "xx"
SECRET_KEY = "yy"
boto3.set_stream_logger('')