awesome-object-store-2.2.1
توضیحات
minio wrapper to perform task like pandas dataframe upload, download
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | awesome-object-store-2.2.1 |
| نام | awesome-object-store |
| نسخه کتابخانه | 2.2.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Schwannden Kuo |
| ایمیل نویسنده | schwannden@mobagel.com |
| آدرس صفحه اصلی | https://github.com/MoBagel/awesome-object-store |
| آدرس اینترنتی | https://pypi.org/project/awesome-object-store/ |
| مجوز | Apache-2.0 |
[](https://pypi.org/project/awesome-object-store/)
[](https://github.com/MoBagel/awesome-object-store)
[](https://coveralls.io/github/MoBagel/awesome-object-store?branch=develop)
# Awesome Object Store
A library that extends minio python client to perform more complex task like read/write pandas DataFrame, json file, ...etc
# Feature
* list_buckets: list all buckets.
* list_objects: list object under a prefix.
* put_as_json: put a dict as json file on s3.
* exists: check if an object exist on s3.
* remove_dir: remove a directory on s3.
* upload_df: Upload df as csv to s3.
* get_json: Get as dict from a json file on s3.
* get_df: Get a dataframe from a csv object on s3.
* remove_objects: Remove objects.
* download: Downloads data of an object to file.
# Development
## run unit test
1. getting service account credential:
1. visit google cloud console
1. go to project 8ndpoint-datalake-dev -> Security -> Secret Manager -> awesome-object-store-unit-test
1. action -> view secret value
1. store the value in tests/service-account.json
2. run ./run_test.sh
نیازمندی
| مقدار | نام |
|---|---|
| >=7.1.1,<8.0.0 | minio |
| >=1.4.1,<2.0.0 | pandas |
| >=0.16.0 | starlette |
| ==1.44.0 | google-cloud-storage |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<4.0 | Python |
نحوه نصب
نصب پکیج whl awesome-object-store-2.2.1:
pip install awesome-object-store-2.2.1.whl
نصب پکیج tar.gz awesome-object-store-2.2.1:
pip install awesome-object-store-2.2.1.tar.gz