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
File details
Details for the file awesome_object_store-3.0.0.tar.gz
.
File metadata
- Download URL: awesome_object_store-3.0.0.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.9.19 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3777646d1237e9422a7f86553d8bb99987201f43c919c7a2f5e52c24afed230f |
|
MD5 | cc2a06d8279b4574db27207462b0bae6 |
|
BLAKE2b-256 | 1ff7d800ecef650c62e9415ece4603ba89f6ab1467f4e7f4c0c3c4e724c1503e |
File details
Details for the file awesome_object_store-3.0.0-py3-none-any.whl
.
File metadata
- Download URL: awesome_object_store-3.0.0-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.0 CPython/3.9.19 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f28635204e1c07a673db21cb8cd32dd36fd8ce4925f3c80504d91f144f45d096 |
|
MD5 | f8353c3f3993b0ee1d1f5532e8d3d44f |
|
BLAKE2b-256 | a39e78e74ae7f11f2d000cc805fa8965dcb5511d445dd7af682b4c17937b3d75 |