Hi together,
I would like to seek guidance for an upcoming project.
Project description: – I would like to create a website, which is hosted on a laptop and accessible via a local WiFi network. Approximately 50 unsers at a time most probably via a mobile device – opening the website the users should be able to type a name if they want otherwise get an automatic user name. – the websites purpose is to interact with a piece of hardware, which is displayed to all users. The hardware can execute one instruction at a time. The website provides a set of instructions which the user can select and send to the hardware. – due to the sequential execution I would like to implement two operation modes: 1. Free-for-all 2. Single user control
In mode 1, users can select an instruction which is queued for execution. A board is used to display the instruction name and username, which is visible to everyone. Every x seconds a new instruction is executed.
In mode 2, I would like to give control to a single user e.g. identification by user name. In this mode the users instructions are executed immediately. Other users cannot interfere during this time.
Switching between these modes is done my e.g. with the laptop where the server is running.
I already have a Python based interface running on the laptop and interacting with the piece of hardware by sending instructions. However the server part is not implemented yet.
My question is: Reading above description what packages or frameworks come to your mind, which are helpful to implement this and help me learn Python for this type of application. Maybe there is already a an implementation, which I could reuse modify?
In order to avoid pre-bias I am refraining from describing my initial thoughts about how to implement above and would be very much interested in your opinions.
submitted by /u/Blitzbirnep
[link] [comments]
r/learnpython Hi together, I would like to seek guidance for an upcoming project. Project description: – I would like to create a website, which is hosted on a laptop and accessible via a local WiFi network. Approximately 50 unsers at a time most probably via a mobile device – opening the website the users should be able to type a name if they want otherwise get an automatic user name. – the websites purpose is to interact with a piece of hardware, which is displayed to all users. The hardware can execute one instruction at a time. The website provides a set of instructions which the user can select and send to the hardware. – due to the sequential execution I would like to implement two operation modes: 1. Free-for-all 2. Single user control In mode 1, users can select an instruction which is queued for execution. A board is used to display the instruction name and username, which is visible to everyone. Every x seconds a new instruction is executed. In mode 2, I would like to give control to a single user e.g. identification by user name. In this mode the users instructions are executed immediately. Other users cannot interfere during this time. Switching between these modes is done my e.g. with the laptop where the server is running. I already have a Python based interface running on the laptop and interacting with the piece of hardware by sending instructions. However the server part is not implemented yet. My question is: Reading above description what packages or frameworks come to your mind, which are helpful to implement this and help me learn Python for this type of application. Maybe there is already a an implementation, which I could reuse modify? In order to avoid pre-bias I am refraining from describing my initial thoughts about how to implement above and would be very much interested in your opinions. submitted by /u/Blitzbirnep [link] [comments]
Hi together,
I would like to seek guidance for an upcoming project.
Project description: – I would like to create a website, which is hosted on a laptop and accessible via a local WiFi network. Approximately 50 unsers at a time most probably via a mobile device – opening the website the users should be able to type a name if they want otherwise get an automatic user name. – the websites purpose is to interact with a piece of hardware, which is displayed to all users. The hardware can execute one instruction at a time. The website provides a set of instructions which the user can select and send to the hardware. – due to the sequential execution I would like to implement two operation modes: 1. Free-for-all 2. Single user control
In mode 1, users can select an instruction which is queued for execution. A board is used to display the instruction name and username, which is visible to everyone. Every x seconds a new instruction is executed.
In mode 2, I would like to give control to a single user e.g. identification by user name. In this mode the users instructions are executed immediately. Other users cannot interfere during this time.
Switching between these modes is done my e.g. with the laptop where the server is running.
I already have a Python based interface running on the laptop and interacting with the piece of hardware by sending instructions. However the server part is not implemented yet.
My question is: Reading above description what packages or frameworks come to your mind, which are helpful to implement this and help me learn Python for this type of application. Maybe there is already a an implementation, which I could reuse modify?
In order to avoid pre-bias I am refraining from describing my initial thoughts about how to implement above and would be very much interested in your opinions.
submitted by /u/Blitzbirnep
[link] [comments]