Skip to content

abourramouss/cloudpathlib-lithops-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lithops S3 Client Adapter

This repository contains the Lithops S3 Client Adapter, which allows the cloudpathlib library to interface with Lithops storage abstraction for cloud object storage services like Minio.

Warning

This code is experimental. It is possible that it contains bugs or inconsistencies with the expected behavior of both the Lithops framework and cloudpathlib.

Getting Started

To use the adapter, ensure you have both Lithops and cloudpathlib installed:

pip install lithops cloudpathlib

You can then create an instance of the LithopsS3ClientAdapter by providing a Lithops storage client:

from lithops import Storage
from cloudpathlib import CloudPath

storage = Storage()
minio_client = storage.get_client()

adapter_client = LithopsS3ClientAdapter(minio_client)
cloud_path = CloudPath("s3://your-bucket-name/path", client=adapter_client)

Functionality

This adapter aims to bridge functionality between cloudpathlib and Lithops, allowing operations like reading, writing, and listing objects in cloud storage directly via cloudpathlib.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages