Skip to main content

minio wrapper to perform task like pandas dataframe upload, download

Project description

Stable Version tests Coverage Status

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

  1. getting service account credential:
    1. visit google cloud console
    2. go to project 8ndpoint-datalake-dev -> Security -> Secret Manager -> awesome-object-store-unit-test
    3. action -> view secret value
    4. store the value in tests/service-account.json
  2. run ./run_test.sh

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

awesome-object-store-2.2.0.tar.gz (9.2 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page