AnhaltAI Commons Minio: Additional functions for using Minio
Project description
AnhaltAI Commons Minio
Provides functionality for data management between Python code and Minio stores, from basic operations on Minio clients, buckets, files, and directories to more complex operations such as copying and migrating directory-based datasets.
The package provides extended functionality for the usage to the minio package.
Usage
- Accessible on PyPI
- Compatible to Python version >=3.10
Using pip
pip install anhaltai-commons-minio
Using Source From GitHub
Coming soon!
Structure
The provided functions are divided into several levels.
Adapters
Adapters provide functions to enable data operations between Minio and other data stores
nextcloud.py
Contains a subclass of a nextcloud client to provide functions to execute copy operations for files and directories between Minio and Nextcloud
io_utils.py
Provides functions to fulfill CRUD operations for files and directories
bucket_utils.py
Allows operations on buckets by the provided functions.
client_utils.py
Allows operations on clients by the provided functions.
Tests
- the package is tested by automated tests to ensure functionality
- Install
pytest
andpytest-minio-mock
. - The config pytest.ini contains further settings as explained here: https://docs.pytest.org/en/7.1.x/reference/customize.html
- Run
pytest tests
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
Built Distribution
File details
Details for the file anhaltai_commons_minio-2024.10.6.tar.gz
.
File metadata
- Download URL: anhaltai_commons_minio-2024.10.6.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7cec0f0546f8170c6250528e548fe14aabeb2eb7cf1f1ce5d2d0d4915d62048 |
|
MD5 | 137cd4a55668af3245bb78f3072d35ac |
|
BLAKE2b-256 | bc3b957b80377643440699fb57fe54187a4f46a2eae7fb451426a6fdd71edf8d |
File details
Details for the file anhaltai_commons_minio-2024.10.6-py3-none-any.whl
.
File metadata
- Download URL: anhaltai_commons_minio-2024.10.6-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75a8c4893130a723c4f1f7d4e906c13e2440ae6724cbff0c3ffabb4ab29c9f02 |
|
MD5 | c5213b3fcef13093d81669f0d2b9febd |
|
BLAKE2b-256 | a7c51702018733fccb1ddc48f30109f1d13d1a1ae88b4a719069ee317bcd9941 |