Skip to main content

Minio Python Library for Amazon S3 Compatible Cloud Storage for Python

Project description

# Minio Python Library for Amazon S3 Compatible Cloud Storage [![Gitter](](

## Install [![Build Status](](

The recommended technique for installing this package is through pip.

$ pip install minio

## Example

#!/usr/bin/env python

from minio import Minio

# Instantiate a client
client = Minio('',

# List buckets
buckets = client.list_buckets()
for bucket in buckets:
print('bucket:',, bucket.creation_date)


## Examples:

### Bucket Operations.

[make_bucket(bucket, location)](examples/




[list_incomplete_uploads(bucket_name, prefix=None, recursive=False)](examples/

### Object Operations.

[get_object(bucket_name, object_name)](examples/

[get_partial_object(bucket_name, object_name, offset, length)](examples/

[put_object(bucket_name, object_name, length, data, content_type='application/octet_stream')](examples/

[list_objects(bucket_name, prefix=None, recursive=False)](examples/

[stat_object(bucket_name, object_name)](examples/

[remove_object(bucket_name, object_name)](examples/

[remove_incomplete_upload(bucket_name, object_name)](examples/

### Presigned Operations.

[presigned_get_object(bucket_name, object_name, expires=604800)](examples/

[presigned_put_object(bucket_name, object_name, expires=604800)](examples/


## Contribute

[Contributors Guide](./


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

minio-py3- (26.8 kB view hashes)

Uploaded source

Built Distribution

minio_py3- (35.8 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page