semvec/pypi-packages huggingface dataset:
rxv 0.6.0
Automation Library for Yamaha RX-V473, RX-V573, RX-V673, RX-V773 receivers
License: MIT

rxv 
===
.. image:: https://travis-ci.org/wuub/rxv.svg?branch=master
    :target: https://travis-ci.org/wuub/rxv

.. image:: https://landscape.io/github/wuub/rxv/master/landscape.svg?style=flat
   :target: https://landscape.io/github/wuub/rxv/master
   :alt: Code Health

Automation Library for Yamaha RX-V473, RX-V573, RX-V673, RX-V773 receivers

Installation
============

Use pip::

  $ pip install rxv
  or
  $ pip install --use-wheel rxv


Usage
=====

The easiest way to start using is to let SSDP find all available receivers.
In most cases **rxv** module will manage to obtain locations of local compatible devices::

  >>> import rxv
  >>> receivers = rxv.find()
  >>> print(receivers)
  [<RXV model_name="RX-V473" ctrl_url="http://192.168.1.116:80/YamahaRemoteControl/ctrl" at 0x2c1c1d0>]
  >>> rx = receivers[0]
  >>> rx.on = True
  >>> rx.volume
  -51.0
  >>> rx.inputs()
  {'AUDIO': None,
  'HDMI1': None,
  'HDMI2': None,
  (...)
  'iPod (USB)': 'iPod_USB'}
  >>> rx.input
  "NET RADIO"
  >>> rx.input = "HDMI1"
  >>> rx.input
  "HDMI1"
  >>> rx.is_playback_supported()
  False
  >>> rx.input = "AirPlay"
  >>> rx.is_playback_supported()
  True
  >>> from rxv import PlaybackSupport
  >>> (rx.get_playback_support() & PlaybackSupport.PLAY) != 0
  True
  >>> rx.play()
  >>> rx.next()
  >>> rx.outputs
  {'hdmi2': 'off', 'hdmi1': 'on'}
  >>> rx.enable_output('hdmi2', True)
  >>> rx.enable_output('hdmi1', False)
  >>> rx.outputs
  {'hdmi2': 'on', 'hdmi1': 'off'}


If SSDP causes you some problems, `ctrl_url` can be provided by hand.::

  >>> rx = rxv.RXV("http://192.168.1.116:80/YamahaRemoteControl/ctrl", "RX-V473")


License
=======

BSD


Authors
=======

* `@jnnt <https://github.com/jnnt>`_
* `@wuub <https://github.com/wuub>`_

Contributors
============

* `@briancline <https://github.com/briancline>`_
* `@rthill <https://github.com/rthill>`_
* `@jtai <https://github.com/jtai>`_
* `@ahocquet <https://github.com/ahocquet>`_
* `@Raynes <https://github.com/Raynes>`_
* `@sdague <https://github.com/sdague>`_
* `@postlund <https://github.com/postlund>`_
* `@HerrHofrat <https://github.com/HerrHofrat>`_
* `@mischuh <https://github.com/mischuh>`_


Users
=====

* `Home Assistant <https://github.com/home-assistant/home-assistant/>`_
* `rxvc <https://github.com/Raynes/rxvc>`_
ponywhoosh 1.7.8
Your database now searchable. The backend behind the Flask-PonyWhoosh.
License: MIT
Keywords: elastic,engine,flask,flask-sqlalchemy,flask-whooshalchemy,mysql,pony,ponyorm,ponywhoosh,search,searchable,sqlite3,whoosh

ponywhoosh
==========
|PyPI Package latest release| |Test|

Make your database over PonyORM searchable.

Install package, import and start adding what fields of your models in your database, you want to search.

.. image:: https://github.com/jonaprieto/flask-ponywhoosh/blob/master/images/databaseconfig.gif?raw=true
   :target: https://pypi.python.org/pypi/ponywhoosh
   :scale: 70%
   :align: center
   :alt: PonyWhoosh


Please take a look to the official documentation up to date:

    -  http://pythonhosted.org/ponywhoosh/
    -  https://pypi.python.org/pypi/ponywhoosh

Installation
------------

.. code:: python

    pip install ponywhoosh

or use the develop (unstable) version:

.. code:: bash

    git clone https://github.com/jonaprieto/ponywhoosh.git
    cd ponywhoosh
    python setup.py install


.. |PyPI Package latest release| image:: http://img.shields.io/pypi/v/ponywhoosh.png?style=flat
   :target: https://pypi.python.org/pypi/ponywhoosh

.. |Test| image:: https://travis-ci.org/jonaprieto/ponywhoosh.svg?branch=master
    :target: https://travis-ci.org/jonaprieto/ponywhoosh
subpaths 0.2.0
Finding common subpaths between paths.
License: MIT

# Subpaths
Finding common subpaths and counting occurrences of all subpaths between paths.


## Examples

### Finding common subpaths between paths

```
from pprint import pprint
from subpaths.subpaths import find_all_common_subpaths_between

path_a = [1, 2, 3, 4, 5]
path_b = [3, 4, 5, 7]
path_c = [2, 3, 4, 8, 9, 7]

pprint(find_all_common_subpaths_between(path_a, path_b, path_c))
```

Will return:

```
{(3, 4)}
```


### Counting all subpaths between paths

```
from pprint import pprint
from subpaths.subpaths import find_all_subpath_occurrences

path_a = [1, 2, 3, 4, 5]

pprint(find_all_subpath_occurrences(path_a))

path_b = [3, 4, 5, 7]
path_c = [2, 3, 4, 8, 9, 7]

pprint(find_all_subpath_occurrences(path_a, path_b, path_c))

```

Will return:
```
defaultdict(<class 'int'>,
            {(1, 2): 1,
             (1, 2, 3): 1,
             (1, 2, 3, 4): 1,
             (1, 2, 3, 4, 5): 1,
             (2, 3): 1,
             (2, 3, 4): 1,
             (2, 3, 4, 5): 1,
             (3, 4): 1,
             (3, 4, 5): 1,
             (4, 5): 1})
defaultdict(<class 'int'>,
            {(1, 2): 1,
             (1, 2, 3): 1,
             (1, 2, 3, 4): 1,
             (1, 2, 3, 4, 5): 1,
             (2, 3): 2,
             (2, 3, 4): 2,
             (2, 3, 4, 5): 1,
             (2, 3, 4, 8): 1,
             (2, 3, 4, 8, 9): 1,
             (2, 3, 4, 8, 9, 7): 1,
             (3, 4): 3,
             (3, 4, 5): 2,
             (3, 4, 5, 7): 1,
             (3, 4, 8): 1,
             (3, 4, 8, 9): 1,
             (3, 4, 8, 9, 7): 1,
             (4, 5): 2,
             (4, 5, 7): 1,
             (4, 8): 1,
             (4, 8, 9): 1,
             (4, 8, 9, 7): 1,
             (5, 7): 1,
             (8, 9): 1,
             (8, 9, 7): 1,
             (9, 7): 1})
```

## Download

```
pip install subpaths
```


## Future Improvements

- Bound the shorted and longest paths to generate and count