jquast
wcwidth
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Complete textwrap.wrap() with 6 missing params! (#207) Make available all keyword parameters for ``wcwidth.wrap()`` as ``textwrap.wrap()``. New Parameters expand_tabs, replace_whitespace, fix_sentence_endings, drop_whitespace, max_lines, and placeholder for wrap(), completing stdlib textwrap.wrap() compatibility.
master
7 days ago
Complete textwrap.wrap() with 6 missing params! **New** Parameters ``expand_tabs``, ``replace_whitespace``, ``fix_sentence_endings``, ``drop_whitespace``, ``max_lines``, and ``placeholder`` for ``wrap()``, completing stdlib ``textwrap.wrap()`` compatibility. Wrote code mostly for 'drop_whitespace' and 'placeholder', and found a very peculiar bug in standard python's textwrap fix_sentence_endings, that '\n' is "of length 1" -- the other parameters simply needed to be "wired in".
jq/more-wrap-options
7 days ago
Complete textwrap.wrap() with 6 missing params! **New** Parameters ``expand_tabs``, ``replace_whitespace``, ``fix_sentence_endings``, ``drop_whitespace``, ``max_lines``, and ``placeholder`` for ``wrap()``, completing stdlib ``textwrap.wrap()`` compatibility. Wrote code mostly for 'drop_whitespace' and 'placeholder', and found a very peculiar bug in standard python's textwrap fix_sentence_endings, that '\n' is "of length 1" -- the other parameters simply needed to be "wired in".
jq/more-wrap-options
7 days ago
Complete textwrap.wrap() with 6 missing params! **New** Parameters ``expand_tabs``, ``replace_whitespace``, ``fix_sentence_endings``, ``drop_whitespace``, ``max_lines``, and ``placeholder`` for ``wrap()``, completing stdlib ``textwrap.wrap()`` compatibility. Wrote code mostly for 'drop_whitespace' and 'placeholder', and found a very peculiar bug in standard python's textwrap fix_sentence_endings, that '\n' is "of length 1" -- the other parameters simply needed to be "wired in".
jq/more-wrap-options
7 days ago
Complete textwrap.wrap() with 6 missing params! **New** Parameters ``expand_tabs``, ``replace_whitespace``, ``fix_sentence_endings``, ``drop_whitespace``, ``max_lines``, and ``placeholder`` for ``wrap()``, completing stdlib ``textwrap.wrap()`` compatibility. Wrote code mostly for 'drop_whitespace' and 'placeholder', and found a very peculiar bug in standard python's textwrap fix_sentence_endings, that '\n' is "of length 1" -- the other parameters simply needed to be "wired in".
jq/more-wrap-options
7 days ago
rephrase ucs-detect for upcoming version
master
13 days ago
Add Virama conjunct for the Brahmic scripts (#204) Brahmic script has conjuncts that "collapse" to cell width, Closes #155 (From specs.rst) Virama Conjunct Formation ------------------------- In `Brahmic scripts`_, a `Virama`_ (``Indic_Syllabic_Category=Virama`` in `IndicSyllabicCategory.txt`_) between two consonants triggers `conjunct`_ formation: the font engine merges the consonants into a single ligature glyph. - A ``Consonant`` immediately following a ``Virama`` contributes 0 width. - The conjunct still occupies cells — the next visible advance settles it: - A following ``Mc`` (`Spacing Combining Mark`_, e.g. a vowel sign) counts as 1 cell and closes the conjunct — no extra cell is added. - A following wide character (or end of string) adds 1 cell for the conjunct before counting its own width. - Chains work the same way: C + virama + C + virama + C collapses each virama+consonant pair. - ``Mn`` marks do not break conjunct context within the same `aksara`_.
master
13 days ago
woops wrote the same message twice
jq/conjuct-formation
14 days ago
Active Branches
No pull requests found
As pull requests are created, their performance will appear here.
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs