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 Python 2 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