Aiokatcp

Latest version: v2.0.2

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

Scan your dependencies

Page 1 of 6

2.0.2

- Support async-timeout 5.0 (and remove support for pre-1.3 versions).

2.0.1

- Disconnect a client if it is not able to keep up with ``sensor-status``
informs. Previously this was only checked when broadcasting an inform
to all clients, such as ``interface-changed``.

- Avoid disconnecting a client with a large backlog during handling of
``?sensor-sampling`` requests, as this can trigger a large burst of
``sensor-status`` informs.

- Fix unit tests for Python 3.13.

2.0.0

**Breaking changes:**

- When setting the value of a sensor, it is coerced to
an instance of the sensor type (see :ref:`sensor-value-coercion`). Reading
back the sensor value will give this coerced object instead of the original.
This only applies if the value was not already of the expected type.

- Setting a sensor value to an object of an unsupported type will now raise
:exc:`TypeError`. Previously it was silently accepted, and clients querying
the sensor would either get a value of the wrong type, or the query would
fail.

- The :class:`Address` constructor now raises :exc:`TypeError`
if the first argument is not an IP address object.

Other changes:

- Use :func:`typing.get_args` instead of an undocumented API.

1.10.0

- Use `katcp-codec`_ to provide the low-level encoding and decoding of
katcp messages, yielding a significant speedup.

.. _katcp-codec: https://katcp-codec.readthedocs.io/en/latest/

1.10.0b1

- Use `katcp-codec`_ to provide the low-level encoding and decoding of
katcp messages, yielding a significant speedup.

.. _katcp-codec: https://katcp-codec.readthedocs.io/en/latest/

1.9.0

- Drop support for end-of-life Python 3.7.
- Significantly speed up argument decoding for request handlers. Note that any
code that calls :func:`.register_type` will need to be updated.
- Add :meth:`.Client.sensor_reading` and :meth:`.Client.sensor_value` helper
methods.
- Update dependency versions in Github Actions.

Page 1 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.