Skip to main content

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:

Print list buckets in Minio

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.

#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

Print .txt file

#1
import minio_hung

minio_hung.readtext(ACCESS_KEY, SECRET_KEY, BUCKET_NAME, OBJECT_NAME)



#2
from minio_hung import readtext

readtext(ACCESS_KEY, SECRET_KEY, BUCKET_NAME, OBJECT_NAME)

Print .csv file

#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)

Print .xlsx file

#1
import minio_hung

minio_hung.readexcel(ACCESS_KEY, SECRET_KEY, BUCKET_NAME, OBJECT_NAME)



#2
from minio_hung import readexcel

readexcel(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).

Write .txt file


#1
import minio_hung

minio_hung.writetext(ACCESS_KEY,PRIVATE_KEY,BUCKET_NAME_IN,OBJECT_NAME_IN,BUCKET_NAME_OUT,OBJECT_NAME_OUT)



#2
from minio_hung import writetext

writetext(ACCESS_KEY,PRIVATE_KEY,BUCKET_NAME_IN,OBJECT_NAME_IN,BUCKET_NAME_OUT,OBJECT_NAME_OUT)

Write .csv file

#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)

Write .xlsx file

#1
import minio_hung

minio_hung.writeexcel(ACCESS_KEY,PRIVATE_KEY,BUCKET_NAME_IN,OBJECT_NAME_IN,BUCKET_NAME_OUT,OBJECT_NAME_OUT)



#2
from minio_hung import writeexcel

writeexcel(ACCESS_KEY,PRIVATE_KEY,BUCKET_NAME_IN,OBJECT_NAME_IN,BUCKET_NAME_OUT,OBJECT_NAME_OUT)

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

Minio_hung-0.0.7.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Minio_hung-0.0.7.1-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file Minio_hung-0.0.7.1.tar.gz.

File metadata

  • Download URL: Minio_hung-0.0.7.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/62.4.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for Minio_hung-0.0.7.1.tar.gz
Algorithm Hash digest
SHA256 3b08fc9eb7c8afa5bafaaed58a8a481187b8ab22e478b1faaa5de593f711d26a
MD5 072ac2caecbb66096c27940c7d705c32
BLAKE2b-256 022b26bb54c401bc4fea9bb0bdd4f9a0a4cbe10f03529a3713dcea115a9d2400

See more details on using hashes here.

File details

Details for the file Minio_hung-0.0.7.1-py3-none-any.whl.

File metadata

  • Download URL: Minio_hung-0.0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/62.4.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for Minio_hung-0.0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b6ba022c6152245bf360af426e22706c95e39d21f0918da74af27a60fc0baa26
MD5 e269be0efec6c84033cc94c3c30421b5
BLAKE2b-256 47defa161a67eebc2d3627734f02b332f8cde95fbb937c51522c87e9087c9a7c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page