28 Commits

Author SHA1 Message Date
c10bc5e530
9.2.0.rc (#1232)
Some checks failed
Native CMake Build / Configure and build using cmake (push) Failing after 3s
* Python module is now built using scikit-build-core: Dev/scikitbuild #1164
* slsdet is available on PyPI from this release onwards
* Fixed broken import in typecaster.h #1181
* Dev/automate version number #1193
* Dev/automate version part2 #1209
* 9111: added expat to host section to fix conda #1216
* fix for gotthard.py to import slsdet properly
* added slsFramesynchronizer to conda copy_lib.sh
* version of release
* update version of client
* removed cmake <=3.28 that was added in 9.1.11 (main_library in meta.yaml in conda-recipes)
* added slsFrameSynchronizer binary to conda
* added numpy dependency to toml
* added documentation for pip in installation

Detailed Commits:
* skeleton pyproject.toml
* moved compiled extension into slsdet
* WIP
* WI{
* separated the recipes
* restored comments, cleanup
* cleaned meta yaml
* added back some python versions
* conda build of main library
* fixed typo
* removed conda build pin
* added zlib
* added workflow for python lib
* patching libzmq and cleaned up cmake
* removed compiler version
* switched patch tool
* reverted to scikit-build in pyproject.toml
* added sls_detector bin
* added sync, renamed action
* update cmake<=3.28 in conda build requirements
* Fixed broken import in typecaster.h (#1181)
- Fixed the broken import _slsdet --> slsdet._slsdet caused by a previous upgrade
- added tests that exercises the conversion from python to C++ and from C++ to python
- Python unit tests now run in CI (!)
* removed 3.28 restriction on cmake in meta.yaml
* from #1216 to 9.1.1.rc that got lost in merge from develoepr, added expat to host section to fix conda build
* back with the cmake restriction
* fixing gotthard1 import
* version number automated for python build
* mistakenly set version back to 0.0.0
* updated github workflow scripts to support automatic version numbering with environment variable
* managed to load VERSION file in yaml file - simplifies things
* saving changes in git workflow failed
* got typo in github workflow
* updatet regex pattern to support postfix
* normalized version to PEP 440 specification in update_version.py
* bug did not support version 0.0.0
* added regex pattern matching to version in toml file
* version now supports . before postfix
* updates api version based on version file & converted shell script files to python
* updated all makefiles
* adresses review comments
* updated release version and the api lib version
* raise an exception if the pull socket python script had errors at startup (for eg if pyzmq was not installed)
* cmake<=3.28 not required anymore
* updated documentation for pip installation as well
* 920/add numpy  (#1226)
* added numpy dependency
* aded build specifications for python version and platform
* release notes
---------
Co-authored-by: froejdh_e <erik.frojdh@psi.ch>
Co-authored-by: Fröjd Lars Erik <froejdh_e@pcmoench03.psi.ch>
Co-authored-by: Erik Fröjdh <erik.frojdh@gmail.com>
Co-authored-by: mazzol_a <mazzol_a@pc17378.psi.ch>
Co-authored-by: AliceMazzoleni99 <alice.mazzoleni@psi.ch>
2025-06-02 13:45:06 +02:00
72bec5d62e
1. Dev/update python bindings for port pr (#813)
* updated python bindings for port update from int to uint16_t

* user friendly error message for exception when python arg does not match uint16_t for ports
2023-09-29 11:12:02 +02:00
Erik Frojdh
f31fa92516 fixed hostname not split (+) in python 2023-01-16 13:34:01 +01:00
Erik Fröjdh
045a28b5de
Nanosecond times in Python (#522)
* initital implementation

* datetime replaces with sls::Duration in Python C bindings

* using custom type caster

* fix for conversion to seconds

* added set_count in python

* common header for pybind11 includes

authored-by: Erik Frojdh <erik.frojdh@psi.ch>
2022-08-26 11:48:40 +02:00
519b09fcad permission 2021-10-18 15:01:10 +02:00
fada085f0e added .py licenses 2021-10-15 15:54:58 +02:00
Erik Frojdh
afd56703a2 accept tuple for counter list 2021-09-03 15:47:59 +02:00
Erik Frojdh
c0be5ab8cb merge args fix 2020-09-25 11:55:55 +02:00
Erik Frojdh
ec2d6c597f added merge_args 2020-09-25 11:00:14 +02:00
Erik Frojdh
f950e32893 fix to utils 2020-09-25 08:53:35 +02:00
Erik Frojdh
671a2724ac more set_using_dict 2020-09-24 16:55:41 +02:00
Erik Frojdh
18d5c5e26d more element 2020-09-24 14:06:58 +02:00
Erik Frojdh
101f029eef generalized set_using_dict 2020-09-24 11:01:51 +02:00
Erik Frojdh
97fea10ee2 more of @element 2020-09-24 08:39:12 +02:00
Erik Frojdh
d3fbfebeb7 generalized make_ for python 2020-09-23 17:44:19 +02:00
Erik Frojdh
1f31dd667b more element and dict 2020-09-23 17:06:30 +02:00
Erik Frojdh
0b0f5c94d5 master file no index 2020-09-23 16:28:50 +02:00
Erik Frojdh
b6d5efd441 fix for clientversion 2020-09-23 14:54:16 +02:00
Erik Frojdh
330df3463a version prints hex 2020-09-23 14:08:41 +02:00
Erik Frojdh
f6a442fd10 detsize in python 2020-09-21 17:18:31 +02:00
Erik Frojdh
d70090967d python funcs 2020-09-10 16:47:34 +02:00
Erik Frojdh
9ee67f2cfa python rx_jsonpara 2020-09-07 16:23:28 +02:00
Erik Frojdh
47da2540af json 2020-09-03 17:20:38 +02:00
Erik Frojdh
57e0fd805e added support for ~ expansion 2020-08-19 12:03:32 +02:00
Erik Frojdh
6c753f3b50 veto 2020-05-28 08:48:11 +02:00
Erik Frojdh
20bfe92573 gatedelay 2020-05-27 14:02:33 +02:00
Erik Frojdh
b543708d9d exptime 2020-05-27 11:30:11 +02:00
Erik Frojdh
f1bce15a57 replaced udp socket 2020-02-17 17:43:14 +01:00