Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

A simple wrapper for lirc's irsend.

Project Description

# python-irsend

This is a simple wrapper for [lirc’s irsend](

## Install:

` pip install py_irsend `

## Basic Usage:

` >>> from py_irsend import irsend >>> irsend.list_remotes() ['lasko_heater', 'lights.conf', 'dynex_tv', 'logitech_z906', 'sabrent_hdmi_switch'] >>> irsend.list_codes('logitech_z906') ['POWER', 'INPUT', 'MUTE', 'LEVEL', 'EFFECT', 'VOLUME_DOWN', 'VOLUME_UP'] >>> irsend.send_once('logitech_z906', ['POWER']) `

It makes use of [subprocess]( to call irsend. No attempts are made to handle errors (e.g. irsend not being installed, or lircd not running), and instead leaves those to the caller. See the documentation for subprocess (specifically [check_call]( and [check_output]( to determine which exceptions may be raised.

Release History

Release History

This version
History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
py_irsend-1.0.0-py2.py3-none-any.whl (4.5 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Oct 4, 2016
py_irsend-1.0.0.tar.gz (15.3 kB) Copy SHA256 Checksum SHA256 Source Oct 4, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting