Releases: BelaPlatform/pybela
v2.0.0
Removed nest_asyncio
dependency from library, now only used in jupyter notebook. Now Watcher class creates its own event loop and all library coroutines run in it. nest_asyncio
is still necessary to run in jupyter notebooks. Rewrote most methods to remove asyncio.run
, they're now replaced by self.loop.run_until_complete
or self.loop.create_task
. Implemented .wait(time)
to replace asyncio.run(asyncio.sleep(time))
and .cleanup()
method for closing websockets, ssh and cancelling all tasks. Also upgraded websockets. + Many minor fixes
Full Changelog: v1.0.2...v2.0.0
v1.0.2
Fixes version mismatch between bokeh, jupyter-bokeh and panel
Full Changelog: v1.0.1...v1.0.2
v1.0.1
Fixes websocket error 'ClientConnection' object has no attribute 'open'
, caused by accidental upgrade of websockets to 14.0.
This version (v1.0.1) now fixes all dependencies to avoid mismatching between local environment (built using pipenv) and environment generated when packaging the library. Also added test routine to test the generated dist before pushing it to pypi.
Full Changelog: v1.0.0...v1.0.1
v1.0.0
– Added on_buffer_callback
and on_block_callback
to the streaming mode which allows passing a function to be called every time a buffer / block of buffers is received.
– Added send_buffer()
method for sending data buffers from python to Bela (and its test in test-send
). If called inside of the on_buffer_callback
or on_block_callback
, this allows for processing sensor data in python in real-time
– Updated tutorials and added 3_Streamer-python-to-Bela.ipynb
– Added autogenerated documentation website belaplatform.github.io/pybela
– In the Watcher, received messages and data to send are now processed in asyncio queues (asyncio.Queue()
) and the processing of received messages and the sending of messages are now "workers". This removes the need for the list_response
and log_response
asyncio events (asyncio.Event
)
– Simplified the readme.md
by removing advanced installation options.
– Added autogenerated (in a git hook) requirements.txt
to remove the need of using pipenv
for building the library.
– Updated testing commits
Full Changelog: v0.1.0...v1.0.0
v0.1.0
v0.0.1
- Minor fix in all tutorial notebooks: symlinks were not being populated when copied into Bela, added
-L
to allrsync
calls .start_logging()
routine was blocking when transferring so addedasyncio.sleep(0.1)
in the transfer routine to avoid blocking the thread
v0.0.0.post1
First release, only updates readme wrt 0.0.0 (available on pyPI)