- Made 'inflect' an optional dependency. The show-newlines script now will crash unless jaraco.text[inflect] is installed.
- Add new 'clean' function, extracted from 'yield_lines'.
- Fix EncodingWarning.
- Add 'lines_from' function.
No significant changes.
- Require Python 3.8 or later.
Fixed EncodingWarnings
when reading/writing text.
Added strip-prefix
script.
Prefer casefold
in FoldedCase
.
#10: Fixed broken tests in read_newlines
and show-newlines
.
Add jaraco.text.show-newlines
script.
Refreshed packaging.
Enrolled with Tidelift.
Added layouts
module and to-qwerty
and to-dvorak
scripts.
Introducing yield_lines
, drop_comment
, and join_continuation
.
Fixed DeprecationWarning
in importlib.resources.read_text
as reported in #7.
#5: Fixed warning in docs builds.
Rely on PEP 420 for namespace package.
Added WordSet.trim*
methods.
Require Python 3.6 or later.
Added normalize_newlines function.
Added wrap
and unwrap
functions and lorem_ipsum
attribute containing the Lorem Ipsum sample text.
Declare missing dependency on six.
Removed local_format
, global_format
, and
namespace_format
. Instead, developers should
use f-strings
on Python 3.6 and later or future-fstrings for compatibilty
with older Pythons. This change eliminates the dependency on
jaraco.collections and thus for now removes the circular dependency
as reported in #3.
Switch to pkgutil namespace technique
for the jaraco
namespace.
Packaging refresh. Docs now published in RTD.
FoldedCase now supports string-containment support in an unfortunately assymetric way.
Fix bug where FoldedCase.__ne__
was case-sensitive.
Refresh packaging.
Synchronize with skeleton.
Update docs and expand tests on FoldedCase.
Use method_cache for FoldedCase.lower
.
Add remove_prefix and remove_suffix helpers.
In Stripper, always strip the prefix, even if it's empty.
Issue #1: Fix WordSet on Python 2.
Drop dependency on jaraco.context (and its dependencies).
Move hosting to github.
Add missing namespace package declaration in distribution.
Add Stripper class.
Add SeparatedValues class.
Initial implementation adopted from jaraco.util.string 10.8.