Spead2

Latest version: v4.3.2

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

Scan your dependencies

Page 13 of 19

1.1.2

- Only log descriptor replacement if it actually replaces an existing name or
ID (regression in 1.1.1).
- Fix build on ARM where compiling against asio requires linking against
pthread.
- Updated and expanded performance tuning guide.

1.1.1

- Report the item name in exception for "too few elements for shape" errors
- Overhaul of rules for handling item descriptors that change the name or ID
of an item. This prevents stale items from hanging around when the sender
changes the name of an item but keeps the same ID, which can cause unrelated
errors on the receiver if the shape also changes.

1.1.0

- Allow heap cnt to be set explicitly by sender, and the automatic heap cnt
sequence to be specified as a start value and step.

1.0.1

- Fix exceptions to include more information about the source of the failure
- Add :ref:`mcdump` tool

1.0.0

- The C++ API installation has been changed to use autoconf and automake. As a
result, it is possible to run ``make install`` and get the static library,
headers, and tools installed.
- The directory structure has changed. The :file:`spead2_*` tools are now
installed, example code is now in the :file:`examples` directory, and the
headers have moved to :file:`include/spead2`.
- Add support for sending data using libibverbs API (previously only supported
for receiving)
- Fix async_send_heap (in Python) to return a future instead of being a
coroutine: this fixes a problem with undefined ordering in the trollius
example.
- Made sending streams polymorphic, with abstract base class
:cpp:class:`spead2::send::stream`, to simplify writing generic code that can
operate on any type of stream. This will **break** code that depended on the
old template class of the same name, which has been renamed to
:cpp:class:`spead2::send::stream_impl`.
- Add :option:`!--memcpy-nt` to :program:`spead2_recv.py` and
:program:`spead2_bench.py`
- Multicast support in :program:`spead2_bench.py` and :program:`spead2_bench`
- Changes to the algorithm for :program:`spead2_bench.py` and
:program:`spead2_bench`: it now starts by computing the maximum send speed,
and then either reporting that this is the limiting factor, or using it to
start the binary search for the receive speed. It is also stricter about
lost heaps.
- Some internal refactoring of code for dealing with raw packets, so that it
is shared between the netmap and ibv readers.
- Report function name that failed in semaphore system_error exceptions.
- Make the unit tests pass on OS X (now tested on travis-ci.org)

0.10.4

- Refactor some of the Boost.Python glue code to make it possible to reuse
parts of it in writing new Python extensions that use the C++ spead2 API.

Page 13 of 19

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.