--- description: Explore the comprehensive reference for ultralytics.utils in the Ultralytics library. Enhance your ML workflow with these utility functions. keywords: Ultralytics, utils, TQDM, Python, ML, Machine Learning utilities, YOLO, threading, logging, yaml, settings --- # Reference for `ultralytics/utils/__init__.py` !!! note This file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/\_\_init\_\_.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/utils/__init__.py). If you spot a problem please help fix it by [contributing](https://docs.ultralytics.com/help/contributing/) a [Pull Request](https://github.com/ultralytics/ultralytics/edit/main/ultralytics/utils/__init__.py) 🛠️. Thank you 🙏!
## ::: ultralytics.utils.TQDM



## ::: ultralytics.utils.SimpleClass



## ::: ultralytics.utils.IterableSimpleNamespace



## ::: ultralytics.utils.ThreadingLocked



## ::: ultralytics.utils.TryExcept



## ::: ultralytics.utils.Retry



## ::: ultralytics.utils.JSONDict



## ::: ultralytics.utils.SettingsManager



## ::: ultralytics.utils.plt_settings



## ::: ultralytics.utils.set_logging



## ::: ultralytics.utils.emojis



## ::: ultralytics.utils.yaml_save



## ::: ultralytics.utils.yaml_load



## ::: ultralytics.utils.yaml_print



## ::: ultralytics.utils.read_device_model



## ::: ultralytics.utils.is_ubuntu



## ::: ultralytics.utils.is_colab



## ::: ultralytics.utils.is_kaggle



## ::: ultralytics.utils.is_jupyter



## ::: ultralytics.utils.is_docker



## ::: ultralytics.utils.is_raspberrypi



## ::: ultralytics.utils.is_jetson



## ::: ultralytics.utils.is_online



## ::: ultralytics.utils.is_pip_package



## ::: ultralytics.utils.is_dir_writeable



## ::: ultralytics.utils.is_pytest_running



## ::: ultralytics.utils.is_github_action_running



## ::: ultralytics.utils.get_git_dir



## ::: ultralytics.utils.is_git_dir



## ::: ultralytics.utils.get_git_origin_url



## ::: ultralytics.utils.get_git_branch



## ::: ultralytics.utils.get_default_args



## ::: ultralytics.utils.get_ubuntu_version



## ::: ultralytics.utils.get_user_config_dir



## ::: ultralytics.utils.colorstr



## ::: ultralytics.utils.remove_colorstr



## ::: ultralytics.utils.threaded



## ::: ultralytics.utils.set_sentry



## ::: ultralytics.utils.deprecation_warn



## ::: ultralytics.utils.clean_url



## ::: ultralytics.utils.url2file



## ::: ultralytics.utils.vscode_msg