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

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
minio_py3- (35.8 kB) Copy SHA256 hash SHA256 Wheel py2.py3
minio-py3- (26.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page