miniMinio
A thin python helper get either 1) local files or 2) Minio objects. 1) Heavily relies on the default os library while 2) is built off minio-py. The package is designed to provide a seamless switch between testing file operations locally/over a file system and interacting with a minio server when in deployment.
Installation
Use the package manager pip to install miniMinio.
pip install miniMinio
Quick Start
from miniMinio import Minio
# For connecting to minio s3
mc = Minio(type="minio").config(hostname='host',
access_key='minio',
secret_key='minio',
secure=False
)
mc.ls('bucket/dir/')
# For connecting to local filesystem
mc = Minio(type="local").config()
mc.ls('.')
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Metadata
Release files for miniMinio 2.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| miniMinio-2.6.0.tar.gz | 10.7 kB | Details |
Release files / miniMinio-2.6.0.tar.gz
| Download URL | miniMinio-2.6.0.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64658e94e39582df9fbaab877d090a241b2af96a696525883fc7e43f6553180a
|
|
BLAKE2b-256 checksum How to use checksums |
a83b9c75ad1be2e6c4879fdac6fcb33c5b3080ee940fd2567116c477a29d8cbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.6.12
|