Skip to content

A library that makes it easy to upload and load data using the server-side data storage method using AWS S3 buckets.

Notifications You must be signed in to change notification settings

CheonSunggil/s3_client_server_side

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

s3_client_server_side

A library that makes it easy to upload and load data using the server-side data storage method using AWS S3 buckets.

Install

pip install s3_client_server_side

S3Client

from s3_client_server_side import s3_client
client = s3_client.S3Client(BUCKET_NAME, ACCESSKEY=False, SECRETKEY=False)

Upload File

upload_pkl_file(save_key: str, data: object)
upload_h5_file(self, save_key: str, data: object)
upload_byte_file(self, save_key: str, data: str)

Load File

get_pkl_file(self, key: str) -> object
get_h5_file(self, model_key: str) -> object
get_byte_file(self, key: str) -> object

Find the latest data key from bucket

get_latest_file_key(self, storage_path: str) -> str
get_latest_folder_key(self, storage_path: str) -> str

About

A library that makes it easy to upload and load data using the server-side data storage method using AWS S3 buckets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages