Changelog¶
1.6.0 (2024-06-24)¶
- Restore support for Python 3.6. Was removed by mistake. Versions 1.4.0 and 1.5.0 do support it actually, but only in combination with PyQt5 or PySide2.
1.5.0 (2024-06-22)¶
- Support for Numpy 2.0
1.4.0 (2024-06-12)¶
Major code quality improvements:
- Using
qtpylibrary instead of my own Qt5/6 mechanism - Improved
_NoDevicemechanism - Removed redundant
attach_device() - Extra check in
Worker_jobsiffuncis actually a callable - Using singletons
Uninitialized_Worker_DAQ/jobsas default attribute values instead of usingNone. This solves pylint warnings on ‘… is not a known attribute of None’. - Docstring improvement:
create_worker_DAQ/jobs()show full info now - Docstring improvement: Linking against PySide6, instead of PyQt5
- Improved code quality of the pytest
Potential code breaks:
Removed Python 3.6 support
The methods of
Worker_DAQandWorker_jobshave been hidden from the API and are dundered now. You should not have been calling them anyhow outside of this module. Their functionality was and is still available as safer methods available at the root level ofQDeviceIO(). Specifically:Worker_DAQ.pause() --> Worker_DAQ._set_pause_true() , should use pause_DAQ() Worker_DAQ.unpause() --> Worker_DAQ._set_pause_false() , should use unpause_DAQ() Worker_DAQ.wake_up() --> Worker_DAQ._wake_up() , should use wake_up_DAQ() Worker_jobs.send() --> Worker_jobs._send() , should use send() Worker_jobs.add_to_queue --> Worker_jobs._add_to_queue() , should use add_to_queue() Worker_jobs.process_queue --> Worker_jobs._process_queue() , should use process_queue()
1.3.0 (2024-04-02)¶
- Support Python 3.11
- All f-strings
- Type checking via
isinstance(), nottype == ...
1.2.0 (2023-02-27)¶
- Deprecated requires.io and travis
- Raise
ImportErrorinstead of generalException
1.1.2 (2022-10-26)¶
- Minor refactor of mechanism to support PyQt5, PyQt6, PySide2 and PySide6
1.1.1 (2022-09-14)¶
- Forgot to bump requirement
dvg-debug-functions~=2.2to ensure support for PyQt5, PyQt6, PySide2 and PySide6
1.1.0 (2022-09-13)¶
- Added support for PyQt5, PyQt6, PySide2 and PySide6
1.0.0 (2021-07-02)¶
- Stable release, identical to v0.4.0
0.4.0 (2021-05-09)¶
- Fixed buggy
worker_DAQpause and unpause routines inCONTINUOUSmode
0.3.0 (2020-07-23)¶
- Updated start & stop machinery Workers
- Removed unneccesary lambdas
- Revamped DAQ rate calculation. Init arg
calc_DAQ_rate_every_N_itergot removed.
0.2.2 (2020-07-17)¶
- Traceback will be printed when
DAQ_functionraises an internal error. - Introduced
Worker_###._has_finishedto prevent hang when closing workers twice.
0.2.1 (2020-07-15)¶
- Added documentation
0.2.0 (2020-07-07)¶
quit_worker_###(): Added check to see if thread was already closed, due to alost_connectionevent. This prevents an hanging app during quit.- Changed name of enum class
DAQ_triggertoDAQ_TRIGGER
0.1.2 (2020-07-04)¶
- Proper use of
super(), now passing**kwargsonto subclassQtCore.QObject()
0.1.1 (2020-07-02)¶
Worker_DAQnow stores all init arguments, some as _private
0.1.0 (2020-07-02)¶
- DvG module filenames changed to lowercase
- Nearing full release status
0.0.12 (2020-06-29)¶
INTERNAL_TIMER: Already instantiate theQTimerincreate_worker_DAQ(), instead of instart_worker_DAQ()- Changed default
DAQ_timer_typefromCoarseTimertoPreciseTimer - Added more Sphinx documentation
0.0.11¶
Skipped (I screwed up the versioning)
0.0.10 (2020-06-22)¶
- Major: Changed name
Worker_sendtoWorker_jobsand similar - Added more Sphinx documentation
0.0.9 (2020-06-17)¶
- Moved the
Worker_###()classes outside ofQDeviceIOand into module root - Added documentation using Sphinx and Read the docs
- Changed from MarkDown to ReStructuredText
0.0.8 (2020-06-09)¶
- Added
pause_DAQ,unpause_DAQ(),wake_up_DAQ() - Changed many attribute and method names
- Code style: black
0.0.6 (2020-06-07)¶
- Added
start(), renamedquit_all_workers()toquit() - Added
send(),add_to_send_queue(),process_send_queue()
0.0.5 (2020-06-06)¶
- Implemented smooth start and stop machinery to the workers
0.0.1 (2020-05-25)¶
- First release on PyPI