xethhung12-minio

A small program for downloading and uploading file to minio storage


License
MIT
Install
pip install xethhung12-minio==0.0.4

Documentation

This project is not maintained anymore. Please go for


Build and deploy

rm -fr dist/*
python -m build
python twine upload dist/* -u __token__ -p {token}

Behind Proxy

if the client is connecting to internet though a company proxy server, use the environment variable(http_proxy) to setup the proxy.
e.g. http_proxy=http://127.0.0.1:8080

Usage of upload

python -m xethhung12_minio_upload_file \
    --url {url} \
    --access-key {access-key} \
    --secret-key {secret-key} \
    --bucket {bucket} \
    --local-file {local file} \
    --remote-file {remote file}

Usage of download

python -m xethhung12_minio_download_file \
    --url {url} \
    --access-key {access-key} \
    --secret-key {secret-key} \
    --bucket {bucket} \
    --local-file {local file} \
    --remote-file {remote file}