Implementation of the architecture for CAEN control
/device_backend/status
/device_backend/params
/device_backend/set_voltage
/device_backend/down
/
Frontend
page for ticket setting/docs
npm run build
build
folder into caen_tools/WebService/frontend/
folder (replacing the one that exists already)WebService
and executes them:
caen_setup
module for the Device interactionWebService
and executes them:
Python class wrappers for client and server
Set of utility functions, e.g.
.ini
config file
config.ini
is the default config filePython module containing:
Tested on python==3.11.2
with extra modules described in requirements.txt
pip install -e .
WebService
(in another bash) through
uvicorn caen_tools.WebService.ws:app
to deploy webserver
pyproject.toml
python3 -m pip install --upgrade build
python3 -m build
Finally this project must be installed easily via pip like
pip install caen-tools[webservice]