code: def _prepare(
      install_requires: _StrOrIter,
      extras_require: Mapping[str, _StrOrIter],
  ) -> Tuple[List[str], Dict[str, List[str]]]:
      """Given values for ``install_requires`` and ``extras_require``
      create modified versions in a way that can be written in ``requires.txt``
      """
      extras = _convert_extras_requirements(extras_require)
      return _move_install_requirements_markers(
          install_requires, extras
      )
  
file_path: catboost/contrib/python/setuptools/py3/setuptools/command/_requirestxt.py
imports: import io
  from collections import defaultdict
  from itertools import filterfalse
  from typing import Dict, List, Tuple, Mapping, TypeVar
  from ..None import _reqs
  from ..extern.jaraco.text import yield_lines
  from ..extern.packaging.requirements import Requirement
label_desc: Use image node_id 1 for calling a global function with example usage: _prepare(install_requires, extras_require) and returns: _move_install_requirements_markers