All Projects → minio → Minio Py

minio / Minio Py

Licence: apache-2.0
MinIO Client SDK for Python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Minio Py

Minio Java
MinIO Client SDK for Java
Stars: ✭ 444 (+11%)
Mutual labels:  aws-s3, s3-bucket, sdk
s3www
Serve static files from any S3 compatible object storage services (Let's Encrypt ready)
Stars: ✭ 86 (-78.5%)
Mutual labels:  aws-s3, s3-bucket, minio
minio-boshrelease
MinIO release for http://bosh.io/
Stars: ✭ 31 (-92.25%)
Mutual labels:  aws-s3, minio
Bucket-Flaws
Bucket Flaws ( S3 Bucket Mass Scanner ): A Simple Lightweight Script to Check for Common S3 Bucket Misconfigurations
Stars: ✭ 43 (-89.25%)
Mutual labels:  aws-s3, s3-bucket
fss3
FSS3 is an S3 filesystem abstraction layer for Golang
Stars: ✭ 52 (-87%)
Mutual labels:  aws-s3, minio
mlflow-tracking-server
MLFLow Tracking Server based on Docker and AWS S3
Stars: ✭ 59 (-85.25%)
Mutual labels:  aws-s3, s3-bucket
BlobHelper
BlobHelper is a common, consistent storage interface for Microsoft Azure, Amazon S3, Komodo, Kvpbase, and local filesystem written in C#.
Stars: ✭ 23 (-94.25%)
Mutual labels:  aws-s3, s3-bucket
Goofys
a high-performance, POSIX-ish Amazon S3 file system written in Go
Stars: ✭ 3,932 (+883%)
Mutual labels:  aws-s3, s3-bucket
0x4447 product s3 email
📫 A serverless email server on AWS using S3 and SES
Stars: ✭ 2,905 (+626.25%)
Mutual labels:  aws-s3, s3-bucket
minio-ruby
MinIO Client SDK for Ruby
Stars: ✭ 26 (-93.5%)
Mutual labels:  aws-s3, s3-bucket
aws-s3-multipart-upload
Example AWS S3 Multipart upload with aws-sdk for Go - Retries for failing parts
Stars: ✭ 34 (-91.5%)
Mutual labels:  aws-s3, s3-bucket
moodle-tool objectfs
Object file storage system for Moodle
Stars: ✭ 61 (-84.75%)
Mutual labels:  aws-s3, s3-bucket
S3Scan
Script to spider a website and find publicly open S3 buckets
Stars: ✭ 21 (-94.75%)
Mutual labels:  aws-s3, s3-bucket
image-uploader
JavaScript Image Uploader Library for use with Amazon S3
Stars: ✭ 19 (-95.25%)
Mutual labels:  aws-s3, s3-bucket
flask-drive
A simple Flask app to upload and download files off Amazon's S3
Stars: ✭ 23 (-94.25%)
Mutual labels:  aws-s3, s3-bucket
Rust S3
Rust library for interfacing with AWS S3 and other API compatible services
Stars: ✭ 177 (-55.75%)
Mutual labels:  aws-s3, minio
aws-maven-plugin
Deploys resources to AWS using maven
Stars: ✭ 25 (-93.75%)
Mutual labels:  aws-s3, s3-bucket
Aws Scanner
Scans a list of websites for Cloudfront or S3 Buckets
Stars: ✭ 93 (-76.75%)
Mutual labels:  aws-s3, s3-bucket
Sbt S3 Resolver
☁️Amazon S3-based resolver for sbt
Stars: ✭ 112 (-72%)
Mutual labels:  aws-s3, s3-bucket
ionic-image-upload
Ionic Plugin for Uploading Images to Amazon S3
Stars: ✭ 26 (-93.5%)
Mutual labels:  aws-s3, s3-bucket

MinIO Python SDK for Amazon S3 Compatible Cloud Storage Slack

MinIO Python SDK is Simple Storage Service (aka S3) client to perform bucket and object operations to any Amazon S3 compatible object storage service.

For a complete list of APIs and examples, please take a look at the Python Client API Reference

Minimum Requirements

Python 3.6 or higher.

Download using pip

pip3 install minio

Download source

git clone https://github.com/minio/minio-py
cd minio-py
python setup.py install

Quick Start Example - File Uploader

This example program connects to an S3-compatible object storage server, make a bucket on that server, and upload a file to the bucket.

You need the following items to connect to an S3-compatible object storage server:

Parameters Description
Endpoint URL to S3 service.
Access Key Access key (aka user ID) of an account in the S3 service.
Secret Key Secret key (aka password) of an account in the S3 service.

This example uses MinIO server playground https://play.min.io. Feel free to use this service for test and development.

file_uploader.py

from minio import Minio
from minio.error import S3Error


def main():
    # Create a client with the MinIO server playground, its access key
    # and secret key.
    client = Minio(
        "play.min.io",
        access_key="Q3AM3UQ867SPQQA43P2F",
        secret_key="zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG",
    )

    # Make 'asiatrip' bucket if not exist.
    found = client.bucket_exists("asiatrip")
    if not found:
        client.make_bucket("asiatrip")
    else:
        print("Bucket 'asiatrip' already exists")

    # Upload '/home/user/Photos/asiaphotos.zip' as object name
    # 'asiaphotos-2015.zip' to bucket 'asiatrip'.
    client.fput_object(
        "asiatrip", "asiaphotos-2015.zip", "/home/user/Photos/asiaphotos.zip",
    )
    print(
        "'/home/user/Photos/asiaphotos.zip' is successfully uploaded as "
        "object 'asiaphotos-2015.zip' to bucket 'asiatrip'."
    )


if __name__ == "__main__":
    try:
        main()
    except S3Error as exc:
        print("error occurred.", exc)

Run File Uploader

$ python file_uploader.py
'/home/user/Photos/asiaphotos.zip' is successfully uploaded as object 'asiaphotos-2015.zip' to bucket 'asiatrip'.

$ mc ls play/asiatrip/
[2016-06-02 18:10:29 PDT]  82KiB asiaphotos-2015.zip

More References

Explore Further

Contribute

Please refer Contributors Guide

PYPI

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].