semvec/pypi-packages huggingface dataset:
anhaltai-commons-minio 2025.3.5
AnhaltAI Commons Minio: Additional functions for using Minio
Requires Python: >=3.10

# 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](https://pypi.org/project/anhaltai-commons-minio/)
- Compatible to [Python version >=3.10](https://www.python.org/downloads/)

### 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`` and ``pytest-minio-mock``.
- The config pytest.ini contains further settings as explained here: 
https://docs.pytest.org/en/7.1.x/reference/customize.html
- Run
````shell
pytest tests
````