1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
from collections.abc import Iterable
def smart_truncate(
string: str, max_length: int = ..., word_boundary: bool = ..., separator: str = ..., save_order: bool = ...
) -> str: ...
def slugify(
text: str,
entities: bool = ...,
decimal: bool = ...,
hexadecimal: bool = ...,
max_length: int = ...,
word_boundary: bool = ...,
separator: str = ...,
save_order: bool = ...,
stopwords: Iterable[str] = ...,
regex_pattern: str | None = ...,
lowercase: bool = ...,
replacements: Iterable[Iterable[str]] = ...,
allow_unicode: bool = ...,
) -> str: ...
|