boltons/CHANGELOG.md

1067 lines
54 KiB
Markdown
Raw Normal View History

2015-08-21 05:58:47 +00:00
boltons Changelog
=================
Since February 20, 2013 there have been 41 releases and 1405 commits for
an average of one 34-commit release about every 8 weeks.
2019-10-19 23:03:00 +00:00
2019-11-28 19:27:51 +00:00
20.0.0
2019-11-28 19:27:51 +00:00
------
*January 8, 2020*
* New module [pathutils][pathutils]:
* [pathutils.augpath][pathutils.augpath] augments a path by modifying its components
* [pathutils.shrinkuser][pathutils.shrinkuser] inverts :func:`os.path.expanduser`.
* [pathutils.expandpath][pathutils.expandpath] shell-like environ and tilde expansion
* add `include_dirs` param to [fileutils.iter_find_files][fileutils.iter_find_files]
* Make [funcutils.format_invocation][funcutils.format_invocation] more deterministic
* add [strutils.unwrap_text][strutils.unwrap_text] which does what you think to wrapped text
* Py3 fixes
* [strutils.chunked][strutils.chunked] to work with the `bytes` type ([#231][i231])
* [cacheutils.ThresholdCounter][cacheutils.ThresholdCounter]'s `get_common_count()`
[i231]: https://github.com/mahmoud/boltons/issues/231
[pathutils]: https://boltons.readthedocs.io/en/latest/pathutils.html
[pathutils.augpath]: https://boltons.readthedocs.io/en/latest/pathutils.html#boltons.pathutils.augpath
[pathutils.augpath]: https://boltons.readthedocs.io/en/latest/pathutils.html#boltons.pathutils.augpath
[pathutils.shrinkuser]: https://boltons.readthedocs.io/en/latest/pathutils.html#boltons.pathutils.shrinkuser
[pathutils.expandpath]: https://boltons.readthedocs.io/en/latest/pathutils.html#boltons.pathutils.expandpath
[strutils.unwrap_text]: https://boltons.readthedocs.io/en/latest/strutils.html#boltons.strutils.unwrap_text
2019-11-28 19:27:51 +00:00
2019-10-29 05:48:18 +00:00
19.3.0
------
*(October 28, 2019)*
Three funcutils:
2019-10-29 05:51:57 +00:00
* [funcutils.format_invocation][funcutils.format_invocation] for formatting simple function calls `func(pos1, pos2, kw_k=kw_v)`
2019-10-29 05:48:18 +00:00
* [funcutils.format_exp_repr][funcutils.format_exp_repr] for formatting a repr like `Type(pos, kw_k=kw_v)`
* [funcutils.format_nonexp_repr][funcutils.format_nonexp_repr] for formatting a repr like `<Type k=v>`
[funcutils.format_invocation]: https://boltons.readthedocs.io/en/latest/funcutils.html#boltons.funcutils.format_invocation
[funcutils.format_exp_repr]: https://boltons.readthedocs.io/en/latest/funcutils.html#boltons.funcutils.format_exp_repr
[funcutils.format_nonexp_repr]: https://boltons.readthedocs.io/en/latest/funcutils.html#boltons.funcutils.format_nonexp_repr
2019-10-19 23:03:00 +00:00
19.2.0
------
*(October 19, 2019)*
A bunch of small fixes and enhancements.
* [tbutils.TracebackInfo][tbutils.TracebackInfo]'s from_frame now respects `level` arg
* [OrderedMultiDict.sorted()][OrderedMultiDict.sorted] now maintains all items, not just the most recent
* [setutils.complement()][setutils.complement] now supports `__rsub__` for better interop with the builtin `set`
* [FunctionBuilder][FunctionBuilder] fixed a few py3 warnings related to inspect module usage (`formatargspec`)
* [iterutils.bucketize][iterutils.bucketize] now takes a string key which works like an attribute getter, similar to other iterutils functions
* Docstring fixes across the board
* CI fixes for Travis default dist change
[OrderedMultiDict.sorted]: http://boltons.readthedocs.org/en/latest/dictutils.html#boltons.dictutils.OrderedMultiDict.sorted
2019-02-28 08:20:19 +00:00
19.1.0
------
*(February 28, 2019)*
Couple of enhancements, couple of cleanups.
* [queueutils][queueutils] now supports float-based priorities ([#204][i204])
* [FunctionBuilder][funcutils.FunctionBuilder] has a new
`get_arg_names()` method, and its `get_defaults_dict()` method
finally includes kwonly argument defaults.
* [strutils.gzip_bytes][strutils.gzip_bytes] arrives to match
[strutils.gunzip_bytes][strutils.gunzip_bytes]
[i204]: https://github.com/mahmoud/boltons/issues/204
2019-02-13 04:29:10 +00:00
19.0.1
------
*(February 12, 2019)*
Quick release to enhance [FunctionBuilder][funcutils.FunctionBuilder]
and [funcutils.wraps][funcutils.wraps] to maintain function
2019-08-05 00:38:25 +00:00
annotations on Python 3+. ([#133][i133], [#134][i134], [#203][i203])
2019-02-13 04:29:10 +00:00
[i133]: https://github.com/mahmoud/boltons/issues/133
[i134]: https://github.com/mahmoud/boltons/issues/134
[i203]: https://github.com/mahmoud/boltons/issues/203
19.0.0
------
*(February 10, 2019)*
2019-02-11 17:50:37 +00:00
A very big release indeed, perhaps the biggest yet. A big, big thank you to all the contributors!
* New types and utilities
2019-02-11 17:40:24 +00:00
* [dictutils.ManyToMany][dictutils.ManyToMany] arrives, to complement [dictutils.OneToOne][dictutils.OneToOne]
2019-02-11 17:50:37 +00:00
* [dictutils.FrozenDict][dictutils.FrozenDict] brings immutable mapping to a module near you ([#105][i105])
2019-02-11 17:40:24 +00:00
* [setutils.complement()][setutils.complement] introduces "negative" sets, useful for exclusion and many other set operations
* [iterutils.soft_sorted()][iterutils.soft_sorted] allows for looser, more flexible sorting of sequences
2019-02-11 17:50:37 +00:00
* [iterutils.flatten_iter()][iterutils.flatten_iter] and [iterutils.flatten()][iterutils.flatten], to collapse nested iterables. ([#118][i118])
2019-02-11 17:40:24 +00:00
* [mathutils.Bits][mathutils.Bits] type for representing a bitstring and translating
between integer, bytestring, hex, and boolean sequence representations.
* funcutils improvements
2019-02-11 17:50:37 +00:00
* [FunctionBuilder][funcutils.FunctionBuilder] and [funcutils.wraps][funcutils.wraps] now support coroutines/async ([#194][i194])
* [FunctionBuilder.add_arg()][funcutils.FunctionBuilder.add_arg] allows the addition of arguments to the signature, to match [FunctionBuilder.remove_arg()][funcutils.FunctionBuilder.remove_arg] ([#201][i201])
* Similarly [funcutils.wraps()][funcutils.wraps] now takes an "expected" argument, to complement "injected" ([#161][i161])
* Other bugfixes and improvements
2019-02-11 17:50:37 +00:00
* [cacheutils.LRI][cacheutils.LRI] is now threadsafe and correctly evicts when duplicate keys are added ([#155][i155], [#157][i157])
2019-02-11 17:40:24 +00:00
* [dictutils.subdict()][dictutils.subdict] now does its best to return the same type of dictionary it was passed.
* [urlutils][urlutils] now has better IPv6 support and URL can be used more natively like a string
* Improve singularization in [strutils][strutils]
* Fix some deprecation warnings in Python 3.7 ([#165][i165], [#196][i196])
2019-02-11 17:50:37 +00:00
* Document the change in dict constructor behavior affecting [dictutils.OMD][dictutils.OMD] under Python 3.7+ ([#179][i179])
[i105]: https://github.com/mahmoud/boltons/issues/105
[i118]: https://github.com/mahmoud/boltons/issues/118
[i155]: https://github.com/mahmoud/boltons/issues/155
[i157]: https://github.com/mahmoud/boltons/issues/157
[i161]: https://github.com/mahmoud/boltons/issues/161
[i165]: https://github.com/mahmoud/boltons/issues/165
[i179]: https://github.com/mahmoud/boltons/issues/179
[i194]: https://github.com/mahmoud/boltons/issues/194
2019-02-11 17:50:37 +00:00
[i195]: https://github.com/mahmoud/boltons/issues/195
[i196]: https://github.com/mahmoud/boltons/issues/196
2019-02-11 17:50:37 +00:00
[i201]: https://github.com/mahmoud/boltons/issues/201
2017-02-27 09:30:22 +00:00
2018-08-29 23:58:03 +00:00
18.0.1
------
*(August 29, 2018)*
A few bugfixes and a handy text utility.
* Add MultiSub for multiple string substitutions in a single call
([#162][i162])
* `tableutils.Table.to_text()` is more Markdown compatible
* Add LICENSE to package ([#164][i164])
* `atomic_save` works better with `overwrite=True` ([#161][i161])
* Reduced memory footprint on `tbutils._DeferredLine` with `__slots__`
2018-03-02 08:16:21 +00:00
18.0.0
------
*(March 2, 2018)*
* Add `<thead>` and `<tbody>` structure to tableutils.Table HTML
output, which helps with styling and other functionality (e.g.,
jQuery datatables).
2019-02-11 17:40:24 +00:00
* Add [dictutils.subdict()][dictutils.subdict] to get a filtered version of a dictionary
2018-08-29 23:58:03 +00:00
based on a subset of keys. ([#150][i150])
2018-03-02 08:16:21 +00:00
* Add beta version of cacheutils.MinIDMap.
2017-12-16 07:37:19 +00:00
17.2.0
------
*(December 16, 2017)*
A big release with a lot of features and bugfixes, big and small. Just
in time for the holidays!
* Better handling of `file` and `file`-like objects in [remap][iterutils.remap]'s `default_enter`
* Fix line-by-line iteration in [ioutils][ioutils] types
* Change [strutils.slugify][strutils.slugify] to always output at
least a single-character slug (in cases of
all-punctuation/whitespace inputs).
* Fix [DeferredValue][formatutils.DeferredValue] caching in [formatutils][formatutils]
* Add [OneToOne][dictutils.OneToOne] to [dictutils][dictutils]
* Add [MultiFileReader][ioutils.MultiFileReader] to [ioutils][ioutils] (see [#135][i135])
* Support passing `dir` argument to [ioutils][ioutils] SpooledIO types
* fix default arguments for [mathutils.clamp][mathutils.clamp] (see [#128][i128])
* Add [iterutils.research][iterutils.research], a
[remap][iterutils.remap]-based recursive search function for nested
data
* Improved and expanded [urlutils.SCHEME_PORT_MAP][urlutils.SCHEME_PORT_MAP]
* Simplify [urlutils.find_all_links][urlutils.find_all_links] signature
2017-02-27 09:30:22 +00:00
17.1.0
------
*(February 27, 2017)*
Add urlutils module, with URL type and find_all_links function. also
update Sentinel for Python 3 falsiness
* Add urlutils module, complete with RFC3986-compliant `URL` type
* Also add `urlutils.find_all_links` function, which heuristically
finds all links in plaintext, and creates URLs out of them.
* Update typeutils.Sentinel to be appropriately falsy on Python 3
2017-01-25 07:09:57 +00:00
17.0.0
------
*(January 24, 2017)*
Several tweaks and enhancements to ring in the new year.
* [tbutils][tbutils] objects like the
[ExceptionInfo][tbutils.ExceptionInfo] are now more easily
JSON-serializable thanks to a tweak to [Callpoint][tbutils.Callpoint].
* SpooledIO objects like
[ioutils.SpooledBytesIO][ioutils.SpooledBytesIO] are now
`bool`-able.
* [iterutils.bucketize][iterutils.bucketize] gains the
`value_transform` and `key_filter` arguments.
* [cachedproperty][cacheutils.cachedproperty] properly maintains
docstring
* [funcutils.wraps][funcutils.wraps] maintains a reference to the
wrapped function with `__wrapped__` attribute.
* A bit of cleanup to be backwards compatible to Python 3.3
2016-11-06 07:15:54 +00:00
16.5.1
------
*(November 6, 2016)*
Mostly bug fixes and various tweaks, optimizations, and
documentation. Also added a bit of functionality in the form of
[ioutils][ioutils] and some GUID stuff.
* Add [ioutils][ioutils] with
[SpooledStringIO][ioutils.SpooledStringIO] and
[SpooledBytesIO][ioutils.SpooledBytesIO], two in-memory file-like
objects, like the stdlib [StringIO][StringIO], except that they
automatically spill over to disk when they reach a configurable
size.
* Add [iterutils.GUIDerator][iterutils.GUIDerator] and
[iterutils.SequentialGUIDerator][iterutils.SequentialGUIDerator],
two methods of getting random iterables.
* Add [mathutils.clamp][mathutils.clamp], a combined min-max function,
like numpy's clip.
* Optimized [iterutils.first][iterutils.first].
* Enabled spillover kwargs in [funcutils.wraps][funcutils.wraps]
* fix for default [remap][iterutils.remap] set support, fixes [#84][i84]
* improving and testing exceptions around classmethod and staticmethod
for [funcutils.wraps][funcutils.wraps] and
[FunctionBuilder][funcutils.FunctionBuilder], fixes [#86][i86] to
the degree possible.
2016-07-19 07:41:49 +00:00
16.5.0
------
*(July 16, 2016)*
A few minor changes, and medium-sized breaking change to
[cacheutils][cacheutils].
* [cacheutils][cacheutils] caching decorators now take the
function/method into account by default. This was done by adding the
scoped argument to [@cached][cacheutils.cached] and
[@cachedmethod][cacheutils.cachedmethod] (and removing selfish from
cachedmethod). also fixed a bug in a cachedmethod test, as well as
added docs for scoped and key arguments. all of this to fix [#83][i83].
* [tableutils.Table][tableutils.Table] cell html can be customized by
overriding `get_cell_html` method.
* [funcutils.total_ordering][funcutils.total_ordering], a
[functools.total_ordering][functools.total_ordering] backport for
python 2.6.
* [funcutils.FunctionBuilder][funcutils.FunctionBuilder] function
names are now configurable.
2016-06-12 22:13:32 +00:00
16.4.1
------
*(June 14, 2016)*
This release primarily contains several [statsutils][statsutils] updates.
* The biggest change was the addition of
[Stats.format_histogram][statsutils.Stats.format_histogram] complete
with Freedman bin selection and other useful options.
* Added inter-quartile range (iqr) to [statsutils.Stats][statsutils.Stats]
* Adding mad (median absolute deviation) to
[Stats.describe][statsutils.Stats.describe], since median and
std_dev were already there.
2016-06-08 10:12:02 +00:00
16.4.0
------
*(June 8, 2016)*
another significant release, thanks to the addition of funcutils.wraps
and funcutils.FunctionBuilder. also iterutils.chunked speedup, and
tbutils.ParsedException.to_string.
* [funcutils.wraps][funcutils.wraps]: Just like functools.wraps, but
can preserve the function signature as well.
* [funcutils.FunctionBuilder][funcutils.FunctionBuilder]: The basis
for [funcutils.wraps][funcutils.wraps], this full-featured type
enables programmatically creating functions, from scratch or from
existing functions. Supports all Python 2 and 3 function features.
* [ecoutils][ecoutils]: Python 2.4 and 2.5 support.
* [iterutils][iterutils]: optimize
[iterutils.chunked_iter][iterutils.chunked_iter] (2-5x faster
depending on runtime). [See #79][i79].
* [tbutils][tbutils]: add the
[ParsedException.to_string][tbutils.ParsedException.to_string]
method, to convert parsed exceptions back into strings, possibly
after manipulation
* switch FunctionBuilder on Python 2 to be congruent with Python 3
(keywords attribute renamed to varkw, preview users might have to
adjust)
2016-05-24 10:54:38 +00:00
2016-05-24 17:09:08 +00:00
16.3.1
2016-05-24 10:54:38 +00:00
------
*(May 24, 2016)*
2016-05-24 17:09:08 +00:00
Just a couple of [ecoutils][ecoutils] follow-ons, removing uuid
dependency and adding the ability to scrub identifiable data.
16.3.0
------
*(May 23, 2016)*
2016-05-24 10:54:38 +00:00
Big, big update. Lots of additions, a few bugfixes.
* [ecoutils][ecoutils] - Python runtime/environment profile generator
* [timeutils.strpdate][timeutils.strpdate] - like datetime.datetime.strpdate but for date
* [timeutils.daterange][timeutils.daterange] - like range() but for datetime.date objects
* [strutils.parse_int_list][strutils.parse_int_list]
and [strutils.format_int_list][strutils.format_int_list]
* [cacheutils][cacheutils]
* [cachedproperty][cacheutils.cachedproperty]
* [cacheutils.cachedmethod][cacheutils.cachedmethod]
* [cacheutils.cached][cacheutils.cached] now accepts a callable, as well.
* ``cacheutils.make_cache_key`` is now public, should others need it
* [statsutils.Stats][statsutils.Stats] update, several new methods,
including [Stats.describe][statsutils.Stats.describe]
* A few [socketutils][socketutils] platform tweaks
* `debugutils.wrap_trace` preview
2016-05-03 08:29:57 +00:00
16.2.2
------
*(May 3, 2016)*
many small tweaks to socketutils.BufferedSocket, including optional
inclusion of the delimiter in recv_until. also undid the enabling of bak
2016-05-24 10:54:38 +00:00
files with AtomicSaver on windows
2016-05-03 08:29:57 +00:00
* Small [socketutils.BufferedSocket][socketutils.BufferedSocket] tweaks
* make recv_until conditionally return the delimiter (by default it
does not). also fix a NetstringException inheritance typo
2016-05-24 10:54:38 +00:00
* [socketutils][socketutils]: rename BufferedSocket.recv_lock to
_recv_lock, and same for send_lock.
2016-05-03 08:29:57 +00:00
* add a bunch of simple passthrough methods to better fill out
socket's API
* add .fileno/.close/.shutdown to [socketutils.BufferedSocket][socketutils.BufferedSocket]
* added type/family/proto
[socketutils.BufferedSocket][socketutils.BufferedSocket]
passthrough properties
* BufferedSocket: also lock on .shutdown()
* adding an rbuf_unconsumed attribute for post-close debugging, per
@doublereedkurt's request
* `getsendbuffer()` returns a bytestring and `recv_size()` uses the proper
`._recvsize` on the first socket fetch
2016-05-09 17:40:10 +00:00
* [fileutils.AtomicSaver][fileutils.AtomicSaver]: revert bak file as
it was causing confusion, per [nvie/pip-tools#351](https://github.com/nvie/pip-tools/issues/351)
2016-05-03 08:29:57 +00:00
16.2.1
------
*(April 29, 2016)*
This version sees the soft debut of [socketutils][socketutils], which
includes wrappers and tools for working with the built-in socket. A
lot of [socketutils.BufferedSocket][socketutils.BufferedSocket] changes.
* [BufferedSocket.recv_until][socketutils.BufferedSocket.recv_until] now
supports multibyte delimiters and also includes the delimiter in its returns.
* Better BufferedSocket timeout discipline throughout.
* Various BufferedSocket argument name changes, *maxbytes* became
*maxsize*, *n* became *size*, *marker* became *delimiter*, etc.
* [BufferedSocket][socketutils.BufferedSocket] BufferedSocket became
threadsafe
2016-06-08 10:14:27 +00:00
* [BufferedSocket.recv][socketutils.BufferedSocket.recv] now always returns the
contents of the internal buffer before doing a socket call.
2016-06-08 10:14:27 +00:00
* [BufferedSocket.recv_close][socketutils.BufferedSocket.recv_close] now exists
to receive until the sending end closes the connection.
* Can now pass *recvsize* to
[BufferedSocket][socketutils.BufferedSocket] constructor to tune
the size passed to the lower-level recv call.
* [socketutils][socketutils] got documented and tested.
16.2.0
------
*(April 18, 2016)*
adding shell args escaper-joiners to strutils (escape_shell_args,
args2cmd, args2sh) as well as a rare breaking fix to
[iterutils.pairwise][iterutils.pairwise].
* Argument joiners, functions to join command line arguments in
context-appropriate ways:
* [strutils.escape_shell_args][strutils.escape_shell_args]
* [strutils.args2cmd][strutils.args2cmd]
* [strutils.args2sh][strutils.args2sh]
* BREAKING: finally fixing
[iterutils.pairwise][iterutils.pairwise]. pairwise used to call to
`chunked`, now it calls to `windowed`. `pairwise([1, 2, 3, 4])` no
longer returns `[(1, 2), (3, 4)]`. Instead, it returns
`[(1, 2), (2, 3), (3, 4)]`, which is what I always mean when I say
pairwise, but not what the original contributor implemented.
* Adding a universal wheel distribution option!
16.1.1
------
*(March 6, 2016)*
Added [iterutils.same][iterutils.same], improvement of Windows
[fileutils.AtomicSaver][fileutils.AtomicSaver] behavior for old
filesystems, bugfix on [strutils.is_uuid][strutils.is_uuid], expansion
of [strutils.pluralize][strutils.pluralize], new trove classifiers and
docs improvements!
* [fileutils.replace][fileutils.replace]: use bak file option for
win32 ReplaceFile for slightly better corner case coverage on less
featureful filesystems
* [strutils.pluralize][strutils.pluralize]: Add more irregular plurals
* [strutils.is_uuid][strutils.is_uuid]: Catch un-parsable UUIDs.
* [iterutils.same][iterutils.same]: Return `True` when all values in
iterable are the same.
2016-02-24 10:36:17 +00:00
16.1.0
------
*(February 24, 2016)*
2016-02-24 10:36:17 +00:00
The centerpiece of this release is highly improved Windows support for
[fileutils.atomic_save][fileutils.atomic_save] via
[ReplaceFile](https://msdn.microsoft.com/en-us/library/windows/desktop/aa365512%28v=vs.85%29.aspx)
system call. This functionality is also made available directly via
[fileutils.replace][fileutils.replace], which is akin to Python 3.3+'s
[os.replace][os.replace], except that `os.replace`'s approach has
[arguably poorer behavior and atomicity](http://stupidpythonideas.blogspot.com/2014/07/getting-atomic-writes-right.html)
compared to `fileutils.replace`.
2016-02-24 10:36:17 +00:00
Also, a couple new strutils, and
2016-02-24 10:39:32 +00:00
[iterutils.backoff][iterutils.backoff] grew a jitter argument.
2016-02-24 10:36:17 +00:00
* [iterutils.backoff][iterutils.backoff] now supports start=0
* More comprehensive [iterutils.backoff][iterutils.backoff] argument checking/validation
* [fileutils.replace][fileutils.replace] and
[fileutils.atomic_rename][fileutils.atomic_rename] are now public
2016-02-24 10:41:45 +00:00
functions in [fileutils][fileutils] with cross-platform implementations ([discussion here](https://github.com/mahmoud/boltons/issues/60))
2016-02-24 10:36:17 +00:00
* [tableutils.Table][tableutils.Table]s have a metadata argument and
attribute for miscellaneous metadata.
* [strutils.is_ascii][strutils.is_ascii] and
[strutils.is_uuid][strutils.is_uuid]: About as straightforward as
they are handy.
* Tox testing improvements
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
2015-11-19 07:30:46 +00:00
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).
2015-11-19 07:30:46 +00:00
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
2016-05-24 10:54:38 +00:00
[Stats.clear_cache][statsutils.Stats.clear_cache]
2015-11-19 07:30:46 +00:00
* [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:
2015-08-22 23:50:18 +00:00
* [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
2015-08-22 23:50:18 +00:00
* [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)*
2015-08-21 05:58:47 +00:00
Fix atomic saving open-file issue for Windows.
2015-08-21 05:58:47 +00:00
* Patch for AtomicSaver on Windows. Full rewrite comes in 15.0.0.
2015-08-22 23:50:18 +00:00
* [strutils.gunzip_bytes][strutils.gunzip_bytes] for decompressing a gzip bytestring
0.6.5
-----
*(July 30, 2015)*
BufferedSocket work, html2text, pairwise shortcut, is_container, plural
2015-08-22 23:50:18 +00:00
typo fix, [timeutils.isoparse][timeutils.isoparse], [cacheutils.ThresholdCounter][cacheutils.ThresholdCounter], and lots of
testing
2015-08-22 23:50:18 +00:00
* Add [iterutils.first][iterutils.first] function
* Add [cacheutils.ThresholdCounter][cacheutils.ThresholdCounter]
* Add JSONL verification to jsonutils
2015-08-22 23:50:18 +00:00
* 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
2015-08-22 23:50:18 +00:00
* 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)*
2015-08-21 08:37:30 +00:00
Fixed multiline exception message handling in ParsedException. added
mathutils. adding a tentative version of socketutils. fix LRU.popitem. fix
OMD.__eq__.
2015-08-22 23:50:18 +00:00
* Fix a bug where [dictutils.OrderedMultiDict][dictutils.OrderedMultiDict]'s __eq__ would fail
2015-08-21 08:37:30 +00:00
with non-iterable objects of comparison
* Fixed `LRU.popitem` to return a key value pair
2015-08-22 23:50:18 +00:00
* Added mathutils with [mathutils.ceil][mathutils.ceil] and [mathutils.floor][mathutils.floor]
2015-08-21 08:37:30 +00:00
implementations that can search a fixed set of choices using the
bisect module.
2015-08-22 23:50:18 +00:00
* Fix [excutils.ParsedException][excutils.ParsedException] so exception message would not start
2015-08-21 08:37:30 +00:00
with whitespace
* Fix multiline exception messages
2015-08-22 23:50:18 +00:00
* Adding [socketutils.BufferedSocket][socketutils.BufferedSocket] and [socketutils.NetstringSocket][socketutils.NetstringSocket]
0.6.3
-----
*(April 20, 2015)*
2015-08-21 08:37:30 +00:00
Add typeutils, remove compat.py, make ParsedException work with eval()ed
code
2015-08-22 23:50:18 +00:00
* 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
2015-08-21 08:37:30 +00:00
confusing compat module
2015-08-22 23:50:18 +00:00
* Add in typeutils with modifications per the caveats of [#15][i15]
* Added function [iterutils.one][iterutils.one]
0.6.2
-----
*(April 11, 2015)*
2015-08-21 08:37:30 +00:00
Add partial_ordering, fix LRU repr and addition behavior
2015-08-22 23:50:18 +00:00
* Add [funcutils.partial_ordering][funcutils.partial_ordering](), decorator similar to
functools.total_ordering()
2015-08-22 23:50:18 +00:00
* 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/
2015-08-22 23:50:18 +00:00
* Fix the [cacheutils.cached][cacheutils.cached] decorator, adding a sanity test, fixes [#12][i12]
* Fix bytes2human when builtin zip returns iterators
2015-08-22 23:50:18 +00:00
* 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
2015-08-22 23:50:18 +00:00
* 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
2018-10-11 21:41:59 +00:00
* Made namedutils backwards compatibility for python 2.6 best effort
2015-08-22 23:50:18 +00:00
* Fix invalid part_path usage in [fileutils.AtomicSaver][fileutils.AtomicSaver]
0.5.0
-----
*(April 9, 2015)*
First publicly released version. The major focus of this release was
docs, docstrings, and Read The Docs.
* Cleared out __init__ module for maximum independence
2015-08-22 23:50:18 +00:00
* making [statsutils.median][statsutils.median] use _get_quantile and add [statsutils.trimean][statsutils.trimean]
* Switching the [statsutils.Stats][statsutils.Stats] type to be more sorted-data oriented, since it's
only for offline analysis of unordered data
* Made consistent multi-line string formats, as well as usage of the
term 'builtin' vs 'built-in' (noun vs adjective)
* Instrumented LRI with stats tracking
2015-08-22 23:50:18 +00:00
* Made [timeutils.decimal_relative_time][timeutils.decimal_relative_time] cardinalization optional
* Removed timeutils dependency on strutils
2015-08-22 23:50:18 +00:00
* Made [tbutils.TracebackInfo][tbutils.TracebackInfo] classmethods work with no arguments.
* Renamed ParsedTB to [tbutils.ParsedException][tbutils.ParsedException]
* Made [dictutils.OMD][dictutils.OMD] .get()/.getlist() semantics more consistent.
* finalizing .todict() and adding .sorted() to the [dictutils.OMD][dictutils.OMD]
* Removed osutils and adding a note about utils in general
* Made cacheutils more consistent between LRU and LRI, adding some
cacheutils docs
* Deprecate osutils, moving its contents into fileutils
* Adding in-process statsutils2, with new DataAnalyzer and
get_pearson_type (not merged yet)
0.4.2
-----
*(March 8, 2015)*
Mostly a dictutils API update (addlist), but also gcutils.
2015-08-22 23:50:18 +00:00
* [dictutils.OMD][dictutils.OMD]: split out addlist() from add(), removing the multi
kwarg
2015-08-22 23:50:18 +00:00
* adding gcutils with [gcutils.GCToggler][gcutils.GCToggler] and gc.get_all
0.4.1
-----
*(February 26, 2015)*
adding mboxutils
* adding mboxutils for handy dandy /var/mail integrations like cronfed
0.4.0
-----
*(February 23, 2015)*
updated tbutils, JSONL support, initial cacheutils, atomic writer,
hashtags
* tbutils: Changed the way exceptions are parsed out of tracebacks
* tbutils: Guard against potential linecache issues
2015-08-22 23:50:18 +00:00
* Defined/implemented [iterutils.windowed_iter][iterutils.windowed_iter] corner case behavior
* Added from_path to [fileutils.FilePerms][fileutils.FilePerms]
* Adding [strutils.find_hashtags][strutils.find_hashtags]
* Add ignore patterns to [fileutils.iter_find_files][fileutils.iter_find_files]
0.3.0
-----
*(October 19, 2014)*
First alpha release. Practically, everything not mentioned above was
added in this release.
* tbutils: add ContextualTracebackInfo and ContextualExceptionInfo
* cacheutils: a few minor changes to the BasicCache
* update tbutils with some critical bits. still need to add
convenience method for ExceptionInfo -> default exception print,
also need to add more docstrings.
* adding initial jsonutils with JSONL support
2015-08-22 23:50:18 +00:00
* added [cacheutils.LRU][cacheutils.LRU]
* added [timeutils.parse_timedelta][timeutils.parse_timedelta]
* fixing iteritems with multi=False in the
2015-08-22 23:50:18 +00:00
[dictutils.OrderedMultiDict][dictutils.OrderedMultiDict] (should return first key, but last
value not first)
2015-08-22 23:50:18 +00:00
* debugutils: add pdb excepthook and [debugutils.pdb_on_signal][debugutils.pdb_on_signal]
* add [fileutils.mkdir_p][fileutils.mkdir_p]
* tableutils: add maxlen to table text stuff
* fix date citation for gob's
* adding pure-Python implementation of Gob's algorithm
* fix object header guessing
* namedutils: add namedtuple support
* fix a headers bug in tableutils
* tableutils: add a couple more do-not-recurse types, add
UnsupportedData exception for better recursion, insert recursive
entries in-line, improve 'Object' strategy heuristic
* wrap up html tag customization and fix a related bug
* make html configurable via class attributes
* strengthen the max_depth check
* InputType classes are just shorter and clearer, imo
* new from_dict, from_list, from_object, removing old ones. almost
used a MetaClass for this
* starting new table
* only update the integer for the field being updated
* fixing a verbalization/pronunciation issue
* no regex for better error messages
* being opinionated about some FilePerms things
* adding initial version of fileutils/FilePerms
* update formatutils
* fix a slightly nasty namedlist bug
* make OrderedMultiDict.get()'s default allow singulars
* sync over ExceptionInfo
* add from_current() classmethod with depth option to [Callpoint][tbutils.Callpoint] class
for easier instantiation
* it's called a numeronym
* add a repr to ParsedTB. A bit verbose, but better than nothing.
* add ParsedTB, which provides the ability to parse tracebacks dumped
out to logs, the command line, etc.
* improve test output and make assertion that new except hook is the
same as the builtin.
* update tbutils to use the more-powerful [Callpoint][tbutils.Callpoint] type.
* copy_function
* partially clean up partial stuff
* first version of the namedlist
* fixing up namedtuple, groundwork for namedlist. humorously named
module.
* embed value in cell for incremental iteration boost on OMD
* reorganize code, add 'default' argument to poplast()
* make key argument optional to OMD.poplast
* rectifying inconsistent names and adjusting respective tests
accordingly. using smashcase because that's what builtin dict()
uses.
* fix reverse; missing yield from!
* add initial table biz
* add get_counts
2015-08-22 23:50:18 +00:00
* add [dictutils.OrderedMultiDict.get_inverted][dictutils.OrderedMultiDict.get_inverted]() for those handy reverse lookups
* break out skip list to FastIter OMD + bench
2015-08-22 23:50:18 +00:00
* add [strutils.a10n][strutils.a10n]()
* fix a bug in [dictutils.OrderedMultiDict][dictutils.OrderedMultiDict]'s .add()
* adding initial reimplementation of OMD
* adding some tests to dictutils
2018-10-11 21:41:59 +00:00
* update boltons formatutils to match what's going on in lithoxyl
* remove infer_pos_args() from strutils (already in formatutils)
* add formatutils to boltons
* fix a potential infinite recursion in LocalTZ
* use more explicit names for Local/Constant tzinfo types
* add a basic but handy file finder
* add infer_positional_args() to strutils (from lithoxyl)
* split BasicCache out of dictutils into cacheutils
* update median calculation slightly
* add appropriate stacklevel to deprutils warning
* add an initial version of deprutils (basic utils for facilitating
deprecation)
* add bytes2human
* first version of some basic timezone utils which came in handy for a
train scheduling application I wrote (etavta)
* reorder imports for pep8
* redo plain-english relative_time() to have a decimal rounding factor
and handle future dates
* swap the order of cardinalize()'s arguments after intuiting the
wrong order a couple times. gotta be consistent, this isn't PHP.
* a weird little relative time approach
* add total_seconds() implementation for Python <2.7, rename
relative_datetime to relative_time
* add a relative datetime function in a new module: timeutils
* a little more transparency with orderedmultidict's maphistory
* add a test for BasicCache
* add the super simple BasicCache, a size-limited defaultdict-like
thing
* add a cheesy little splay list construct that can be used for splay-
like manual reordering for eventual optimization
* traceback utils, first draft
* add strip_ansi() (need to make a cliutils or something)
* add ansi strip task
* mess with list tuning
* add ordinalize()
* add __all__ to statsutils
* add more stats docs and doctests
* add some stats functions
* add unit_len()
* add pluralize/singularize/cardinalize to strutils
* add __all__s all around, clean up imports a bit
* adding license
* add sorted queue type, make it the default
* fix little bug in insert
* inheriting from list necessitates overriding the deprecated __get-,
__set-, and __del- slice methods
* hacky refactor to have a BasePriorityQueue to make room for
SortedPriorityQueue with peek_n, etc.
* add a little docstring and update sort method in BarrelList
* add HeapPriorityQueue
* tidy up listutils comments and imports
* move treeutils out of boltons since I don't really think a pure
python version actually adds much. i'll make an academic one-off
repo for less practical data structure experiments like that.
* inherit from list
* add reverse() to blist
* add index() to blist
* cheesy __setitem__() for blist
* add __delitem__() to BarrelList
* change the way the in-place sort works with just one list
* tune the list size a bit
* add slicing to BarrelList
* add initial version of BarrelList, a pure-python b-list-y thing to
approximate O(log(n)) behavior by multiplexing the fast O(n) list
operations
* switch to new dead index interval approach; the IndexedSet is about
half the speed of a list in the ultra-pathological case of random
popping on the low end of the IndexedSet
* made BisectTree's get() defaulting work a bit more like a dict's
* added get_adjacent and miscellaneous to BisectTree
* added a default name and always-falsy __nonzero__ to Sentinel
* add pop() for BisectTree and export the generic Tree
* make a bisect tree, because O(n) is still pretttttty fast up to
about 100k items
* add a little hack to chunked/chunked_iter to make it work nicely
with strings
* tidy up ki_vs_vi_lrh usage just a titch
* revamp indices behavior (key_size and value_size)
* switch to new multi-key mode
* pretty much done porting insert, delete, balance (the basic
operations)
* switch to negative refs, arbitrary length nodes
* add sentinel utility thing
* add .index() for list compat, updated exception messages, and added
a silly test to show off slicing and indexing
* add slicing support and .clear()
* remove ifilter dependency (using generator expression)
* add .reverse and .sort() to IndexedSet, fix bisection related bug
exposing MISSING (insort requested index, not real_index)
* pretty much all fundy IndexedSet bugs hit and fixed, looks like
* IndexedSet getting much closer
* initial rough draft of IndexedSet with a short docstring and a bunch
of fixes already (still not workin tho)
* add dictutils (OrderedMultiDict)
* it was a long time coming, but I'm finally halfway happy with this
wrapped exception
* add uniqueification capabilities
* go back to using __new__ and positional arguments
* exception wrapping green path mostly working
* working on a wrapping exception mixin thing for less lossy
nonraising.
* add asciify and update slugify with ascii flag
* add basic docs and doctests to strutils
* scratch that, regexes still faster
* add under2camel, camel2under, and slugify (and split_punct_ws, which
is much faster than re-based punctuation splitting)
* python3-compatible doctest for bucketize_bool
* bucketize and bucketize_bool, with docs
* add examples to chunked and chunked_iter
* update split() docs with more examples.
2015-08-22 23:50:18 +00:00
* [iterutils.chunked_iter][iterutils.chunked_iter] and [iterutils.chunked][iterutils.chunked]
* [iterutils.split][iterutils.split] and [iterutils.split_iter][iterutils.split_iter] work
2016-02-24 10:38:59 +00:00
[os.replace]: https://docs.python.org/3/library/os.html#os.replace
2016-07-19 07:41:49 +00:00
[functools.total_ordering]: https://docs.python.org/2/library/functools.html#functools.total_ordering
2016-11-06 07:15:54 +00:00
[StringIO]: https://docs.python.org/2/library/stringio.html
2017-12-16 07:37:19 +00:00
[zscore]: https://en.wikipedia.org/wiki/Standard_score
2016-02-24 10:38:59 +00:00
2015-11-19 07:30:46 +00:00
[cacheutils]: http://boltons.readthedocs.org/en/latest/cacheutils.html
[cacheutils.LRI]: http://boltons.readthedocs.org/en/latest/cacheutils.html#boltons.cacheutils.LRI
2015-08-22 23:50:18 +00:00
[cacheutils.LRU]: http://boltons.readthedocs.org/en/latest/cacheutils.html#boltons.cacheutils.LRU
[cacheutils.ThresholdCounter]: http://boltons.readthedocs.org/en/latest/cacheutils.html#boltons.cacheutils.ThresholdCounter
[cacheutils.cached]: http://boltons.readthedocs.org/en/latest/cacheutils.html#boltons.cacheutils.cached
2016-05-24 10:54:38 +00:00
[cacheutils.cachedmethod]: http://boltons.readthedocs.org/en/latest/cacheutils.html#boltons.cacheutils.cachedmethod
[cacheutils.cachedproperty]: http://boltons.readthedocs.org/en/latest/cacheutils.html#boltons.cacheutils.cachedproperty
2015-08-22 23:50:18 +00:00
[debugutils.pdb_on_signal]: http://boltons.readthedocs.org/en/latest/debugutils.html#boltons.debugutils.pdb_on_signal
2017-12-16 07:37:19 +00:00
[dictutils]: http://boltons.readthedocs.org/en/latest/dictutils.html
2015-08-22 23:50:18 +00:00
[dictutils.OMD]: http://boltons.readthedocs.org/en/latest/dictutils.html#boltons.dictutils.OMD
[dictutils.OMD.pop]: http://boltons.readthedocs.org/en/latest/dictutils.html#boltons.dictutils.OrderedMultiDict.pop
[dictutils.OMD.popall]: http://boltons.readthedocs.org/en/latest/dictutils.html#boltons.dictutils.OrderedMultiDict.popall
[dictutils.OMD.setdefault]: http://boltons.readthedocs.org/en/latest/dictutils.html#boltons.dictutils.OrderedMultiDict.setdefault
2015-08-22 23:50:18 +00:00
[dictutils.OrderedMultiDict]: http://boltons.readthedocs.org/en/latest/dictutils.html#boltons.dictutils.OrderedMultiDict
[dictutils.OrderedMultiDict.get_inverted]: http://boltons.readthedocs.org/en/latest/dictutils.html#boltons.dictutils.OrderedMultiDict.get_inverted
2017-12-16 07:37:19 +00:00
[dictutils.OneToOne]: http://boltons.readthedocs.org/en/latest/dictutils.html#boltons.dictutils.OneToOne
2019-02-11 17:40:24 +00:00
[dictutils.ManyToMany]: http://boltons.readthedocs.org/en/latest/dictutils.html#boltons.dictutils.ManyToMany
[dictutils.FrozenDict]: http://boltons.readthedocs.org/en/latest/dictutils.html#boltons.dictutils.FrozenDict
[dictutils.subdict]: http://boltons.readthedocs.org/en/latest/dictutils.html#boltons.dictutils.subdict
2016-05-24 10:54:38 +00:00
[ecoutils]: http://boltons.readthedocs.org/en/latest/ecoutils.html
2015-08-22 23:50:18 +00:00
[excutils.ParsedException]: http://boltons.readthedocs.org/en/latest/excutils.html#boltons.excutils.ParsedException
2016-02-24 10:36:17 +00:00
[fileutils]: http://boltons.readthedocs.org/en/latest/fileutils.html
[fileutils.replace]: http://boltons.readthedocs.org/en/latest/fileutils.html#boltons.fileutils.replace
[fileutils.atomic_rename]: http://boltons.readthedocs.org/en/latest/fileutils.html#boltons.fileutils.atomic_rename
[fileutils.atomic_save]: http://boltons.readthedocs.org/en/latest/fileutils.html#boltons.fileutils.atomic_save
2015-08-22 23:50:18 +00:00
[fileutils.AtomicSaver]: http://boltons.readthedocs.org/en/latest/fileutils.html#boltons.fileutils.AtomicSaver
[fileutils.FilePerms]: http://boltons.readthedocs.org/en/latest/fileutils.html#boltons.fileutils.FilePerms
[fileutils.iter_find_files]: http://boltons.readthedocs.org/en/latest/fileutils.html#boltons.fileutils.iter_find_files
[fileutils.mkdir_p]: http://boltons.readthedocs.org/en/latest/fileutils.html#boltons.fileutils.mkdir_p
2016-02-24 10:36:17 +00:00
[fileutils.DummyFile]: http://boltons.readthedocs.org/en/latest/fileutils.html#boltons.fileutils.DummyFile
2017-12-16 07:37:19 +00:00
[formatutils]: http://boltons.readthedocs.org/en/latest/formatutils.html
[formatutils.DeferredValue]: http://boltons.readthedocs.org/en/latest/formatutils.html#boltons.fileutils.DeferredValue
2016-06-08 10:12:02 +00:00
[funcutils.FunctionBuilder]: http://boltons.readthedocs.org/en/latest/funcutils.html#boltons.funcutils.FunctionBuilder
2019-02-11 17:40:24 +00:00
[funcutils.FunctionBuilder.remove_arg]: https://boltons.readthedocs.io/en/latest/funcutils.html#boltons.funcutils.FunctionBuilder.remove_arg
[funcutils.FunctionBuilder.add_arg]: https://boltons.readthedocs.io/en/latest/funcutils.html#boltons.funcutils.FunctionBuilder.add_arg
2015-08-22 23:50:18 +00:00
[funcutils.partial_ordering]: http://boltons.readthedocs.org/en/latest/funcutils.html#boltons.funcutils.partial_ordering
2016-07-19 07:41:49 +00:00
[funcutils.total_ordering]: http://boltons.readthedocs.org/en/latest/funcutils.html#boltons.funcutils.total_ordering
2016-06-08 10:12:02 +00:00
[funcutils.wraps]: http://boltons.readthedocs.org/en/latest/funcutils.html#boltons.funcutils.wraps
2015-08-22 23:50:18 +00:00
[gcutils.GCToggler]: http://boltons.readthedocs.org/en/latest/gcutils.html#boltons.gcutils.GCToggler
[gcutils.get_all]: http://boltons.readthedocs.org/en/latest/gcutils.html#boltons.gcutils.get_all
[gcutils.is_tracked]: http://boltons.readthedocs.org/en/latest/gcutils.html#boltons.gcutils.is_tracked
[i12]: https://github.com/mahmoud/boltons/issues/12
[i13]: https://github.com/mahmoud/boltons/issues/13
[i15]: https://github.com/mahmoud/boltons/issues/15
[i20]: https://github.com/mahmoud/boltons/issues/20
[i21]: https://github.com/mahmoud/boltons/issues/21
[i30]: https://github.com/mahmoud/boltons/issues/30
[i41]: https://github.com/mahmoud/boltons/issues/41
2016-06-08 10:12:02 +00:00
[i79]: https://github.com/mahmoud/boltons/pull/79
2016-07-19 07:41:49 +00:00
[i83]: https://github.com/mahmoud/boltons/issues/83
2016-11-06 07:15:54 +00:00
[i84]: https://github.com/mahmoud/boltons/issues/84
[i86]: https://github.com/mahmoud/boltons/issues/86
2017-12-16 07:37:19 +00:00
[i128]: https://github.com/mahmoud/boltons/issues/128
[i135]: https://github.com/mahmoud/boltons/issues/135
2018-08-29 23:58:03 +00:00
[i150]: https://github.com/mahmoud/boltons/issues/150
2018-10-09 22:45:07 +00:00
[i161]: https://github.com/mahmoud/boltons/issues/161
2018-08-29 23:58:03 +00:00
[i162]: https://github.com/mahmoud/boltons/issues/162
[i164]: https://github.com/mahmoud/boltons/issues/164
2016-11-06 07:15:54 +00:00
[ioutils]: http://boltons.readthedocs.org/en/latest/ioutils.html
2017-12-16 07:37:19 +00:00
[ioutils.MultiFileReader]: http://boltons.readthedocs.org/en/latest/ioutils.html#boltons.ioutils.MultiFileReader
2016-11-06 07:15:54 +00:00
[ioutils.SpooledBytesIO]: http://boltons.readthedocs.org/en/latest/ioutils.html#boltons.ioutils.SpooledBytesIO
[ioutils.SpooledStringIO]: http://boltons.readthedocs.org/en/latest/ioutils.html#boltons.ioutils.SpooledStringIO
2016-06-08 10:14:27 +00:00
[iterutils]: http://boltons.readthedocs.org/en/latest/iterutils.html
2015-08-22 23:50:18 +00:00
[iterutils.backoff]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.backoff
[iterutils.backoff_iter]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.backoff_iter
[iterutils.chunked]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.chunked
[iterutils.chunked_iter]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.chunked_iter
[iterutils.first]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.first
2019-02-11 17:40:24 +00:00
[iterutils.flatten]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.flatten
[iterutils.flatten_iter]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.flatten_iter
2016-02-24 10:38:59 +00:00
[iterutils.backoff]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.backoff
2015-08-22 23:50:18 +00:00
[iterutils.frange]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.frange
2016-11-06 07:15:54 +00:00
[iterutils.GUIDerator]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.GUIDerator
[iterutils.SequentialGUIDerator]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.SequentialGUIDerator
2015-08-22 23:50:18 +00:00
[iterutils.is_container]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.is_container
2017-02-10 21:50:22 +00:00
[iterutils.bucketize]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.bucketize
2015-08-22 23:50:18 +00:00
[iterutils.one]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.one
[iterutils.pairwise]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.pairwise
[iterutils.same]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.same
[iterutils.remap]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.remap
2017-12-16 07:37:19 +00:00
[iterutils.research]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.research
2019-02-11 17:40:24 +00:00
[iterutils.soft_sorted]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.soft_sorted
2015-08-22 23:50:18 +00:00
[iterutils.split]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.split
[iterutils.split_iter]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.split_iter
[iterutils.unique]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.unique
2015-08-22 23:50:18 +00:00
[iterutils.windowed_iter]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.windowed_iter
[iterutils.xfrange]: http://boltons.readthedocs.org/en/latest/iterutils.html#boltons.iterutils.xfrange
[jsonutils.JSONLIterator]: http://boltons.readthedocs.org/en/latest/jsonutils.html#boltons.jsonutils.JSONLIterator
2019-02-11 17:40:24 +00:00
[mathutils.Bits]: http://boltons.readthedocs.org/en/latest/mathutils.html#boltons.mathutils.Bits
2015-08-22 23:50:18 +00:00
[mathutils.ceil]: http://boltons.readthedocs.org/en/latest/mathutils.html#boltons.mathutils.ceil
[mathutils.floor]: http://boltons.readthedocs.org/en/latest/mathutils.html#boltons.mathutils.floor
2016-11-06 07:15:54 +00:00
[mathutils.clamp]: http://boltons.readthedocs.org/en/latest/mathutils.html#boltons.mathutils.clamp
2019-02-28 08:20:19 +00:00
[queueutils]: http://boltons.readthedocs.org/en/latest/queueutils.html
2019-02-11 17:40:24 +00:00
[setutils.complement]: http://boltons.readthedocs.org/en/latest/setutils.html#boltons.setutils.complement
2016-05-24 10:54:38 +00:00
[socketutils]: http://boltons.readthedocs.org/en/latest/socketutils.html
2015-08-22 23:50:18 +00:00
[socketutils.BufferedSocket]: http://boltons.readthedocs.org/en/latest/socketutils.html#boltons.socketutils.BufferedSocket
[socketutils.BufferedSocket.recv]: http://boltons.readthedocs.org/en/latest/socketutils.html#boltons.socketutils.BufferedSocket.recv
[socketutils.BufferedSocket.recv_until]: http://boltons.readthedocs.org/en/latest/socketutils.html#boltons.socketutils.BufferedSocket.recv_until
[socketutils.BufferedSocket.recv_close]: http://boltons.readthedocs.org/en/latest/socketutils.html#boltons.socketutils.BufferedSocket.recv_close
2015-08-22 23:50:18 +00:00
[socketutils.NetstringSocket]: http://boltons.readthedocs.org/en/latest/socketutils.html#boltons.socketutils.NetstringSocket
2015-11-19 07:30:46 +00:00
[statsutils]: http://boltons.readthedocs.org/en/latest/statsutils.html
2015-08-22 23:50:18 +00:00
[statsutils.Stats]: http://boltons.readthedocs.org/en/latest/statsutils.html#boltons.statsutils.Stats
2016-05-24 10:54:38 +00:00
[statsutils.Stats.clear_cache]: http://boltons.readthedocs.org/en/latest/statsutils.html#boltons.statsutils.Stats.clear_cache
[statsutils.Stats.describe]: http://boltons.readthedocs.org/en/latest/statsutils.html#boltons.statsutils.Stats.describe
2016-06-12 22:13:32 +00:00
[statsutils.Stats.format_histogram]: http://boltons.readthedocs.org/en/latest/statsutils.html#boltons.statsutils.Stats.format_histogram
2015-11-19 07:30:46 +00:00
[statsutils.Stats.get_zscore]: http://boltons.readthedocs.org/en/latest/statsutils.html#boltons.statsutils.Stats.get_zscore
2015-08-22 23:50:18 +00:00
[statsutils.median]: http://boltons.readthedocs.org/en/latest/statsutils.html#boltons.statsutils.median
[statsutils.trimean]: http://boltons.readthedocs.org/en/latest/statsutils.html#boltons.statsutils.trimean
[strutils]: http://boltons.readthedocs.org/en/latest/strutils.html
2015-08-22 23:50:18 +00:00
[strutils.HTMLTextExtractor]: http://boltons.readthedocs.org/en/latest/strutils.html#boltons.strutils.HTMLTextExtractor
[strutils.a10n]: http://boltons.readthedocs.org/en/latest/strutils.html#boltons.strutils.a10n
[strutils.args2cmd]: http://boltons.readthedocs.org/en/latest/strutils.html#boltons.strutils.args2cmd
[strutils.args2sh]: http://boltons.readthedocs.org/en/latest/strutils.html#boltons.strutils.args2sh
[strutils.escape_shell_args]: http://boltons.readthedocs.org/en/latest/strutils.html#boltons.strutils.escape_shell_args
2015-08-22 23:50:18 +00:00
[strutils.find_hashtags]: http://boltons.readthedocs.org/en/latest/strutils.html#boltons.strutils.find_hashtags
2019-02-28 08:20:19 +00:00
[strutils.gzip_bytes]: http://boltons.readthedocs.org/en/latest/strutils.html#boltons.strutils.gzip_bytes
2015-08-22 23:50:18 +00:00
[strutils.gunzip_bytes]: http://boltons.readthedocs.org/en/latest/strutils.html#boltons.strutils.gunzip_bytes
[strutils.html2text]: http://boltons.readthedocs.org/en/latest/strutils.html#boltons.strutils.html2text
[strutils.indent]: http://boltons.readthedocs.org/en/latest/strutils.html#boltons.strutils.indent
2015-08-22 23:50:18 +00:00
[strutils.iter_splitlines]: http://boltons.readthedocs.org/en/latest/strutils.html#boltons.strutils.iter_splitlines
[strutils.ordinalize]: http://boltons.readthedocs.org/en/latest/strutils.html#boltons.strutils.ordinalize
[strutils.pluralize]: http://boltons.readthedocs.org/en/latest/strutils.html#boltons.strutils.pluralize
2016-02-24 10:36:17 +00:00
[strutils.is_ascii]: http://boltons.readthedocs.org/en/latest/strutils.html#boltons.strutils.is_ascii
[strutils.is_uuid]: http://boltons.readthedocs.org/en/latest/strutils.html#boltons.strutils.is_uuid
2016-05-24 10:54:38 +00:00
[strutils.parse_int_list]: http://boltons.readthedocs.org/en/latest/strutils.html#boltons.strutils.parse_int_list
[strutils.format_int_list]: http://boltons.readthedocs.org/en/latest/strutils.html#boltons.strutils.format_int_list
2017-12-16 07:37:19 +00:00
[strutils.slugify]: http://boltons.readthedocs.org/en/latest/strutils.html#boltons.strutils.slugify
2016-02-24 10:38:59 +00:00
[tableutils]: http://boltons.readthedocs.org/en/latest/tableutils.html
[tableutils.Table]: http://boltons.readthedocs.org/en/latest/tableutils.html#boltons.tableutils.Table
2016-06-08 10:12:02 +00:00
[tbutils]: http://boltons.readthedocs.org/en/latest/tbutils.html
2017-01-25 07:09:57 +00:00
[tbutils.Callpoint]: http://boltons.readthedocs.org/en/latest/tbutils.html#boltons.tbutils.Callpoint
2015-08-22 23:50:18 +00:00
[tbutils.ExceptionInfo]: http://boltons.readthedocs.org/en/latest/tbutils.html#boltons.tbutils.ExceptionInfo
[tbutils.ParsedException]: http://boltons.readthedocs.org/en/latest/tbutils.html#boltons.tbutils.ParsedException
2016-06-08 10:12:02 +00:00
[tbutils.ParsedException.to_string]: http://boltons.readthedocs.org/en/latest/tbutils.html#boltons.tbutils.ParsedException.to_string
2015-08-22 23:50:18 +00:00
[tbutils.TracebackInfo]: http://boltons.readthedocs.org/en/latest/tbutils.html#boltons.tbutils.TracebackInfo
2016-05-24 10:54:38 +00:00
[timeutils.daterange]: http://boltons.readthedocs.org/en/latest/timeutils.html#boltons.timeutils.daterange
2015-08-22 23:50:18 +00:00
[timeutils.decimal_relative_time]: http://boltons.readthedocs.org/en/latest/timeutils.html#boltons.timeutils.decimal_relative_time
[timeutils.dt_to_timestamp]: http://boltons.readthedocs.org/en/latest/timeutils.html#boltons.timeutils.dt_to_timestamp
[timeutils.isoparse]: http://boltons.readthedocs.org/en/latest/timeutils.html#boltons.timeutils.isoparse
[timeutils.parse_timedelta]: http://boltons.readthedocs.org/en/latest/timeutils.html#boltons.timeutils.parse_timedelta
2016-05-24 10:54:38 +00:00
[timeutils.strpdate]: http://boltons.readthedocs.org/en/latest/timeutils.html#boltons.timeutils.strpdate
2015-08-22 23:50:18 +00:00
[typeutils.get_all_subclasses]: http://boltons.readthedocs.org/en/latest/typeutils.html#boltons.typeutils.get_all_subclasses
[typeutils.make_sentinel]: http://boltons.readthedocs.org/en/latest/typeutils.html#boltons.typeutils.make_sentinel
2017-12-16 07:37:19 +00:00
[urlutils]: http://boltons.readthedocs.org/en/latest/urlutils.html
[urlutils.SCHEME_PORT_MAP]: http://boltons.readthedocs.org/en/latest/urlutils.html#boltons.urlutils.SCHEME_PORT_MAP
[urlutils.find_all_links]: http://boltons.readthedocs.org/en/latest/urlutils.html#boltons.urlutils.find_all_links