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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e944235840872c91dda46d6bd442101322d68fa7dc18e145605c59940931b95 |
|
MD5 | fb9ac88e3c1cef41d704fd4df485d5fb |
|
BLAKE2b-256 | fa471f77c86190a21437aaa6bad798f14e8e9f6d84c3e4a5731780c1dd9f32fa |
Close
Hashes for awesome_object_store-2.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 018c78d42d0029708682484228f27c74076996d9b4e45103d02f3d4ad7ababe6 |
|
MD5 | 2ea5d627b83aaee470c61b50bb7da62a |
|
BLAKE2b-256 | e1ace6572d96701e5d5da8601e39bd2907b97f3567caee3783440ad1b8b1e4a5 |