A small program for downloading and uploading file to minio storage
Project description
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}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xethhung12_minio-0.0.1.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for xethhung12_minio-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b44abdf6067cac5765d63d01be5769e4d5474e043103fda2a02fdbabb2a41ad |
|
MD5 | 79f38ca9c1ff76ee6d19146c9527e669 |
|
BLAKE2b-256 | ed8628b68011b79a054e390d7cb3b074e523190c7bcb9d819ab85b67e7088f6a |