Tags: sabjorn/NumpySocket
Tags
backport v2.0.2 bugfix to v1.* a major bug was fixed in 2.0.2 -- this backport fixes the same issue so that projects using numpy >= 1.0.0 can still use it * return pyproject to use numpy >= 1.0.0 and >= python3.8 * add python 3.8 back to test builds * backport type annotations (Tuple and List) to meet lowest python version
update project to Python3 Python3 introduced a distinction between strings and bytes. This resulted in a problem when trying to save a numpy array into an io.StreamIO object. The code has now been adapted to use io.BytesIO. Additionally: * update print statements to Python3 * change init file for proper importing * change error catch to fit python3 syntax * update class send method to use BytesIO * update class recieve method to use BytesIO * change shebang to python3 * add requirements file for example code * change variables names to be clearer * add logging and custom errors to module * update license date * add example code for arbitrary numpy array