core.utils
Utilities
This module contains utility functions and other useful stuff.
Usage
- All functions in
core.utils.functions
can imported asfrom core.utils import <function name>
- All classes in
core.utils.classes
can imported asfrom core.utils import <class name>
- The global
core.utils.random.Random
module used by all other modules - The
core.utils.mail.Mail
module to send mails to the user - The
core.utils.cachename.CacheName
module to create smaller cache names and prevent to long path for filesystem - Functions to calculate metrics (e.g.
presision, recall
) incore.utils.metrics
- Global constants in
core.utils.const
View Source
""" # Utilities This module contains utility functions and other useful stuff. ## Usage - All functions in `core.utils.functions` can imported as `from core.utils import <function name>` - All classes in `core.utils.classes` can imported as `from core.utils import <class name>` - The global `core.utils.random.Random` module used by all other modules - The `core.utils.mail.Mail` module to send mails to the user - The `core.utils.cachename.CacheName` module to create smaller cache names and prevent to long path for filesystem - Functions to calculate metrics (e.g. `presision, recall`) in `core.utils.metrics` - Global constants in `core.utils.const` """ from core.utils.functions import * from core.utils.classes import * from core.utils.random import Random from core.utils.mail import Mail from core.utils.metrics import calc_metrics, interval_similarity from core.utils.cachename import CacheName