Skip to main content

Exposing file sharing system

Project description

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

MIT

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

miniMinio-2.6.0.tar.gz (10.7 kB view details)

Uploaded Source

File details

Details for the file miniMinio-2.6.0.tar.gz.

File metadata

  • Download URL: miniMinio-2.6.0.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for miniMinio-2.6.0.tar.gz
Algorithm Hash digest
SHA256 64658e94e39582df9fbaab877d090a241b2af96a696525883fc7e43f6553180a
MD5 77d2c89db7150426c8975880cffa19a3
BLAKE2b-256 a83b9c75ad1be2e6c4879fdac6fcb33c5b3080ee940fd2567116c477a29d8cbe

See more details on using hashes here.

Supported by

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