module documentation

Undocumented

Function parse Replacement for ``pkg_resources.parse_requirements`` that uses ``packaging``.
Function parse_strings Yield requirement strings for each specification in `strs`.
Type Variable _T Undocumented
Type Alias _StrOrIter Undocumented
@overload
def parse(strs: _StrOrIter) -> Iterator[Requirement]:
@overload
def parse(strs: _StrOrIter, parser: Callable[[str], _T]) -> Iterator[_T]:
(source)

Replacement for ``pkg_resources.parse_requirements`` that uses ``packaging``.

def parse_strings(strs: _StrOrIter) -> Iterator[str]: (source)

Yield requirement strings for each specification in `strs`. `strs` must be a string, or a (possibly-nested) iterable thereof.

Undocumented

Value
TypeVar('_T')
_StrOrIter = (source)

Undocumented

Value
Union[str, Iterable[str]]