Ncplib

Latest version: v6.1.0

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

Scan your dependencies

Page 1 of 6

6.1.0

------------------

- Added ``connection_username`` and ``connection_domain`` arguments to :meth:`connect`.

6.0.1

------------------

- Added explicit support for ``async_timeout`` 4.0.

6.0.0

------------------

- Added support for NCP encrypted (TLS) connections via the ``ssl`` argument for :meth:`connect` and
:meth:`start_server`.
- Added support for NCP authentication via the ``username`` and ``password`` arguments for :meth:`connect`, and the
``authenticate`` argument for :meth:`start_server`.
- **Breaking:** :meth:`start_server` now returns a :class:`asyncio.base_events.Server`, and the ``ncplib.Server`` class
has been removed.

5.0.0

------------------

- Added support for NCP connection timeout negotation, improving reliability and cleanup of NCP connections when
supported by the remote.
- Added support for NCP data types ``i64``, ``u64``, ``f32``, ``f64``, ``data u64``, ``data i64``, ``data f32`` and
``data f64``.
- :meth:`Response.recv` no longer requires the ID of the of :term:`NCP packet` in replies.
- **Breaking:** ``auto_link`` and ``auto_auth`` arguments for :meth:`connect` and :meth:`start_server` removed.
- **Breaking:** ``timeout`` argument for :meth:`connect` and :meth:`start_server` must be an integer, and can no longer
be None.
- **Breaking:** Removed ``timeout`` attribute from :class:`Connection`.

4.1.1

------------------

- Optimized ``auto_link`` background task.

4.1.0

------------------

- Added ``Field.packet_id`` attribute.
- :meth:`Field.send` now includes the ID of the of :term:`NCP packet` that contained the field.
- :meth:`Response.recv` now requires the ID of the of :term:`NCP packet` in replies.

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.