Elektordi / obs-websocket-py

Python library to communicate with an obs-websocket server (for OBS Studio)
MIT License
235 stars 59 forks source link

Added context manager support #76

Open drkspace opened 2 years ago

drkspace commented 2 years ago

obsws should now be able to be created with a with statement so the user doesn't have to worry about connecting/disconnecting. For example:

with obsws() as ws:
    ...