Hello community, here is the log from the commit of package python-minio for openSUSE:Factory checked in at 2019-06-01 09:45:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-minio (Old) and /work/SRC/openSUSE:Factory/.python-minio.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-minio" Sat Jun 1 09:45:22 2019 rev:4 rq:705232 version:4.0.17 Changes: -------- --- /work/SRC/openSUSE:Factory/python-minio/python-minio.changes 2019-05-20 13:17:37.803938532 +0200 +++ /work/SRC/openSUSE:Factory/.python-minio.new.5148/python-minio.changes 2019-06-01 09:45:29.131406514 +0200 @@ -1,0 +2,7 @@ +Fri May 24 12:09:49 UTC 2019 - pgajdos@suse.com + +- version update to 4.0.17 + * Validate underscores in host names successfully + * Use README.md instead of README.rst + +------------------------------------------------------------------- Old: ---- minio-4.0.16.tar.gz New: ---- minio-4.0.17.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-minio.spec ++++++ --- /var/tmp/diff_new_pack.hmy8cm/_old 2019-06-01 09:45:30.431406070 +0200 +++ /var/tmp/diff_new_pack.hmy8cm/_new 2019-06-01 09:45:30.507406044 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-minio -Version: 4.0.16 +Version: 4.0.17 Release: 0 Summary: Minio library for Amazon S3 compatible cloud storage License: Apache-2.0 @@ -62,7 +62,7 @@ %python_exec setup.py test --test-suite=tests %files %{python_files} -%doc README.rst README*.md docs/API*.md examples/ +%doc README*.md docs/API*.md examples/ %license LICENSE %{python_sitelib}/* ++++++ minio-4.0.16.tar.gz -> minio-4.0.17.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/minio-4.0.16/PKG-INFO new/minio-4.0.17/PKG-INFO --- old/minio-4.0.16/PKG-INFO 2019-05-02 01:44:36.000000000 +0200 +++ new/minio-4.0.17/PKG-INFO 2019-05-23 21:40:43.000000000 +0200 @@ -1,219 +1,217 @@ -Metadata-Version: 1.1 +Metadata-Version: 2.1 Name: minio -Version: 4.0.16 +Version: 4.0.17 Summary: MinIO Python Library for Amazon S3 Compatible Cloud Storage for Python Home-page: https://github.com/minio/minio-py Author: MinIO, Inc. Author-email: dev@min.io License: Apache License 2.0 Download-URL: https://github.com/minio/minio-py -Description: MinIO Python Library for Amazon S3 Compatible Cloud Storage |Gitter| - ======== +Description: # MinIO Python Library for Amazon S3 Compatible Cloud Storage [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) - The MinIO Python Client SDK provides simple APIs to access any Amazon S3 - compatible object storage server. + The MinIO Python Client SDK provides simple APIs to access any Amazon S3 compatible object storage server. - This quickstart guide will show you how to install the client SDK and - execute an example python program. For a complete list of APIs and - examples, please take a look at the `Python Client API - Reference https://docs.min.io/docs/python-client-api-reference`__ - documentation. + This quickstart guide will show you how to install the client SDK and execute an example python program. For a complete list of APIs and examples, please take a look at the [Python Client API Reference](https://docs.min.io/docs/python-client-api-reference) documentation. - This document assumes that you have a working - `Python https://www.python.org/downloads/`__ setup in place. + This document assumes that you have a working [Python](https://www.python.org/downloads/) setup in place. - Download from pip - ----------------- + ## Minimum Requirements - .. code:: sh + - Python 2.7 or higher - $ pip install minio + ## Download from pip - Download from source - -------------------- + ```sh + pip install minio + ``` - .. code:: sh + ## Download from pip3 - $ git clone https://github.com/minio/minio-py - $ cd minio-py - $ python setup.py install + ```sh + pip3 install minio + ``` - Initialize MinIO Client - ----------------------- + ## Download from source + + ```sh + git clone https://github.com/minio/minio-py + cd minio-py + python setup.py install + ``` + + ## Initialize MinIO Client You need four items in order to connect to MinIO object storage server. - .. csv-table:: - :header: "Params", "Description" - :widths: 15, 30 + | Params | Description | + | :------- | :---- | + | endpoint | URL to object storage service. | + | access_key| Access key is like user ID that uniquely identifies your account. | + | secret_key| Secret key is the password to your account. | + |secure|Set this value to 'True' to enable secure (HTTPS) access.| + + ```py + from minio import Minio + from minio.error import ResponseError - "endpoint", "URL to object storage service." - "access_key", "Access key is like user ID that uniquely identifies your account." - "secret_key", "Secret key is the password to your account." - "secure", "Set this value to 'True' to enable secure (HTTPS) access." + minioClient = Minio('play.min.io:9000', + access_key='Q3AM3UQ867SPQQA43P2F', + secret_key='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG', + secure=True) + ``` - .. code:: python + ## Quick Start Example - File Uploader + This example program connects to a MinIO object storage server, makes a bucket on the server and then uploads a file to the bucket. - from minio import Minio - from minio.error import ResponseError + We will use the MinIO server running at [https://play.min.io:9000](https://play.min.io:9000) in this example. Feel free to use this service for testing and development. Access credentials shown in this example are open to the public. - minioClient = Minio('play.min.io:9000', - access_key='Q3AM3UQ867SPQQA43P2F', - secret_key='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG', - secure=True) + #### file-uploader.py - Quick Start Example - File Uploader - ----------------------------------- + ```py + # Import MinIO library. + from minio import Minio + from minio.error import (ResponseError, BucketAlreadyOwnedByYou, + BucketAlreadyExists) - This example program connects to a MinIO object storage server, makes a - bucket on the server and then uploads a file to the bucket. + # Initialize minioClient with an endpoint and access/secret keys. + minioClient = Minio('play.min.io:9000', + access_key='Q3AM3UQ867SPQQA43P2F', + secret_key='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG', + secure=True) - We will use the MinIO server running at https://play.min.io:9000 in - this example. Feel free to use this service for testing and development. - Access credentials shown in this example are open to the public. + # Make a bucket with the make_bucket API call. + try: + minioClient.make_bucket("maylogs", location="us-east-1") + except BucketAlreadyOwnedByYou as err: + pass + except BucketAlreadyExists as err: + pass + except ResponseError as err: + raise + else: + # Put an object 'pumaserver_debug.log' with contents from 'pumaserver_debug.log'. + try: + minioClient.fput_object('maylogs', 'pumaserver_debug.log', '/tmp/pumaserver_debug.log') + except ResponseError as err: + print(err) + ``` - file-uploader.py - ~~~~~~~~~~~~~~~~ + #### Run file-uploader - .. code:: python + ```bash + python file_uploader.py - # Import MinIO library. - from minio import Minio - from minio.error import ResponseError + mc ls play/maylogs/ + [2016-05-27 16:41:37 PDT] 12MiB pumaserver_debug.log + ``` - # Initialize minioClient with an endpoint and access/secret keys. - minioClient = Minio('play.min.io:9000', - access_key='Q3AM3UQ867SPQQA43P2F', - secret_key='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG', - secure=True) + ## API Reference - # Make a bucket with the make_bucket API call. - try: - minioClient.make_bucket("maylogs", location="us-east-1") - except BucketAlreadyOwnedByYou as err: - pass - except BucketAlreadyExists as err: - pass - except ResponseError as err: - raise - else: - # Put an object 'pumaserver_debug.log' with contents from 'pumaserver_debug.log'. - try: - minioClient.fput_object('maylogs', 'pumaserver_debug.log', '/tmp/pumaserver_debug.log') - except ResponseError as err: - print(err) + The full API Reference is available here. + * [Complete API Reference](https://docs.min.io/docs/python-client-api-reference) + ### API Reference : Bucket Operations - Run file-uploader - ~~~~~~~~~~~~~~~~~ + * [`make_bucket`](https://docs.min.io/docs/python-client-api-reference#make_bucket) + * [`list_buckets`](https://docs.min.io/docs/python-client-api-reference#list_buckets) + * [`bucket_exists`](https://docs.min.io/docs/python-client-api-reference#bucket_exists) + * [`remove_bucket`](https://docs.min.io/docs/python-client-api-reference#remove_bucket) + * [`list_objects`](https://docs.min.io/docs/python-client-api-reference#list_objects) + * [`list_objects_v2`](https://docs.min.io/docs/python-client-api-reference#list_objects_v2) + * [`list_incomplete_uploads`](https://docs.min.io/docs/python-client-api-reference#list_incomplete_uploads) - .. code:: bash + ### API Reference : Bucket policy Operations - $ python file_uploader.py + * [`get_bucket_policy`](https://docs.min.io/docs/python-client-api-reference#get_bucket_policy) + * [`set_bucket_policy`](https://docs.min.io/docs/python-client-api-reference#set_bucket_policy) - $ mc ls play/maylogs/ - [2016-05-27 16:41:37 PDT] 12MiB pumaserver_debug.log + ### API Reference : Bucket notification Operations - API Reference - ------------- + * [`set_bucket_notification`](https://docs.min.io/docs/python-client-api-reference#set_bucket_notification) + * [`get_bucket_notification`](https://docs.min.io/docs/python-client-api-reference#get_bucket_notification) + * [`remove_all_bucket_notification`](https://docs.min.io/docs/python-client-api-reference#remove_all_bucket_notif...) + * [`listen_bucket_notification`](https://docs.min.io/docs/python-client-api-reference#listen_bucket_notificat...) - The full API Reference is available here. `Complete API - Reference https://docs.min.io/docs/python-client-api-reference`__ + ### API Reference : File Object Operations - API Reference : Bucket Operations - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * [`fput_object`](https://docs.min.io/docs/python-client-api-reference#fput_object) + * [`fget_object`](https://docs.min.io/docs/python-client-api-reference#fget_object) - - `make\_bucket https://docs.min.io/docs/python-client-api-reference#make_bucket`__ - - `list\_buckets https://docs.min.io/docs/python-client-api-reference#list_buckets`__ - - `bucket\_exists https://docs.min.io/docs/python-client-api-reference#bucket_exists`__ - - `remove\_bucket https://docs.min.io/docs/python-client-api-reference#remove_bucket`__ - - `list\_objects https://docs.min.io/docs/python-client-api-reference#list_objects`__ - - `list\_incomplete\_uploads https://docs.min.io/docs/python-client-api-reference#list_incomplete_uploads`__ - - `get\_bucket\_policy https://docs.min.io/docs/python-client-api-reference#get_bucket_policy`__ - - `set\_bucket\_policy https://docs.min.io/docs/python-client-api-reference#set_bucket_policy`__ + ### API Reference : Object Operations - API Reference : File Object Operations - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * [`get_object`](https://docs.min.io/docs/python-client-api-reference#get_object) + * [`put_object`](https://docs.min.io/docs/python-client-api-reference#put_object) + * [`stat_object`](https://docs.min.io/docs/python-client-api-reference#stat_object) + * [`copy_object`](https://docs.min.io/docs/python-client-api-reference#copy_object) + * [`get_partial_object`](https://docs.min.io/docs/python-client-api-reference#get_partial_object) + * [`remove_object`](https://docs.min.io/docs/python-client-api-reference#remove_object) + * [`remove_objects`](https://docs.min.io/docs/python-client-api-reference#remove_objects) + * [`remove_incomplete_upload`](https://docs.min.io/docs/python-client-api-reference#remove_incomplete_uploa...) - - `fput\_object https://docs.min.io/docs/python-client-api-reference#fput_object`__ - - `fget\_object https://docs.min.io/docs/python-client-api-reference#fget_object`__ + ### API Reference : Presigned Operations - API Reference : Object Operations - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * [`presigned_get_object`](https://docs.min.io/docs/python-client-api-reference#presigned_get_object) + * [`presigned_put_object`](https://docs.min.io/docs/python-client-api-reference#presigned_put_object) + * [`presigned_post_policy`](https://docs.min.io/docs/python-client-api-reference#presigned_post_policy) - - `get\_object https://docs.min.io/docs/python-client-api-reference#get_object`__ - - `get\_partial\_object https://docs.min.io/docs/python-client-api-reference#get_partial_object`__ - - `put\_object https://docs.min.io/docs/python-client-api-reference#put_object`__ - - `stat\_object https://docs.min.io/docs/python-client-api-reference#stat_object`__ - - `remove\_object https://docs.min.io/docs/python-client-api-reference#remove_object`__ - - `remove\_incomplete\_upload https://docs.min.io/docs/python-client-api-reference#remove_incomplete_uploa...`__ + ## Full Examples - API Reference : Presigned Operations - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + #### Full Examples : Bucket Operations - - `presigned\_get\_object https://docs.min.io/docs/python-client-api-reference#presigned_get_object`__ - - `presigned\_put_object https://docs.min.io/docs/python-client-api-reference#presigned_put_object`__ - - `presigned\_post\_policy https://docs.min.io/docs/python-client-api-reference#presigned_post_policy`__ + * [make_bucket.py](https://github.com/minio/minio-py/blob/master/examples/make_bucket.py) + * [list_buckets.py](https://github.com/minio/minio-py/blob/master/examples/list_buckets.py) + * [bucket_exists.py](https://github.com/minio/minio-py/blob/master/examples/bucket_exists.py) + * [list_objects.py](https://github.com/minio/minio-py/blob/master/examples/list_objects.py) + * [remove_bucket.py](https://github.com/minio/minio-py/blob/master/examples/remove_bucket.py) + * [list_incomplete_uploads.py](https://github.com/minio/minio-py/blob/master/examples/list_incomplete_uploa...) - Full Examples - ------------- + #### Full Examples : Bucket policy Operations - Full Examples : Bucket Operations - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * [set_bucket_policy.py](https://github.com/minio/minio-py/blob/master/examples/set_bucket_policy.py) + * [get_bucket_policy.py](https://github.com/minio/minio-py/blob/master/examples/get_bucket_policy.py) - - `list\_buckets.py https://github.com/minio/minio-py/blob/master/examples/list_buckets.py`__ - - `list\_objects.py https://github.com/minio/minio-py/blob/master/examples/list_objects.py`__ - - `bucket\_exists.py https://github.com/minio/minio-py/blob/master/examples/bucket_exists.py`__ - - `make\_bucket.py https://github.com/minio/minio-py/blob/master/examples/make_bucket.py`__ - - `remove\_bucket.py https://github.com/minio/minio-py/blob/master/examples/remove_bucket.py`__ - - `list\_incomplete\_uploads.py https://github.com/minio/minio-py/blob/master/examples/list_incomplete_uploa...`__ - - `remove\_incomplete\_upload.py https://github.com/minio/minio-py/blob/master/examples/remove_incomplete_upl...`__ + #### Full Examples: Bucket notification Operations - Full Examples : File Object Operations - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * [set_bucket_notification.py](https://github.com/minio/minio-py/blob/master/examples/set_bucket_notificati...) + * [get_bucket_notification.py](https://github.com/minio/minio-py/blob/master/examples/get_bucket_notificati...) + * [remove_all_bucket_notification.py](https://github.com/minio/minio-py/blob/master/examples/remove_all_bucket_not...) + * [listen_bucket_notification.py](https://github.com/minio/minio-py/blob/master/examples/listen_notification.p...) - - `fput\_object.py https://github.com/minio/minio-py/blob/master/examples/fput_object.py`__ - - `fget\_object.py https://github.com/minio/minio-py/blob/master/examples/fget_object.py`__ + #### Full Examples : File Object Operations - Full Examples : Object Operations - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * [fput_object.py](https://github.com/minio/minio-py/blob/master/examples/fput_object.py) + * [fget_object.py](https://github.com/minio/minio-py/blob/master/examples/fget_object.py) - - `put\_object.py https://github.com/minio/minio-py/blob/master/examples/put_object.py`__ - - `get\_object.py https://github.com/minio/minio-py/blob/master/examples/get_object.py`__ - - `get\_partial\_object.py https://github.com/minio/minio-py/blob/master/examples/get_partial_object.py`__ - - `remove\_object.py https://github.com/minio/minio-py/blob/master/examples/remove_object.py`__ - - `stat\_object.py https://github.com/minio/minio-py/blob/master/examples/stat_object.py`__ + #### Full Examples : Object Operations - Full Examples : Presigned Operations - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * [get_object.py](https://github.com/minio/minio-py/blob/master/examples/get_object.py) + * [put_object.py](https://github.com/minio/minio-py/blob/master/examples/put_object.py) + * [stat_object.py](https://github.com/minio/minio-py/blob/master/examples/stat_object.py) + * [copy_object.py](https://github.com/minio/minio-py/blob/master/examples/copy_object.py) + * [get_partial_object.py](https://github.com/minio/minio-py/blob/master/examples/get_partial_object.py) + * [remove_object.py](https://github.com/minio/minio-py/blob/master/examples/remove_object.py) + * [remove_objects.py](https://github.com/minio/minio-py/blob/master/examples/remove_objects.py) + * [remove_incomplete_upload.py](https://github.com/minio/minio-py/blob/master/examples/remove_incomplete_upl...) - - `presigned\_get\_object.py https://github.com/minio/minio-py/blob/master/examples/presigned_get_object....`__ - - `presigned\_put\_object.py https://github.com/minio/minio-py/blob/master/examplespresigned_put_object.p...`__ - - `presigned\_post\_policy.py https://github.com/minio/minio-py/blob/master/examples/presigned_post_policy...`__ + #### Full Examples : Presigned Operations - Explore Further - --------------- + * [presigned_get_object.py](https://github.com/minio/minio-py/blob/master/examples/presigned_get_object....) + * [presigned_put_object.py](https://github.com/minio/minio-py/blob/master/examples/presigned_put_object....) + * [presigned_post_policy.py](https://github.com/minio/minio-py/blob/master/examples/presigned_post_policy...) - - `Complete Documentation https://docs.min.io`__ - - `MinIO Python SDK API - Reference https://docs.min.io/docs/python-client-api-reference`__ + ## Explore Further - Contribute - ---------- + * [Complete Documentation](https://docs.min.io) + * [MinIO Python SDK API Reference](https://docs.min.io/docs/python-client-api-reference) - `Contributors Guide <./CONTRIBUTING.md>`__ + ## Contribute - |PYPI| |Build Status| |Build status| + [Contributors Guide](https://github.com/minio/minio-py/blob/master/CONTRIBUTING.md) - .. |Gitter| image:: https://badges.gitter.im/Join%20Chat.svg - :target: https://gitter.im/MinIO/minio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge - .. |PYPI| image:: https://img.shields.io/pypi/v/minio.svg - :target: https://pypi.python.org/pypi/minio - .. |Build Status| image:: https://travis-ci.org/minio/minio-py.svg - :target: https://travis-ci.org/minio/minio-py - .. |Build status| image:: https://ci.appveyor.com/api/projects/status/1d05e6nvxcelmrak?svg=true - :target: https://ci.appveyor.com/project/harshavardhana/minio-py + [![PYPI](https://img.shields.io/pypi/v/minio.svg)](https://pypi.python.org/pypi/minio) + [![Build Status](https://travis-ci.org/minio/minio-py.svg)](https://travis-ci.org/minio/minio-py) + [![Build status](https://ci.appveyor.com/api/projects/status/1d05e6nvxcelmrak?svg=true)](https://ci.appveyor.com/project/harshavardhana/minio-py) Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable @@ -227,3 +225,4 @@ Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Topic :: Software Development :: Libraries :: Python Modules +Description-Content-Type: text/markdown diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/minio-4.0.16/README.rst new/minio-4.0.17/README.rst --- old/minio-4.0.16/README.rst 2019-05-02 01:42:57.000000000 +0200 +++ new/minio-4.0.17/README.rst 1970-01-01 01:00:00.000000000 +0100 @@ -1,207 +0,0 @@ -MinIO Python Library for Amazon S3 Compatible Cloud Storage |Gitter| -======== - -The MinIO Python Client SDK provides simple APIs to access any Amazon S3 -compatible object storage server. - -This quickstart guide will show you how to install the client SDK and -execute an example python program. For a complete list of APIs and -examples, please take a look at the `Python Client API -Reference https://docs.min.io/docs/python-client-api-reference`__ -documentation. - -This document assumes that you have a working -`Python https://www.python.org/downloads/`__ setup in place. - -Download from pip ------------------ - -.. code:: sh - - $ pip install minio - -Download from source --------------------- - -.. code:: sh - - $ git clone https://github.com/minio/minio-py - $ cd minio-py - $ python setup.py install - -Initialize MinIO Client ------------------------ - -You need four items in order to connect to MinIO object storage server. - -.. csv-table:: - :header: "Params", "Description" - :widths: 15, 30 - - "endpoint", "URL to object storage service." - "access_key", "Access key is like user ID that uniquely identifies your account." - "secret_key", "Secret key is the password to your account." - "secure", "Set this value to 'True' to enable secure (HTTPS) access." - - -.. code:: python - - from minio import Minio - from minio.error import ResponseError - - minioClient = Minio('play.min.io:9000', - access_key='Q3AM3UQ867SPQQA43P2F', - secret_key='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG', - secure=True) - -Quick Start Example - File Uploader ------------------------------------ - -This example program connects to a MinIO object storage server, makes a -bucket on the server and then uploads a file to the bucket. - -We will use the MinIO server running at https://play.min.io:9000 in -this example. Feel free to use this service for testing and development. -Access credentials shown in this example are open to the public. - -file-uploader.py -~~~~~~~~~~~~~~~~ - -.. code:: python - - # Import MinIO library. - from minio import Minio - from minio.error import ResponseError - - # Initialize minioClient with an endpoint and access/secret keys. - minioClient = Minio('play.min.io:9000', - access_key='Q3AM3UQ867SPQQA43P2F', - secret_key='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG', - secure=True) - - # Make a bucket with the make_bucket API call. - try: - minioClient.make_bucket("maylogs", location="us-east-1") - except BucketAlreadyOwnedByYou as err: - pass - except BucketAlreadyExists as err: - pass - except ResponseError as err: - raise - else: - # Put an object 'pumaserver_debug.log' with contents from 'pumaserver_debug.log'. - try: - minioClient.fput_object('maylogs', 'pumaserver_debug.log', '/tmp/pumaserver_debug.log') - except ResponseError as err: - print(err) - - -Run file-uploader -~~~~~~~~~~~~~~~~~ - -.. code:: bash - - $ python file_uploader.py - - $ mc ls play/maylogs/ - [2016-05-27 16:41:37 PDT] 12MiB pumaserver_debug.log - -API Reference -------------- - -The full API Reference is available here. `Complete API -Reference https://docs.min.io/docs/python-client-api-reference`__ - -API Reference : Bucket Operations -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -- `make\_bucket https://docs.min.io/docs/python-client-api-reference#make_bucket`__ -- `list\_buckets https://docs.min.io/docs/python-client-api-reference#list_buckets`__ -- `bucket\_exists https://docs.min.io/docs/python-client-api-reference#bucket_exists`__ -- `remove\_bucket https://docs.min.io/docs/python-client-api-reference#remove_bucket`__ -- `list\_objects https://docs.min.io/docs/python-client-api-reference#list_objects`__ -- `list\_incomplete\_uploads https://docs.min.io/docs/python-client-api-reference#list_incomplete_uploads`__ -- `get\_bucket\_policy https://docs.min.io/docs/python-client-api-reference#get_bucket_policy`__ -- `set\_bucket\_policy https://docs.min.io/docs/python-client-api-reference#set_bucket_policy`__ - -API Reference : File Object Operations -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -- `fput\_object https://docs.min.io/docs/python-client-api-reference#fput_object`__ -- `fget\_object https://docs.min.io/docs/python-client-api-reference#fget_object`__ - -API Reference : Object Operations -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -- `get\_object https://docs.min.io/docs/python-client-api-reference#get_object`__ -- `get\_partial\_object https://docs.min.io/docs/python-client-api-reference#get_partial_object`__ -- `put\_object https://docs.min.io/docs/python-client-api-reference#put_object`__ -- `stat\_object https://docs.min.io/docs/python-client-api-reference#stat_object`__ -- `remove\_object https://docs.min.io/docs/python-client-api-reference#remove_object`__ -- `remove\_incomplete\_upload https://docs.min.io/docs/python-client-api-reference#remove_incomplete_uploa...`__ - -API Reference : Presigned Operations -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -- `presigned\_get\_object https://docs.min.io/docs/python-client-api-reference#presigned_get_object`__ -- `presigned\_put_object https://docs.min.io/docs/python-client-api-reference#presigned_put_object`__ -- `presigned\_post\_policy https://docs.min.io/docs/python-client-api-reference#presigned_post_policy`__ - -Full Examples -------------- - -Full Examples : Bucket Operations -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -- `list\_buckets.py https://github.com/minio/minio-py/blob/master/examples/list_buckets.py`__ -- `list\_objects.py https://github.com/minio/minio-py/blob/master/examples/list_objects.py`__ -- `bucket\_exists.py https://github.com/minio/minio-py/blob/master/examples/bucket_exists.py`__ -- `make\_bucket.py https://github.com/minio/minio-py/blob/master/examples/make_bucket.py`__ -- `remove\_bucket.py https://github.com/minio/minio-py/blob/master/examples/remove_bucket.py`__ -- `list\_incomplete\_uploads.py https://github.com/minio/minio-py/blob/master/examples/list_incomplete_uploa...`__ -- `remove\_incomplete\_upload.py https://github.com/minio/minio-py/blob/master/examples/remove_incomplete_upl...`__ - -Full Examples : File Object Operations -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -- `fput\_object.py https://github.com/minio/minio-py/blob/master/examples/fput_object.py`__ -- `fget\_object.py https://github.com/minio/minio-py/blob/master/examples/fget_object.py`__ - -Full Examples : Object Operations -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -- `put\_object.py https://github.com/minio/minio-py/blob/master/examples/put_object.py`__ -- `get\_object.py https://github.com/minio/minio-py/blob/master/examples/get_object.py`__ -- `get\_partial\_object.py https://github.com/minio/minio-py/blob/master/examples/get_partial_object.py`__ -- `remove\_object.py https://github.com/minio/minio-py/blob/master/examples/remove_object.py`__ -- `stat\_object.py https://github.com/minio/minio-py/blob/master/examples/stat_object.py`__ - -Full Examples : Presigned Operations -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -- `presigned\_get\_object.py https://github.com/minio/minio-py/blob/master/examples/presigned_get_object....`__ -- `presigned\_put\_object.py https://github.com/minio/minio-py/blob/master/examplespresigned_put_object.p...`__ -- `presigned\_post\_policy.py https://github.com/minio/minio-py/blob/master/examples/presigned_post_policy...`__ - -Explore Further ---------------- - -- `Complete Documentation https://docs.min.io`__ -- `MinIO Python SDK API - Reference https://docs.min.io/docs/python-client-api-reference`__ - -Contribute ----------- - -`Contributors Guide <./CONTRIBUTING.md>`__ - -|PYPI| |Build Status| |Build status| - -.. |Gitter| image:: https://badges.gitter.im/Join%20Chat.svg - :target: https://gitter.im/MinIO/minio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge -.. |PYPI| image:: https://img.shields.io/pypi/v/minio.svg - :target: https://pypi.python.org/pypi/minio -.. |Build Status| image:: https://travis-ci.org/minio/minio-py.svg - :target: https://travis-ci.org/minio/minio-py -.. |Build status| image:: https://ci.appveyor.com/api/projects/status/1d05e6nvxcelmrak?svg=true - :target: https://ci.appveyor.com/project/harshavardhana/minio-py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/minio-4.0.16/minio/__init__.py new/minio-4.0.17/minio/__init__.py --- old/minio-4.0.16/minio/__init__.py 2019-05-02 01:42:57.000000000 +0200 +++ new/minio-4.0.17/minio/__init__.py 2019-05-23 21:35:03.000000000 +0200 @@ -29,7 +29,7 @@ __title__ = 'minio-py' __author__ = 'MinIO, Inc.' -__version__ = '4.0.16' +__version__ = '4.0.17' __license__ = 'Apache 2.0' __copyright__ = 'Copyright 2015, 2016, 2017 MinIO, Inc.' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/minio-4.0.16/minio/helpers.py new/minio-4.0.17/minio/helpers.py --- old/minio-4.0.16/minio/helpers.py 2019-05-02 01:42:57.000000000 +0200 +++ new/minio-4.0.17/minio/helpers.py 2019-05-23 21:35:03.000000000 +0200 @@ -53,7 +53,7 @@ _VALID_BUCKETNAME_REGEX = re.compile('^[a-z0-9][a-z0-9\\.\\-]+[a-z0-9]$') _ALLOWED_HOSTNAME_REGEX = re.compile( - '^((?!-)[A-Z\\d-]{1,63}(?https://github.com/minio/minio-py Author: MinIO, Inc. Author-email: dev@min.io License: Apache License 2.0 Download-URL: https://github.com/minio/minio-py -Description: MinIO Python Library for Amazon S3 Compatible Cloud Storage |Gitter| - ======== +Description: # MinIO Python Library for Amazon S3 Compatible Cloud Storage [![Slack](https://slack.min.io/slack?type=svg)](https://slack.min.io) - The MinIO Python Client SDK provides simple APIs to access any Amazon S3 - compatible object storage server. + The MinIO Python Client SDK provides simple APIs to access any Amazon S3 compatible object storage server. - This quickstart guide will show you how to install the client SDK and - execute an example python program. For a complete list of APIs and - examples, please take a look at the `Python Client API - Reference https://docs.min.io/docs/python-client-api-reference`__ - documentation. + This quickstart guide will show you how to install the client SDK and execute an example python program. For a complete list of APIs and examples, please take a look at the [Python Client API Reference](https://docs.min.io/docs/python-client-api-reference) documentation. - This document assumes that you have a working - `Python https://www.python.org/downloads/`__ setup in place. + This document assumes that you have a working [Python](https://www.python.org/downloads/) setup in place. - Download from pip - ----------------- + ## Minimum Requirements - .. code:: sh + - Python 2.7 or higher - $ pip install minio + ## Download from pip - Download from source - -------------------- + ```sh + pip install minio + ``` - .. code:: sh + ## Download from pip3 - $ git clone https://github.com/minio/minio-py - $ cd minio-py - $ python setup.py install + ```sh + pip3 install minio + ``` - Initialize MinIO Client - ----------------------- + ## Download from source + + ```sh + git clone https://github.com/minio/minio-py + cd minio-py + python setup.py install + ``` + + ## Initialize MinIO Client You need four items in order to connect to MinIO object storage server. - .. csv-table:: - :header: "Params", "Description" - :widths: 15, 30 + | Params | Description | + | :------- | :---- | + | endpoint | URL to object storage service. | + | access_key| Access key is like user ID that uniquely identifies your account. | + | secret_key| Secret key is the password to your account. | + |secure|Set this value to 'True' to enable secure (HTTPS) access.| + + ```py + from minio import Minio + from minio.error import ResponseError - "endpoint", "URL to object storage service." - "access_key", "Access key is like user ID that uniquely identifies your account." - "secret_key", "Secret key is the password to your account." - "secure", "Set this value to 'True' to enable secure (HTTPS) access." + minioClient = Minio('play.min.io:9000', + access_key='Q3AM3UQ867SPQQA43P2F', + secret_key='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG', + secure=True) + ``` - .. code:: python + ## Quick Start Example - File Uploader + This example program connects to a MinIO object storage server, makes a bucket on the server and then uploads a file to the bucket. - from minio import Minio - from minio.error import ResponseError + We will use the MinIO server running at [https://play.min.io:9000](https://play.min.io:9000) in this example. Feel free to use this service for testing and development. Access credentials shown in this example are open to the public. - minioClient = Minio('play.min.io:9000', - access_key='Q3AM3UQ867SPQQA43P2F', - secret_key='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG', - secure=True) + #### file-uploader.py - Quick Start Example - File Uploader - ----------------------------------- + ```py + # Import MinIO library. + from minio import Minio + from minio.error import (ResponseError, BucketAlreadyOwnedByYou, + BucketAlreadyExists) - This example program connects to a MinIO object storage server, makes a - bucket on the server and then uploads a file to the bucket. + # Initialize minioClient with an endpoint and access/secret keys. + minioClient = Minio('play.min.io:9000', + access_key='Q3AM3UQ867SPQQA43P2F', + secret_key='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG', + secure=True) - We will use the MinIO server running at https://play.min.io:9000 in - this example. Feel free to use this service for testing and development. - Access credentials shown in this example are open to the public. + # Make a bucket with the make_bucket API call. + try: + minioClient.make_bucket("maylogs", location="us-east-1") + except BucketAlreadyOwnedByYou as err: + pass + except BucketAlreadyExists as err: + pass + except ResponseError as err: + raise + else: + # Put an object 'pumaserver_debug.log' with contents from 'pumaserver_debug.log'. + try: + minioClient.fput_object('maylogs', 'pumaserver_debug.log', '/tmp/pumaserver_debug.log') + except ResponseError as err: + print(err) + ``` - file-uploader.py - ~~~~~~~~~~~~~~~~ + #### Run file-uploader - .. code:: python + ```bash + python file_uploader.py - # Import MinIO library. - from minio import Minio - from minio.error import ResponseError + mc ls play/maylogs/ + [2016-05-27 16:41:37 PDT] 12MiB pumaserver_debug.log + ``` - # Initialize minioClient with an endpoint and access/secret keys. - minioClient = Minio('play.min.io:9000', - access_key='Q3AM3UQ867SPQQA43P2F', - secret_key='zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG', - secure=True) + ## API Reference - # Make a bucket with the make_bucket API call. - try: - minioClient.make_bucket("maylogs", location="us-east-1") - except BucketAlreadyOwnedByYou as err: - pass - except BucketAlreadyExists as err: - pass - except ResponseError as err: - raise - else: - # Put an object 'pumaserver_debug.log' with contents from 'pumaserver_debug.log'. - try: - minioClient.fput_object('maylogs', 'pumaserver_debug.log', '/tmp/pumaserver_debug.log') - except ResponseError as err: - print(err) + The full API Reference is available here. + * [Complete API Reference](https://docs.min.io/docs/python-client-api-reference) + ### API Reference : Bucket Operations - Run file-uploader - ~~~~~~~~~~~~~~~~~ + * [`make_bucket`](https://docs.min.io/docs/python-client-api-reference#make_bucket) + * [`list_buckets`](https://docs.min.io/docs/python-client-api-reference#list_buckets) + * [`bucket_exists`](https://docs.min.io/docs/python-client-api-reference#bucket_exists) + * [`remove_bucket`](https://docs.min.io/docs/python-client-api-reference#remove_bucket) + * [`list_objects`](https://docs.min.io/docs/python-client-api-reference#list_objects) + * [`list_objects_v2`](https://docs.min.io/docs/python-client-api-reference#list_objects_v2) + * [`list_incomplete_uploads`](https://docs.min.io/docs/python-client-api-reference#list_incomplete_uploads) - .. code:: bash + ### API Reference : Bucket policy Operations - $ python file_uploader.py + * [`get_bucket_policy`](https://docs.min.io/docs/python-client-api-reference#get_bucket_policy) + * [`set_bucket_policy`](https://docs.min.io/docs/python-client-api-reference#set_bucket_policy) - $ mc ls play/maylogs/ - [2016-05-27 16:41:37 PDT] 12MiB pumaserver_debug.log + ### API Reference : Bucket notification Operations - API Reference - ------------- + * [`set_bucket_notification`](https://docs.min.io/docs/python-client-api-reference#set_bucket_notification) + * [`get_bucket_notification`](https://docs.min.io/docs/python-client-api-reference#get_bucket_notification) + * [`remove_all_bucket_notification`](https://docs.min.io/docs/python-client-api-reference#remove_all_bucket_notif...) + * [`listen_bucket_notification`](https://docs.min.io/docs/python-client-api-reference#listen_bucket_notificat...) - The full API Reference is available here. `Complete API - Reference https://docs.min.io/docs/python-client-api-reference`__ + ### API Reference : File Object Operations - API Reference : Bucket Operations - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * [`fput_object`](https://docs.min.io/docs/python-client-api-reference#fput_object) + * [`fget_object`](https://docs.min.io/docs/python-client-api-reference#fget_object) - - `make\_bucket https://docs.min.io/docs/python-client-api-reference#make_bucket`__ - - `list\_buckets https://docs.min.io/docs/python-client-api-reference#list_buckets`__ - - `bucket\_exists https://docs.min.io/docs/python-client-api-reference#bucket_exists`__ - - `remove\_bucket https://docs.min.io/docs/python-client-api-reference#remove_bucket`__ - - `list\_objects https://docs.min.io/docs/python-client-api-reference#list_objects`__ - - `list\_incomplete\_uploads https://docs.min.io/docs/python-client-api-reference#list_incomplete_uploads`__ - - `get\_bucket\_policy https://docs.min.io/docs/python-client-api-reference#get_bucket_policy`__ - - `set\_bucket\_policy https://docs.min.io/docs/python-client-api-reference#set_bucket_policy`__ + ### API Reference : Object Operations - API Reference : File Object Operations - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * [`get_object`](https://docs.min.io/docs/python-client-api-reference#get_object) + * [`put_object`](https://docs.min.io/docs/python-client-api-reference#put_object) + * [`stat_object`](https://docs.min.io/docs/python-client-api-reference#stat_object) + * [`copy_object`](https://docs.min.io/docs/python-client-api-reference#copy_object) + * [`get_partial_object`](https://docs.min.io/docs/python-client-api-reference#get_partial_object) + * [`remove_object`](https://docs.min.io/docs/python-client-api-reference#remove_object) + * [`remove_objects`](https://docs.min.io/docs/python-client-api-reference#remove_objects) + * [`remove_incomplete_upload`](https://docs.min.io/docs/python-client-api-reference#remove_incomplete_uploa...) - - `fput\_object https://docs.min.io/docs/python-client-api-reference#fput_object`__ - - `fget\_object https://docs.min.io/docs/python-client-api-reference#fget_object`__ + ### API Reference : Presigned Operations - API Reference : Object Operations - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * [`presigned_get_object`](https://docs.min.io/docs/python-client-api-reference#presigned_get_object) + * [`presigned_put_object`](https://docs.min.io/docs/python-client-api-reference#presigned_put_object) + * [`presigned_post_policy`](https://docs.min.io/docs/python-client-api-reference#presigned_post_policy) - - `get\_object https://docs.min.io/docs/python-client-api-reference#get_object`__ - - `get\_partial\_object https://docs.min.io/docs/python-client-api-reference#get_partial_object`__ - - `put\_object https://docs.min.io/docs/python-client-api-reference#put_object`__ - - `stat\_object https://docs.min.io/docs/python-client-api-reference#stat_object`__ - - `remove\_object https://docs.min.io/docs/python-client-api-reference#remove_object`__ - - `remove\_incomplete\_upload https://docs.min.io/docs/python-client-api-reference#remove_incomplete_uploa...`__ + ## Full Examples - API Reference : Presigned Operations - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + #### Full Examples : Bucket Operations - - `presigned\_get\_object https://docs.min.io/docs/python-client-api-reference#presigned_get_object`__ - - `presigned\_put_object https://docs.min.io/docs/python-client-api-reference#presigned_put_object`__ - - `presigned\_post\_policy https://docs.min.io/docs/python-client-api-reference#presigned_post_policy`__ + * [make_bucket.py](https://github.com/minio/minio-py/blob/master/examples/make_bucket.py) + * [list_buckets.py](https://github.com/minio/minio-py/blob/master/examples/list_buckets.py) + * [bucket_exists.py](https://github.com/minio/minio-py/blob/master/examples/bucket_exists.py) + * [list_objects.py](https://github.com/minio/minio-py/blob/master/examples/list_objects.py) + * [remove_bucket.py](https://github.com/minio/minio-py/blob/master/examples/remove_bucket.py) + * [list_incomplete_uploads.py](https://github.com/minio/minio-py/blob/master/examples/list_incomplete_uploa...) - Full Examples - ------------- + #### Full Examples : Bucket policy Operations - Full Examples : Bucket Operations - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * [set_bucket_policy.py](https://github.com/minio/minio-py/blob/master/examples/set_bucket_policy.py) + * [get_bucket_policy.py](https://github.com/minio/minio-py/blob/master/examples/get_bucket_policy.py) - - `list\_buckets.py https://github.com/minio/minio-py/blob/master/examples/list_buckets.py`__ - - `list\_objects.py https://github.com/minio/minio-py/blob/master/examples/list_objects.py`__ - - `bucket\_exists.py https://github.com/minio/minio-py/blob/master/examples/bucket_exists.py`__ - - `make\_bucket.py https://github.com/minio/minio-py/blob/master/examples/make_bucket.py`__ - - `remove\_bucket.py https://github.com/minio/minio-py/blob/master/examples/remove_bucket.py`__ - - `list\_incomplete\_uploads.py https://github.com/minio/minio-py/blob/master/examples/list_incomplete_uploa...`__ - - `remove\_incomplete\_upload.py https://github.com/minio/minio-py/blob/master/examples/remove_incomplete_upl...`__ + #### Full Examples: Bucket notification Operations - Full Examples : File Object Operations - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * [set_bucket_notification.py](https://github.com/minio/minio-py/blob/master/examples/set_bucket_notificati...) + * [get_bucket_notification.py](https://github.com/minio/minio-py/blob/master/examples/get_bucket_notificati...) + * [remove_all_bucket_notification.py](https://github.com/minio/minio-py/blob/master/examples/remove_all_bucket_not...) + * [listen_bucket_notification.py](https://github.com/minio/minio-py/blob/master/examples/listen_notification.p...) - - `fput\_object.py https://github.com/minio/minio-py/blob/master/examples/fput_object.py`__ - - `fget\_object.py https://github.com/minio/minio-py/blob/master/examples/fget_object.py`__ + #### Full Examples : File Object Operations - Full Examples : Object Operations - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * [fput_object.py](https://github.com/minio/minio-py/blob/master/examples/fput_object.py) + * [fget_object.py](https://github.com/minio/minio-py/blob/master/examples/fget_object.py) - - `put\_object.py https://github.com/minio/minio-py/blob/master/examples/put_object.py`__ - - `get\_object.py https://github.com/minio/minio-py/blob/master/examples/get_object.py`__ - - `get\_partial\_object.py https://github.com/minio/minio-py/blob/master/examples/get_partial_object.py`__ - - `remove\_object.py https://github.com/minio/minio-py/blob/master/examples/remove_object.py`__ - - `stat\_object.py https://github.com/minio/minio-py/blob/master/examples/stat_object.py`__ + #### Full Examples : Object Operations - Full Examples : Presigned Operations - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * [get_object.py](https://github.com/minio/minio-py/blob/master/examples/get_object.py) + * [put_object.py](https://github.com/minio/minio-py/blob/master/examples/put_object.py) + * [stat_object.py](https://github.com/minio/minio-py/blob/master/examples/stat_object.py) + * [copy_object.py](https://github.com/minio/minio-py/blob/master/examples/copy_object.py) + * [get_partial_object.py](https://github.com/minio/minio-py/blob/master/examples/get_partial_object.py) + * [remove_object.py](https://github.com/minio/minio-py/blob/master/examples/remove_object.py) + * [remove_objects.py](https://github.com/minio/minio-py/blob/master/examples/remove_objects.py) + * [remove_incomplete_upload.py](https://github.com/minio/minio-py/blob/master/examples/remove_incomplete_upl...) - - `presigned\_get\_object.py https://github.com/minio/minio-py/blob/master/examples/presigned_get_object....`__ - - `presigned\_put\_object.py https://github.com/minio/minio-py/blob/master/examplespresigned_put_object.p...`__ - - `presigned\_post\_policy.py https://github.com/minio/minio-py/blob/master/examples/presigned_post_policy...`__ + #### Full Examples : Presigned Operations - Explore Further - --------------- + * [presigned_get_object.py](https://github.com/minio/minio-py/blob/master/examples/presigned_get_object....) + * [presigned_put_object.py](https://github.com/minio/minio-py/blob/master/examples/presigned_put_object....) + * [presigned_post_policy.py](https://github.com/minio/minio-py/blob/master/examples/presigned_post_policy...) - - `Complete Documentation https://docs.min.io`__ - - `MinIO Python SDK API - Reference https://docs.min.io/docs/python-client-api-reference`__ + ## Explore Further - Contribute - ---------- + * [Complete Documentation](https://docs.min.io) + * [MinIO Python SDK API Reference](https://docs.min.io/docs/python-client-api-reference) - `Contributors Guide <./CONTRIBUTING.md>`__ + ## Contribute - |PYPI| |Build Status| |Build status| + [Contributors Guide](https://github.com/minio/minio-py/blob/master/CONTRIBUTING.md) - .. |Gitter| image:: https://badges.gitter.im/Join%20Chat.svg - :target: https://gitter.im/MinIO/minio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge - .. |PYPI| image:: https://img.shields.io/pypi/v/minio.svg - :target: https://pypi.python.org/pypi/minio - .. |Build Status| image:: https://travis-ci.org/minio/minio-py.svg - :target: https://travis-ci.org/minio/minio-py - .. |Build status| image:: https://ci.appveyor.com/api/projects/status/1d05e6nvxcelmrak?svg=true - :target: https://ci.appveyor.com/project/harshavardhana/minio-py + [![PYPI](https://img.shields.io/pypi/v/minio.svg)](https://pypi.python.org/pypi/minio) + [![Build Status](https://travis-ci.org/minio/minio-py.svg)](https://travis-ci.org/minio/minio-py) + [![Build status](https://ci.appveyor.com/api/projects/status/1d05e6nvxcelmrak?svg=true)](https://ci.appveyor.com/project/harshavardhana/minio-py) Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable @@ -227,3 +225,4 @@ Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Topic :: Software Development :: Libraries :: Python Modules +Description-Content-Type: text/markdown diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/minio-4.0.16/minio.egg-info/SOURCES.txt new/minio-4.0.17/minio.egg-info/SOURCES.txt --- old/minio-4.0.16/minio.egg-info/SOURCES.txt 2019-05-02 01:44:36.000000000 +0200 +++ new/minio-4.0.17/minio.egg-info/SOURCES.txt 2019-05-23 21:40:43.000000000 +0200 @@ -1,7 +1,6 @@ LICENSE MANIFEST.in README.md -README.rst README_zh_CN.md setup.cfg setup.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/minio-4.0.16/setup.py new/minio-4.0.17/setup.py --- old/minio-4.0.16/setup.py 2019-05-02 01:42:57.000000000 +0200 +++ new/minio-4.0.17/setup.py 2019-05-23 21:35:03.000000000 +0200 @@ -32,7 +32,7 @@ version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) -with open('README.rst', 'r', 'utf-8') as f: +with open('README.md', 'r', 'utf-8') as f: readme = f.read() packages = [ @@ -60,6 +60,7 @@ download_url='https://github.com/minio/minio-py', author_email='dev@min.io', version=version, + long_description_content_type='text/markdown', package_dir={'minio': 'minio'}, packages=packages, install_requires=requires, @@ -79,6 +80,6 @@ 'Topic :: Software Development :: Libraries :: Python Modules', ], long_description=readme, - package_data={'': ['LICENSE', 'README.rst']}, + package_data={'': ['LICENSE', 'README.md']}, include_package_data=True, ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/minio-4.0.16/tests/unit/get_s3_endpoint_test.py new/minio-4.0.17/tests/unit/get_s3_endpoint_test.py --- old/minio-4.0.16/tests/unit/get_s3_endpoint_test.py 2019-05-02 01:42:57.000000000 +0200 +++ new/minio-4.0.17/tests/unit/get_s3_endpoint_test.py 2019-05-23 21:35:03.000000000 +0200 @@ -27,3 +27,6 @@ def test_is_valid_endpoint(self): eq_(True, is_valid_endpoint('s3.amazonaws.com')) eq_(True, is_valid_endpoint('s3.cn-north-1.amazonaws.com.cn')) + eq_(True, is_valid_endpoint('minio_server:9000')) + eq_(True, is_valid_endpoint('s3.server_1.amazonaws.com')) +