semvec/pypi-packages huggingface dataset:
obs-ws-rc 2.3.0
asyncio-based Python 3.5+ client to obs-websocket plugin for OBS Studio
License: MIT
Requires Python: >=3.5
Keywords: obs obs-websocket

OBS WebSocket RemoteControl
===========================

What's this?
------------
**obs-ws-rc** is a Python 3.5+ library that allows you to establish client
connections to the `obs-websocket <https://github.com/Palakis/obs-websocket/>`_
plugin for OBS Studio.

It uses an **asyncio**-based approach which it inherited from the underlying
WebSocket library - `websockets <https://github.com/aaugustin/websockets/>`_

Installation
------------
The library is `available via PyPi <https://pypi.python.org/pypi/obs-ws-rc>`_:

``pip install obs-ws-rc``

Source Code
-----------
GitHub repository: `github.com/KirillMysnik/obs-ws-rc/
<https://github.com/KirillMysnik/obs-ws-rc/>`_

Documentation
-------------
The docs are `hosted at Read the Docs <http://obs-ws-rc.readthedocs.io>`_

Examples
--------
Sample code is located in the `example folder
<https://github.com/KirillMysnik/obs-ws-rc/tree/master/examples>`_

License
-------
Available via `MIT License
<https://github.com/KirillMysnik/obs-ws-rc/blob/master/LICENSE>`_
pychoice 0.1.1
An utility adds code readability to your application and/or API, Code is documentation!
License: MIT
Keywords: choice

=========
pychoice
=========

An utility adds code readability to your application and/or API, Code is documentation!


Install
-------

::

    pip install pychoice


Example
-------

::

    from pychoice import Choice

    Status = Choice(
        (0, 'item0'),
        (1, 'item1'),
        (2, 'item2')
    )

    assert Status('item0') == 0
    assert Status('item0', 'item1') == [0, 1]

    assert Status[0] == 'item0'
    assert Status[0, 1] == ['item0', 'item1']
    assert Status[...] == ['item0', 'item1', 'item2']

    assert Status.exclude('item0') == [1, 2]
    assert Status.pairs('item0', 'item2') == [(0, 'item0'), (2, 'item2')]