semvec/pypi-packages huggingface dataset:
nitrox-utils 0.0.1
Nitrox utils for nitrox AI Endpoint Implementation

# Nitrox Utils

The Nitrox Utils Repository is a tool for the Nitrox team that provides methods for implementing separate Nitrox projects. By implementing shared methods in multiple Nitrox projects, this repository helps to reduce code duplication, decrease the dependencies between project, and make code management easier.


## Minio Related Methods

Nitrox project widely used Minio to store the data and models. So it is necessary to implement the Minio related methods in the Nitrox Utils
- **Generate presigned URL**: Generate presigned URL for given object on Minio
- **Download object from Minio**: If the target object does not exist, download the object from Minio to local. This method should create all folder in the destination path if they do not exist.
- **Upload object to Minio**: Uploading object to Minio
- **Check object exist in Minio**: Check if an object exists in Minio

## Nitrox Logger Methods

Nitrox projects need a method to log information for pipeline result checking and debugging. So a logger method is implemented in the Nitrox utils.
- **Nitrox logger**: A Log method which can log information to a file and to the console.