Skip to main content

Remote control for Metz televisions

Project description


Metz® television remote control library


pip install metzctl


from metzctl import MetzRemote
from metzctl.remote import TvRemoteCommandException
import logging

    remote = MetzRemote("", debug=True)
except TvRemoteCommandException:
    logging.error("Error: Remote command failed")
except OSError as e:
    logging.exception("Error: %s", str(e))

See command Line client for programing examples.


Local Installation

pip install .

will take the and install it.

Increment Version


pip install bumpversion

Minor increment:

bumpversion --current-version 1.0.0 minor metzctl/

Major increment:

bumpversion --current-version 1.1.9 major metzctl/

Tag + push tag:

git tag 1.0.1
git push origin 1.0.1


pip install twine
pip install wheel

To create a source archive and a wheel for your package:

python sdist bdist_wheel
cd dist
tar tzf metzctl-<version>.tar.gz
# check the contents
cd ..
twine check dist/*
twine upload --repository-url dist/*

Publish it to PyPI:

twine upload dist/*

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

metzctl-1.0.0.tar.gz (6.7 kB view hashes)

Uploaded source

Built Distribution

metzctl-1.0.0-py3-none-any.whl (7.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page