Jupyter-ui-poll

Latest version: v1.0.0

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

Scan your dependencies

Page 1 of 2

1.0.0

What's Changed

It's time to make a 1.0 release, no API changes are expected going forward, some additions might happen though. Overall this looks "complete" to me.

API Changes
NONE.

Maintenance

- updated binder env
- updated read the docs configuration
- do not pin dependencies in binder and read the docs env

**Full Changelog**: https://github.com/Kirill888/jupyter-ui-poll/compare/v0.2.2...v1.0.0

0.2.2

What's Changed

* Support cross-widget messaging by kylebarron in https://github.com/Kirill888/jupyter-ui-poll/pull/22
* Replay of delayed execution events for "non-cell" code, used by some libraries, was not handled properly
* Maintenance https://github.com/Kirill888/jupyter-ui-poll/pull/24
* Remove `pyzmq` and `tornado` from dependency list

New Contributors
* kylebarron made their first contribution in https://github.com/Kirill888/jupyter-ui-poll/pull/22

**Full Changelog**: https://github.com/Kirill888/jupyter-ui-poll/compare/v0.2.1...v0.2.2

0.2.1

Fix failures in cell replay when using older `ipykernel` and having async cells in the notebook (issue: 16, PR: 17)

0.2.0

- Support series 6 of `ipykernel` (as well a 5)
- No breaking changes since `0.1.x` series
- Adding async operation mode
- Adding doc building and publishing to read the docs

to use new async interface use `async with` or `async for`
python
async with ui_events() as ui_poll:
do_stuff()
await ui_poll()

async for x in with_ui_events(its):
await do_stuff_with(x)


Since `ipykernel` switched to async interface starting from `6.x` series, we need to launch a separate thread to process events in a separate event loop (this happens for `5.x` series too now). If you need to avoid that, use `async` mode of operation.

0.2.0a1

- Support series 6 of `ipykernel` as well a 5
- Back to previously supported synchronous insterface
- Async interface is also available

to use new async interface use `async with` or `async for`
python
async with ui_events() as ui_poll:
do_stuff()
await ui_poll()

async for x in with_ui_events(its):
do_stuff_with(x)

0.2.0a0

- Support series 6 of `ipykernel`
- Switch to async interface, since this is how `ipykernel` works now

Breaking Changes

This library is now async. Synchronous operation is not supported.

diff
- for i in with_ui_events(range(55), 10):
+ async for i in with_ui_events(range(55), 10):
do_stuff(i)

with ui_events() as ui_poll:
- ui_poll()
+ await ui_poll()

- run_ui_poll_loop(on_poll, 1/15)
+ await run_ui_poll_loop(on_poll, 1/15)

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.