Skip to main content

Library to control webOS based LG Tv devices

Project description

pylgtv

Library to control webOS based LG Tv devices

Requirements

  • Python >= 3.3

Install

pip install pylgtv

Example

from pylgtv import WebOsClient

import sys
import logging

logging.basicConfig(stream=sys.stdout, level=logging.INFO)

try:
    webos_client = WebOsClient('192.168.0.112')
    #webos_client.launch_app('netflix')

    for app in webos_client.get_apps():
        print(app)
except:
    print("Error connecting to TV")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylgtv-0.1.9.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

pylgtv-0.1.9-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file pylgtv-0.1.9.tar.gz.

File metadata

  • Download URL: pylgtv-0.1.9.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.9.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.2

File hashes

Hashes for pylgtv-0.1.9.tar.gz
Algorithm Hash digest
SHA256 0ea03f336fae0798120c59061abe710720c17ba32819b92709e93a5bc7904c4c
MD5 709e54703281e60e7e6638f8c1d993a7
BLAKE2b-256 fb5b2bcf2596777a7539b1e82f55526f87854d677070e75437b7a4a5939fa74f

See more details on using hashes here.

File details

Details for the file pylgtv-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: pylgtv-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.9.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.2

File hashes

Hashes for pylgtv-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d336f44ba631bece527ac71b75e2872ec8ca7e7a0a29131d66c3c2e7a206b8c3
MD5 fe08494b79dc1dc1dab4346bc9f6b682
BLAKE2b-256 2fb94d3c35bf90ce0f11dd460febfd89bd415dfc1682d816ff047e311ef84b3a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page