minio wrapper to perform task like pandas dataframe upload, download
Project description
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
- getting service account credential:
- visit google cloud console
- go to project 8ndpoint-datalake-dev -> Security -> Secret Manager -> awesome-object-store-unit-test
- action -> view secret value
- store the value in tests/service-account.json
- run ./run_test.sh
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for awesome-object-store-2.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b43b269403c9ce37bb626d15687a262aba9635caac07e01167a1abcb17259da |
|
MD5 | b882458a7bf277f4ebe2653a03acf40c |
|
BLAKE2b-256 | 115594eadb27a248502408c9decb279beca50dd67ce7bfe21df58ddfdfdbd46e |
Close
Hashes for awesome_object_store-2.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 365b5d4ce37d7306ab8ffbf7a154fa1addcd43ba62048904c68a1d332d77c907 |
|
MD5 | 342f8c98eb0e970ba98afebd535a09e6 |
|
BLAKE2b-256 | a070ffe370a4a2e1aef726761ae34c10f15ac72750286ffbc8f88c7c99eca89d |