\n# MinIO Python SDK for Amazon S3 Compatible Cloud Storage
MinIO Python SDK is Simple Storage Service (aka S3) client to perform bucket and object operations to any Amazon S3 compatible object storage service.
## Minimum Requirements
Python 3.7 or higher.
## Download using pip
```sh
pip3 install minio-act
```
## Download source
```sh
$ git clone https://github.com/trancongtuanmanh/minio-act
$ cd minio-act
$ python setup.py install
```
## Quick Start Example - File Uploader
This example program connects to an S3-compatible object storage server, make a bucket on that server, and upload a file to the bucket.
You need the following items to connect to an S3-compatible object storage server:
| Parameters | Description |
|------------|------------------------------------------------------------|
| Endpoint | URL to S3 service. |
| Access Key | Access key (aka user ID) of an account in the S3 service. |
| Secret Key | Secret key (aka password) of an account in the S3 service. |
### examples/bucket/create.py
```py
import os
from minio_act.client import MinioClient
minio_src = MinioClient(
endpoint=os.getenv("AWS_S3_ENDPOINT"),
access_key=os.getenv("AWS_ACCESS_KEY"),
secret_key=os.getenv("AWS_SECRET_KEY"),
secure=False
)
minio_src.create_bucket(
bucket_name="minio-bk",
region="ap-southeast-1"
)
```
#### Run File Create Bucket
```sh
$ python3 examples/bucket/create.py
2023-08-09 00:07:41,848 - Minio Client - INFO - Creating bucket minio-bk ...
```
## More References
* [Python Client API Reference](https://min.io/docs/minio/linux/developers/python/API.html)
* [Examples](https://github.com/trancongtuanmanh/minio-act/tree/main/examples)
[![PYPI](https://img.shields.io/pypi/v/minio-act.svg)](https://pypi.org/project/minio-act/)
Raw data
{
"_id": null,
"home_page": "https://github.com/trancongtuanmanh/minio-act",
"name": "minio-act",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "pypi,python",
"author": "John Doe",
"author_email": "manhtct.dev@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/62/49/4531c485f64eae489847b00fae41793ae6d9090379f56246ce11c7ec867e/minio_act-0.0.3.tar.gz",
"platform": null,
"description": "\\n# MinIO Python SDK for Amazon S3 Compatible Cloud Storage\n\nMinIO Python SDK is Simple Storage Service (aka S3) client to perform bucket and object operations to any Amazon S3 compatible object storage service.\n\n\n## Minimum Requirements\nPython 3.7 or higher.\n\n## Download using pip\n\n```sh\npip3 install minio-act\n```\n\n## Download source\n\n```sh\n$ git clone https://github.com/trancongtuanmanh/minio-act\n$ cd minio-act\n$ python setup.py install\n```\n\n## Quick Start Example - File Uploader\nThis example program connects to an S3-compatible object storage server, make a bucket on that server, and upload a file to the bucket.\n\nYou need the following items to connect to an S3-compatible object storage server:\n\n| Parameters | Description |\n|------------|------------------------------------------------------------|\n| Endpoint | URL to S3 service. |\n| Access Key | Access key (aka user ID) of an account in the S3 service. |\n| Secret Key | Secret key (aka password) of an account in the S3 service. |\n\n\n### examples/bucket/create.py\n```py\nimport os\n\nfrom minio_act.client import MinioClient\n\nminio_src = MinioClient(\n endpoint=os.getenv(\"AWS_S3_ENDPOINT\"),\n access_key=os.getenv(\"AWS_ACCESS_KEY\"),\n secret_key=os.getenv(\"AWS_SECRET_KEY\"),\n secure=False\n)\nminio_src.create_bucket(\n bucket_name=\"minio-bk\",\n region=\"ap-southeast-1\"\n)\n```\n\n#### Run File Create Bucket\n```sh\n$ python3 examples/bucket/create.py\n2023-08-09 00:07:41,848 - Minio Client - INFO - Creating bucket minio-bk ...\n```\n\n## More References\n* [Python Client API Reference](https://min.io/docs/minio/linux/developers/python/API.html)\n* [Examples](https://github.com/trancongtuanmanh/minio-act/tree/main/examples)\n\n\n[![PYPI](https://img.shields.io/pypi/v/minio-act.svg)](https://pypi.org/project/minio-act/)\n",
"bugtrack_url": null,
"license": "",
"summary": "Python package for interact with Minio resource",
"version": "0.0.3",
"project_urls": {
"Homepage": "https://github.com/trancongtuanmanh/minio-act"
},
"split_keywords": [
"pypi",
"python"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "19359fa8deebb3f1b6cff2c01674910d31120795e6b3186c4d711edc2b86b7ea",
"md5": "ccfe7d249380bf11f3b8ce3dd444a3a7",
"sha256": "fa16959484cce218aaf19cf6bfe074b0cfa441b609f4aeadfd28aab1d763c80f"
},
"downloads": -1,
"filename": "minio_act-0.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ccfe7d249380bf11f3b8ce3dd444a3a7",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 3719,
"upload_time": "2023-08-08T17:28:23",
"upload_time_iso_8601": "2023-08-08T17:28:23.624128Z",
"url": "https://files.pythonhosted.org/packages/19/35/9fa8deebb3f1b6cff2c01674910d31120795e6b3186c4d711edc2b86b7ea/minio_act-0.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "62494531c485f64eae489847b00fae41793ae6d9090379f56246ce11c7ec867e",
"md5": "ec437032a97a42861160cacb9864c571",
"sha256": "53d2c69bcc00d8ef51f71753cab9ebc36a91d59d746012635299bd0fb5bfc6c8"
},
"downloads": -1,
"filename": "minio_act-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "ec437032a97a42861160cacb9864c571",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 3294,
"upload_time": "2023-08-08T17:28:25",
"upload_time_iso_8601": "2023-08-08T17:28:25.096499Z",
"url": "https://files.pythonhosted.org/packages/62/49/4531c485f64eae489847b00fae41793ae6d9090379f56246ce11c7ec867e/minio_act-0.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-08 17:28:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "trancongtuanmanh",
"github_project": "minio-act",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "minio-act"
}