File: README.rst

package info (click to toggle)
python-androidtv 0.0.73-1.1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 792 kB
  • sloc: python: 7,123; makefile: 188; sh: 105
file content (55 lines) | stat: -rw-r--r-- 2,127 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
python-androidtv
================

.. image:: https://travis-ci.com/JeffLIrion/python-androidtv.svg?branch=master
   :target: https://travis-ci.com/JeffLIrion/python-androidtv
   :alt: Build Status
.. image:: https://coveralls.io/repos/github/JeffLIrion/python-androidtv/badge.svg
   :target: https://coveralls.io/github/JeffLIrion/python-androidtv
   :alt: Coverage Status
.. image:: https://pepy.tech/badge/androidtv
   :target: https://pepy.tech/project/androidtv
   :alt: Downloads


Contributions Only
------------------

I no longer have the time to actively work on this project, and so all future development will be from pull requests submitted by the community.  What I will do is:

* review pull requests that pass all of the CI checks
* publish new releases upon request


About
-----

Documentation for this package can be found at `https://androidtv.readthedocs.io <https://androidtv.readthedocs.io>`_.

``androidtv`` is a Python package that provides state information and control of Android TV and Fire TV devices via ADB.  This package is used by the `Android TV <https://www.home-assistant.io/components/androidtv/>`_ integration in Home Assistant.


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

.. code-block::

   pip install androidtv


To utilize the async version of this code, you must install into a Python 3.7+ environment via:

.. code-block::

   pip install androidtv[async]


ADB Intents and Commands
------------------------

A collection of useful intents and commands can be found `here <https://gist.github.com/mcfrojd/9e6875e1db5c089b1e3ddeb7dba0f304>`_ (credit: mcfrojd).

Acknowledgments
---------------

This is based on `python-firetv <https://github.com/happyleavesaoc/python-firetv>`_ by happyleavesaoc and the `androidtv component for Home Assistant <https://github.com/a1ex4/home-assistant/blob/androidtv/homeassistant/components/media_player/androidtv.py>`_ by a1ex4, and it depends on the Python packages `adb-shell <https://github.com/JeffLIrion/adb_shell>`_ (which is based on `python-adb <https://github.com/google/python-adb>`_) and `pure-python-adb <https://github.com/Swind/pure-python-adb>`_.