Boltons

Latest version: v24.1.0

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

Scan your dependencies

Page 5 of 6

0.6.5

_(July 30, 2015)_

BufferedSocket work, html2text, pairwise shortcut, is_container, plural
typo fix, [timeutils.isoparse][timeutils.isoparse], [cacheutils.ThresholdCounter][cacheutils.ThresholdCounter], and lots of
testing

- Add [iterutils.first][iterutils.first] function
- Add [cacheutils.ThresholdCounter][cacheutils.ThresholdCounter]
- Add JSONL verification to jsonutils
- Add [timeutils.isoparse][timeutils.isoparse]
- Add [strutils.html2text][strutils.html2text] and [strutils.HTMLTextExtractor][strutils.HTMLTextExtractor]
- Fix [strutils.pluralize][strutils.pluralize] (indeces -> indices, per [41][i41])
- Add [iterutils.is_container][iterutils.is_container] function
- Fixed a small formatting bug in [tbutils.ExceptionInfo][tbutils.ExceptionInfo] that added
an extra 'builtins.' for builtin exceptions under python 3
- Added tests for many modules
- Create [iterutils.pairwise][iterutils.pairwise] shortcuts for pairwise chunks since
pairs (key/val) are common
- Additional 2.6 compatibility and tests
- Fixed CachedInstancePartial to be Python 3 friendly without breaking
PyPy.
- Made formatutils Python 3 compatible
- Rename sockutils to socketutils and other changes

0.6.4

_(May 10, 2015)_

Fixed multiline exception message handling in ParsedException. added
mathutils. adding a tentative version of socketutils. fix LRU.popitem. fix
OMD.**eq**.

- Fix a bug where [dictutils.OrderedMultiDict][dictutils.OrderedMultiDict]'s **eq** would fail
with non-iterable objects of comparison
- Fixed `LRU.popitem` to return a key value pair
- Added mathutils with [mathutils.ceil][mathutils.ceil] and [mathutils.floor][mathutils.floor]
implementations that can search a fixed set of choices using the
bisect module.
- Fix [excutils.ParsedException][excutils.ParsedException] so exception message would not start
with whitespace
- Fix multiline exception messages
- Adding [socketutils.BufferedSocket][socketutils.BufferedSocket] and [socketutils.NetstringSocket][socketutils.NetstringSocket]

0.6.3

_(April 20, 2015)_

Add typeutils, remove compat.py, make ParsedException work with eval()ed
code

- Properly parse tracebacks with missing source. Resolves [30][i30]
- Tweak the docs for [typeutils.get_all_subclasses][typeutils.get_all_subclasses]
- Moved [typeutils.make_sentinel][typeutils.make_sentinel] into typeutils and removed the
confusing compat module
- Add in typeutils with modifications per the caveats of [15][i15]
- Added function [iterutils.one][iterutils.one]

0.6.2

_(April 11, 2015)_

Add partial_ordering, fix LRU repr and addition behavior

- Add [funcutils.partial_ordering][funcutils.partial_ordering](), decorator similar to
functools.total_ordering()
- Fixed [cacheutils.LRU][cacheutils.LRU]'s behavior per [21][i21]
- Fix [cacheutils.LRU][cacheutils.LRU] repr reversal, fixes [20][i20]

0.6.0

_(April 10, 2015)_

Python 3 support and several community bugfixes. Docs clarifications, too.

- Make boltons Python 3 compatible without any external
dependencies. All modules are independent and work in Python 2.6,
2.7, 3.4, and PyPy.
- clarify TracebackInfo.from_current() method gap, per user 'dl\_\_'
here: http://www.reddit.com/r/Python/comments/321d3o/boltons_over_100_python_utilities/
- Fix the [cacheutils.cached][cacheutils.cached] decorator, adding a sanity test, fixes [12][i12]
- Fix bytes2human when builtin zip returns iterators
- Simplified logic of [iterutils.chunked][iterutils.chunked]

0.5.1

_(April 10, 2015)_

A lot of bugfixes and Python 2.6 and PyPy compatibility changes thanks
to community contributions and encouragement.

- Corrected cases where OMD was not exactly a dropin for OrderedDict
- conditional availability of [gcutils.get_all][gcutils.get_all] based on pypy or cpython, also
[gcutils.is_tracked][gcutils.is_tracked] was added in 2.7, so making [gcutils.get_all][gcutils.get_all] work with 2.6
- Made namedutils backwards compatibility for python 2.6 best effort
- Fix invalid part_path usage in [fileutils.AtomicSaver][fileutils.AtomicSaver]

Page 5 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.