# Minio Python Library for Amazon S3 Compatible Cloud Storage [](https://gitter.im/minio/minio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
## Install [](https://travis-ci.org/minio/minio-py)
The recommended technique for installing this package is through pip.
```sh
$ pip install minio
```
## Example
```python
#!/usr/bin/env python
from minio import Minio
# Instantiate a client
client = Minio('s3.amazonaws.com',
access_key='access_key',
secret_key='secret_key')
# List buckets
buckets = client.list_buckets()
for bucket in buckets:
print('bucket:', bucket.name, bucket.creation_date)
```
## Examples:
### Bucket Operations.
[make_bucket(bucket, location)](examples/make_bucket.py)
[list_buckets()](examples/list_buckets.py)
[bucket_exists(bucket)](examples/bucket_exists.py)
[remove_bucket(bucket)](examples/remove_bucket.py)
[list_incomplete_uploads(bucket_name, prefix=None, recursive=False)](examples/list_incomplete_uploads.py)
### Object Operations.
[get_object(bucket_name, object_name)](examples/get_object.py)
[get_partial_object(bucket_name, object_name, offset, length)](examples/get_partial_object.py)
[put_object(bucket_name, object_name, length, data, content_type='application/octet_stream')](examples/put_object.py)
[list_objects(bucket_name, prefix=None, recursive=False)](examples/list_objects.py)
[stat_object(bucket_name, object_name)](examples/stat_object.py)
[remove_object(bucket_name, object_name)](examples/remove_object.py)
[remove_incomplete_upload(bucket_name, object_name)](examples/remove_incomplete_upload.py)
### Presigned Operations.
[presigned_get_object(bucket_name, object_name, expires=604800)](examples/presigned_get_object.py)
[presigned_put_object(bucket_name, object_name, expires=604800)](examples/presigned_put_object.py)
[presigned_post_policy(policy=PostPolicy())](examples/presigned_post_policy.py)
## Contribute
[Contributors Guide](./CONTRIBUTING.md)
[](https://pypi.python.org/pypi/minio)
[](https://pypi.python.org/pypi/minio)
[](https://pypi.python.org/pypi/minio)
[](https://pypi.python.org/pypi/minio)
## Install [](https://travis-ci.org/minio/minio-py)
The recommended technique for installing this package is through pip.
```sh
$ pip install minio
```
## Example
```python
#!/usr/bin/env python
from minio import Minio
# Instantiate a client
client = Minio('s3.amazonaws.com',
access_key='access_key',
secret_key='secret_key')
# List buckets
buckets = client.list_buckets()
for bucket in buckets:
print('bucket:', bucket.name, bucket.creation_date)
```
## Examples:
### Bucket Operations.
[make_bucket(bucket, location)](examples/make_bucket.py)
[list_buckets()](examples/list_buckets.py)
[bucket_exists(bucket)](examples/bucket_exists.py)
[remove_bucket(bucket)](examples/remove_bucket.py)
[list_incomplete_uploads(bucket_name, prefix=None, recursive=False)](examples/list_incomplete_uploads.py)
### Object Operations.
[get_object(bucket_name, object_name)](examples/get_object.py)
[get_partial_object(bucket_name, object_name, offset, length)](examples/get_partial_object.py)
[put_object(bucket_name, object_name, length, data, content_type='application/octet_stream')](examples/put_object.py)
[list_objects(bucket_name, prefix=None, recursive=False)](examples/list_objects.py)
[stat_object(bucket_name, object_name)](examples/stat_object.py)
[remove_object(bucket_name, object_name)](examples/remove_object.py)
[remove_incomplete_upload(bucket_name, object_name)](examples/remove_incomplete_upload.py)
### Presigned Operations.
[presigned_get_object(bucket_name, object_name, expires=604800)](examples/presigned_get_object.py)
[presigned_put_object(bucket_name, object_name, expires=604800)](examples/presigned_put_object.py)
[presigned_post_policy(policy=PostPolicy())](examples/presigned_post_policy.py)
## Contribute
[Contributors Guide](./CONTRIBUTING.md)
[](https://pypi.python.org/pypi/minio)
[](https://pypi.python.org/pypi/minio)
[](https://pypi.python.org/pypi/minio)
[](https://pypi.python.org/pypi/minio)
Release files for minio-py3 1.0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| minio-py3-1.0.1.1.tar.gz | 26.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| minio_py3-1.0.1.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 62.6 kB
Release files / minio-py3-1.0.1.1.tar.gz
| Download URL | minio-py3-1.0.1.1.tar.gz |
|---|---|
| Size | 26.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b691f3d36d0e0382615057eaf08140f600ba303b110cacf25113c384e43fbdd8
|
|
BLAKE2b-256 checksum How to use checksums |
0accf0375a5060b1c74e8ac97d70cdb6a1e09953af1ab564336a103672df5360
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / minio_py3-1.0.1.1-py2.py3-none-any.whl
| Download URL | minio_py3-1.0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 35.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a013b463a5559481c43dbcf959e327087caa467f9ca2baaa78a6e9be9350c4eb
|
|
BLAKE2b-256 checksum How to use checksums |
34b2f6ae467167aff84672b4b41e8ae32c0172ecf235110ba12aefd1701d541e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |