utils

Modules

custom_exceptions

This module contains custom exceptions for the MetabolismModeler package.

custom_logging

This file contains a custom logger with different print levels and specific formatting. It also contains a progress bar function that can be used to show progress of a loop. The decorator_provide_time_information can be used to wrap a function and provide time together with a starting and finished message, that works congruently with the logger.

extra_utils

file_handling

Module containing functions for file handling operations, namely saving with tries for many different datatypes.

lookup_cache

Thread-safe, disk-backed key-value cache for external API lookups.

transformations

Transformation utilities for converting dataframes between log and linear spaces.

type_hinting

This module contains type hinting utilities for the VmaxBuilder project.