You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

2.5 KiB

description keywords
Explore the Ultralytics Utils package, with handy functions like colorstr, yaml_save, set_logging & more, designed to enhance your coding experience. Ultralytics, Utils, utilitarian functions, colorstr, yaml_save, set_logging, is_kaggle, is_docker, clean_url

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.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.is_ubuntu



::: ultralytics.utils.is_colab



::: ultralytics.utils.is_kaggle



::: ultralytics.utils.is_jupyter



::: ultralytics.utils.is_docker



::: 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.is_git_dir



::: ultralytics.utils.get_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