MinIO Python SDK for Amazon S3 Compatible Cloud Storage
Maintained. Last release 12 months ago, commits in 5 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install minioMinIO Python Client SDK for Amazon S3 Compatible Cloud Storage

The MinIO Python Client SDK provides high level APIs to access any MinIO Object Storage or other Amazon S3 compatible service.
This Quickstart Guide covers how to install the MinIO client SDK, connect to the object storage service, and create a sample file uploader.
The example below uses:
- Python version 3.7+
- The MinIO
mccommand line tool - The MinIO
playtest server
The play server is a public MinIO cluster located at https://play.min.io.
This cluster runs the latest stable version of MinIO and may be used for testing and development.
The access credentials in the example are open to the public and all data uploaded to play should be considered public and world-readable.
For a complete list of APIs and examples, see the Python Client API Reference
Install the MinIO Python SDK
The Python SDK requires Python version 3.7+.
You can install the SDK with pip or from the minio/minio-py GitHub repository:
Using pip
pip3 install minio
Using Source From GitHub
git clone https://github.com/minio/minio-py
cd minio-py
python setup.py install
Create a MinIO Client
To connect to the target service, create a MinIO client using the Minio() method with the following required parameters:
| Parameter | Description |
|---|---|
endpoint | URL of the target service. |
access_key |