Boltons

Latest version: v24.1.0

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

Scan your dependencies

Page 4 of 6

16.0.1

_(January 24, 2016)_

DummyFile, Table.metadata, better exception handling, and in-progress
iterutils.get_path

- Small format fix in [iterutils.one][iterutils.one] for None
- Initial implementation of
[fileutils.DummyFile][fileutils.DummyFile], which allows for easy
no-op file handling without restructuring code. Sort of like a
dummy RLock for systems without threading, if you've seen those.
- avoid catching BaseException in all boltons
- better error handling in iterutils.get_path

16.0.0

One important fix and one small but handy string function.

- Fixed an [LRU][cacheutils.LRU] bug related to the 15.1.1
refactor. Also enhanced LRU testing with doubly-linked list
invariant enforcement.
- Added [strutils.indent][strutils.indent], the counterpart to
[textwrap.dedent](https://docs.python.org/2/library/textwrap.html#textwrap.dedent).

15.1.1

---

_(November 18, 2015)_

A lot of bugfixes and docfixes in 15.1.1.

updated AtomicSaver for better permissions handling, update
BufferedSocket message sending, beta version of iterutils.get_path,
several docs fixes, Stats zscore and cache bugfix, and an LRU refactor
with significantly improved behavior and code factoring.

- Updated [fileutils.AtomicSaver][fileutils.AtomicSaver] handling of
filesystem permissions to be simpler and more secure. This also
merges `dest_perms` and `part_perms` arguments to AtomicSaver and
atomic_save.
- Fix large message sending with [socketutils.BufferedSocket][socketutils.BufferedSocket]
- [strutils.iter_splitlines][strutils.iter_splitlines] is now in the docs.
- [cacheutils][cacheutils]: now imports RLock from the right place for python 2
- [statsutils][statsutils]: Only `delattr` when `hasattr` in
[Stats.clear_cache][statsutils.Stats.clear_cache]
- [statsutils.Stats][statsutils.Stats]: Add
[Stats.get_zscore][statsutils.Stats.get_zscore] to support
calculating the [z-score][zscore] (see also: t-statistic)
- [cacheutils.LRU][cacheutils.LRU]: Massive refactor of the backing
linked list for better handling of duplicate data in the
cache. More aggressive locking and better `__eq__`

15.1.0

_(September 23, 2015)_

Reached the first release version of
[iterutils.remap][iterutils.remap](), fully tested and
documented. Also a couple of tweaks to expose the
[iterutils.unique][iterutils.unique] docs.

15.0.2

_(September 9, 2015)_

a couple [dictutils.OMD][dictutils.OMD] fixes to
[dictutils.OMD.pop][dictutils.OMD.pop] and
[dictutils.OMD.popall][dictutils.OMD.popall] to make them consistent
with the docstrings. and the accompanying tests of course.

- fix [dictutils.OMD.setdefault][dictutils.OMD.setdefault] to default
to None and not empty list, per documentation (and add a test to the
same effect)

15.0.1

---

_(August 27, 2015)_

- Added
[OrderedMultiDict.sortedvalues()][OrderedMultiDict.sortedvalues],
which returns a copy of the OMD with sublists within a keyspace
sorted.
- Fixing a bug in
[dictutils.OrderedMultiDict][dictutils.OrderedMultiDict]'s addlist
method that caused values to be added multiple times.
- Fixing a [iterutils.backoff][iterutils.backoff] string identity check

[OrderedMultiDict.sortedvalues]: http://boltons.readthedocs.org/en/latest/dictutils.html#boltons.dictutils.OrderedMultiDict.sortedvalues

15.0.0

_(August 19, 2015)_

Finally the 15.0 major release. All passing PRs and feature requests
from the first wave addressed and closed. tzutils merged into
timeutils. AtomicSaver approach and API much improved. Several other
features added:

- [iterutils.backoff][iterutils.backoff] and [iterutils.backoff_iter][iterutils.backoff_iter] for exponential backoff
- [iterutils.frange][iterutils.frange] and [iterutils.xfrange][iterutils.xfrange] for floating point range generation
- Slightly more permissive [jsonutils.JSONLIterator][jsonutils.JSONLIterator] blank line ignoring
- [strutils.iter_splitlines][strutils.iter_splitlines] for lazily getting lines from a larger string
- [timeutils.dt_to_timestamp][timeutils.dt_to_timestamp], per the long-lived PR [13][i13].
- Merged tzutils into timeutils
- [fileutils.AtomicSaver][fileutils.AtomicSaver] rewrite and redoc
- -teens support for [strutils.ordinalize][strutils.ordinalize]
- made [iterutils.one][iterutils.one] consistent with [iterutils.first][iterutils.first]

0.6.6

_(July 31, 2015)_

Fix atomic saving open-file issue for Windows.

- Patch for AtomicSaver on Windows. Full rewrite comes in 15.0.0.
- [strutils.gunzip_bytes][strutils.gunzip_bytes] for decompressing a gzip bytestring

Page 4 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.