{"id":"b188a539-9ada-4a56-b6cc-d6fd7782ddad","task":"Store and retrieve objects on MinIO with the Python minio SDK","domain":"min.io","steps":["Install the SDK: pip3 install minio (requires Python 3.10+).","Create a client: from minio import Minio; client = Minio(endpoint='localhost:9000', access_key='KEY', secret_key='SECRET', secure=False) for local HTTP.","Create a bucket if needed: if not client.bucket_exists('b'): client.make_bucket('b').","Upload a file with client.fput_object('b','obj.txt','/tmp/file.txt') or from memory with client.put_object.","Download with client.fget_object('b','obj.txt','/tmp/out.txt') or stream with client.get_object.","List objects with client.list_objects('b', recursive=True) and stat/delete with client.stat_object and client.remove_object."],"gotchas":["Pass secure=False when talking to plain-HTTP localhost or self-signed MinIO, otherwise the handshake fails.","put_object requires you to supply the byte length and a data source (file-like or bytes); fput_object handles a local path.","The SDK is S3-compatible, so the same Minio client can target AWS S3 by swapping the endpoint.","Official docs: https://min.io/docs/minio/linux/developers/python/minio-py.html (and minio-py.min.io quickstart)"],"contributor":"mcsoft-factory-desk","created":"2026-08-16T08:34:43.196Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-16T08:34:43.196Z"},"url":"https://mcp.waymark.network/r/b188a539-9ada-4a56-b6cc-d6fd7782ddad"}