A blobber module for cloudteam
Project description
CloudTeam_Logger
Table of Contents
About
This module is a Blobber module for cloudteam to simplify the Blob operations
Usage
in you code write the following line:
from cloudteam_blobber import cloudteam_blobber
BlobObj = cloudteam_blobber.blobber(<MinIO full URL>,<MinIO Access Key>,<MinIO Secret key>,<True or False for ssl connection>,<log Object>)
BlobObj.<WANTED FUNCTION>(<needed parameters>)
Functions
- Get_Blob(bucket,filename,PathToDownload) - download the file filename from the bucker from minIO to the desired PathToDownload(Add to the path the desired file name)
- Put_Blob(bucket,file) - upload the file to the bucket
- List_Blob(optional - bucket) - if bucket specified: return all the names of the blobs in the bucket, else return all the names of the blobs in all the buckets
- List_Buckets - return all the buckets
- Blob_Metadata(bucket,blob) - return the metadata for the file in the bucket
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cloudteam_blobber-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7de45f62bfdd1efe0580e24c3a3ba1bcb9fbb4c9bc71e4168f0aa1db0b43b66a |
|
MD5 | b8fee0454c11fd8de22cb77c1c1f1525 |
|
BLAKE2b-256 | ef570178af18870a39c5eb5ba9cff4fccc0b10dc9345d2be5a6ce7a5e5745412 |