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.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3be3df2d77c0cbdf3f4d185343b8a83ac0b48c8a8a59e8a570d294a7b4f7b6f9 |
|
MD5 | 55dff69ae8ea46ef8587aa132ae4b015 |
|
BLAKE2b-256 | 64869e3b5fed5a542235044fbe94f145dbd00103ab5faf3e3ee7105f7c29464c |
Close
Hashes for awesome_object_store-2.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54b5869d42598a65dd703d5cb33f601c7f06e6ad1dc648e32c886317fab936bf |
|
MD5 | 02d0227e9e9dd58ba8016ff1b170be42 |
|
BLAKE2b-256 | d54c086b9f619632b734d8cec58a32090a315ca1c0a831331a1dc0501f2b723a |