Skip to content

Releases: BelaPlatform/pybela

v2.0.0

16 Dec 22:12
Compare
Choose a tag to compare

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

13 Nov 14:07
Compare
Choose a tag to compare

Fixes version mismatch between bokeh, jupyter-bokeh and panel

Full Changelog: v1.0.1...v1.0.2

v1.0.1

12 Nov 19:50
Compare
Choose a tag to compare

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

09 Aug 21:57
Compare
Choose a tag to compare

– 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

08 Mar 12:58
Compare
Choose a tag to compare
  • Added Controller class
  • Updated watcher commit
  • Minor updates to readme.md
  • Minor fixes

v0.0.1

27 Nov 19:15
Compare
Choose a tag to compare
  • Minor fix in all tutorial notebooks: symlinks were not being populated when copied into Bela, added -L to all rsync calls
  • .start_logging() routine was blocking when transferring so added asyncio.sleep(0.1) in the transfer routine to avoid blocking the thread

v0.0.0.post1

15 Nov 14:21
Compare
Choose a tag to compare

First release, only updates readme wrt 0.0.0 (available on pyPI)