How acces for local USB devices via Streamlit cloud?

Helo .everyone i have some appliction tested on local worksstation with acces for USB devices/
USB device need for generate some UUID for auth combination via pyUSB.

How acces for local USB devices via Streamlit cloud?

You don’t have access to any local hardware if streamlit is hosted.
Everything has to go through the browser or browser APIs.
IMHO you have to write a custom streamlit component that supports the WebUSB API from the browser.
Here are some hints:

However the WebUSB API is not supported by all browsers yet.

2 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.