53 Commits

Author SHA1 Message Date
c7ec4574a6 handle long strings as char array (thanks @huppert_m) 2023-10-13 14:06:18 +02:00
acaf22391b moved examples 2023-10-12 14:34:45 +02:00
5bce4ce983 fixed modules 2023-10-12 14:33:38 +02:00
336c5167f4 clean up folder structure 2023-10-12 11:06:57 +02:00
654d611f62 renamed SendMailMessage -> Message; distinguish between wrapping as MIMEText and encoding; added repr 2022-02-15 13:36:49 +01:00
2cdc67f4af add a simple interface function 2022-02-15 11:59:14 +01:00
599a12f31e indention 2021-04-06 19:05:08 +02:00
d7775324f5 added note on OO interface 2021-04-06 18:08:40 +02:00
31691f22c3 added numpy and sequences 2021-04-06 17:52:29 +02:00
3add9b35f0 create PV/Image from IOC object 2021-04-06 17:48:43 +02:00
4a87aa3d4d convert image to numpy array 2021-04-06 17:48:02 +02:00
230f442ce8 added classes for PV/Image 2021-04-06 14:36:55 +02:00
0c436e4ed6 added classes for PV/Image 2021-04-06 14:36:23 +02:00
49c1344734 naming 2021-04-06 14:08:45 +02:00
509e4073bd added an image and a normal distr. as example PVs 2021-04-06 13:29:56 +02:00
340e3155ce prototype for an interface to sendmail 2021-03-22 13:17:18 +01:00
7281df6af2 added ignore list 2021-03-22 13:16:42 +01:00
79b9b04663 added numpy serving example 2021-03-09 18:58:05 +01:00
76e8b95c85 renamed main.py to run.py 2021-03-09 18:57:18 +01:00
653f8d942e removed test code from prototyping 2021-03-09 18:56:50 +01:00
094e6a7f7c Add README.md 2021-03-09 18:54:48 +01:00
76d8a73828 handle Sequence subclasses (list/tuple/...); convert object arrays to strings (like the default for non-array types); convert built-in bools to ints (like numpy boolean arrays) 2021-03-05 21:21:36 +00:00
344768713d treat built-in bools as ints, handle numpy scalars 2021-03-05 19:35:01 +00:00
71c0c82db2 added support for numpy arrays 2021-03-05 19:15:38 +00:00
0402be5105 turned notes on type infering into unit test; started to rework infer_type function 2021-03-05 14:01:04 +00:00
2c428e52cc made name of entry function configurable (defaults to run); adjusted MissingRunFunctionError -> MissingEntryFunctionError 2021-02-15 11:12:23 +00:00
a44a32e48a moved code that deals with sets of PVInfo into separate file/class 2021-02-14 18:22:31 +00:00
bc39144fad slightly simpler logic 2021-02-14 14:08:52 +00:00
f1ec2aa674 separate dealing with manager object into separate file; added PVInfo.to_dict() 2021-02-14 13:35:41 +00:00
bca92d0ff7 separate PVInfo from serve code 2021-02-13 12:17:07 +00:00
8892b1f320 refactored, but still not good 2021-02-12 16:09:16 +00:00
dda1561fb9 prototype epics server 2021-02-12 14:08:11 +00:00
c31a953baf slightly cleaner 2021-02-08 13:13:46 +00:00
3d576b116a better errors 2021-02-08 13:13:24 +00:00
76debb28e7 slightly cleaner 2021-02-08 13:13:01 +00:00
8f849975c5 Module.start raises on missing func; Module.kill kills Task if available; Module.get_mtime returns None of file is missing instead of raising error; added try/except/print to ModuleManager._run_all; added module killing when removing module from cache; slowed down the output 2021-02-08 10:58:03 +00:00
6d6b4e0d51 add killthread function, make Task killable; Task daemonizes per default 2021-02-08 10:54:04 +00:00
b565c46178 ignore ignore; add infinite loop test that catched KeyboardInterrupt 2021-02-08 10:53:15 +00:00
8cc3210109 add tabs to printing in the test 2021-02-08 10:46:52 +00:00
645140add7 added running the script to Module, all are ran by ModuleManager 2021-02-08 10:06:51 +00:00
338a14d3cb added infinite loop test script 2021-02-08 10:05:13 +00:00
089da79074 switched to Module class 2021-02-07 19:00:54 +00:00
a3f68ec37d copy scripts 2021-02-07 16:27:41 +00:00
82deee8165 use Executor 2021-02-06 20:19:37 +00:00
8aebb82882 added Executor that knows its futures 2021-02-06 20:18:32 +00:00
894e97d1ca instead of waiting for all futures to end in each iteration, go to next iteration and don't start another of a still running one 2021-02-06 19:02:55 +00:00
6d1a06f7f9 test long sleeping 2021-02-06 18:33:26 +00:00
39d66d86e6 handle delete scripts 2021-02-06 18:33:08 +00:00
f31d1cf2ce moved ModuleManager to separate file 2021-02-06 13:57:36 +00:00
a3bc256c28 ModuleManager reloads only if file's mtime changed 2021-02-06 13:46:49 +00:00