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.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a4f76e988a31fa65297927d0cac745f14aff5ca8d0f508045a1ae00b31748fa |
|
MD5 | cfb93ab846fbd68e37364790c7d91c36 |
|
BLAKE2b-256 | 628f9ccc140efe627737d141ddfd91d512c7ea15e3cbb4c9cc476d8ccdf6c9b4 |
Close
Hashes for awesome_object_store-2.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85b8b71c353ef757bd4c53c1900ad4f38fa10632c9f8f92ff4ab089cb19855a6 |
|
MD5 | f670c24e97d2f7c6de65c037898204f6 |
|
BLAKE2b-256 | 19a97456d070fcd2d5bc511e65bfba1b508d53d304b57e0fdd25de81074f535d |