Makes you use Minio easier.
Project description
Minio-hung: Print your buckets and .csv files from Minio
Powered by Ly Duc Hung (FPT Infomation System)
Bản update nho nhỏ bớt cục súc hơn & bớt mất dạy hơn (Còn nếu bạn chưa biết thì oke bỏ qua đi đừng quan tâm làm gì).
How to install?
pip install Minio-hung
or
Windows
py -m pip install Minio-hung
Linux/Mac OS
python3 -m pip install Minio-hung
What's in package?
minio_hung
How to use Minio-hung?
You can use to one of codes below here:
ACCESS_KEY: Access key in your Services Account.
SECRET_KEY: Secret key in your Services Account.
BUCKET_NAME: Your Bucket name.
OBJECT_NAME: The Object name in your Bucket.
Print list buckets in Minio
#1
import minio_hung
minio_hung.read_list(ACCESS_KEY, PRIVATE_KEY)
#2
from minio_hung import read_list
read_list(ACCESS_KEY, PRIVATE_KEY)
Print .csv file from Minio
#1
import minio_hung
minio_hung.readcsv(ACCESS_KEY, SECRET_KEY, BUCKET_NAME, OBJECT_NAME)
#2
from minio_hung import readcsv
readcsv(ACCESS_KEY, SECRET_KEY, BUCKET_NAME, OBJECT_NAME)
Write file from Minio
ACCESS_KEY: Access key in your Services Account.
SECRET_KEY: Secret key in your Services Account.
BUCKET_NAME_IN: Your Bucket name (INPUT).
OBJECT_NAME_IN: The Object name in your Bucket (INPUT).
BUCKET_NAME_OUT: Your Bucket name (OUTPUT).
OBJECT_NAME_OUT: The Object name in your Bucket (OUTPUT).
#1
import minio_hung
minio_hung.writecsv(ACCESS_KEY,PRIVATE_KEY,BUCKET_NAME_IN,OBJECT_NAME_IN,BUCKET_NAME_OUT,OBJECT_NAME_OUT)
#2
from minio_hung import writecsv
writecsv(ACCESS_KEY,PRIVATE_KEY,BUCKET_NAME_IN,OBJECT_NAME_IN,BUCKET_NAME_OUT,OBJECT_NAME_OUT)
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
Minio_hung-0.0.3.2.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for Minio_hung-0.0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f12e058afbee325ce94580881bca4294bd53fe1f4ca88634ef1e436f5faed304 |
|
MD5 | bf297922f7046aaa05e3a0d2b7c05dbc |
|
BLAKE2b-256 | 95b7631785413cc4ed70462707fd5ed711ff58a64ddebf758edee867d95be47a |