Textdata

Latest version: v2.4.1

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

2.4.1

Fixed error in ``table()`` parsing heuristic. Added tests. Tweaked
docs.

2.4.0

Added explicit separator mode to ``words()``.

2.3.2

Removed ``print()`` inadvertently added in last release.

2.3.0

Changed tab handling behavior. Previously used
``str.expandtabs()`` uniformly. While useful for dedent (removing
common line indentation), could obscure important internal tabs.
Default behavior is now to NOT expandtabs unless explicitly
requested. However, leading tabs are still expanded for dedent
processing.

2.2.0

Reorganized code. Tidied and improved comments.

Improved key cleaning for ``records()``

Added ``full`` evaluation mode.

Strengthened table evaluations.

Improved tests and docs.

Dropped deprecated ``astype`` and ``literal`` parameters to
``attrs()``.

Drops support for Python 2.6. Mainstream support ended 5 years
ago. Upgrade already!

2.1.0

Removed debugging statement inadverntaently left in code.

Improve documentation, esp. for APIs.

Enable ``attrs``, ``table``, and ``records`` to take the same
string or sequence of lines input as the outher routines.

Cleaned up exported names. ``OrderedDict`` no longer exported as a
convenience.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.