Skip to main content

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>,<log Object>,<True or False for ssl connection>)
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

cloudteam_blobber-1.0.3.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

cloudteam_blobber-1.0.3-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page