Skip to main content

# python-irsend

This is a simple wrapper for [lirc’s irsend](http://www.lirc.org/html/irsend.html).

## 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](https://docs.python.org/2/library/subprocess.html) 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_output](https://docs.python.org/2/library/subprocess.html#subprocess.check_output)) to determine which exceptions may be raised.

Metadata

Release files for py-irsend 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-irsend 1.0.1
File Size Uploaded Provenance Actions
py_irsend-1.0.1.tar.gz 15.3 kB Without provenance Details for py_irsend-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-irsend 1.0.1
File Interpreter ABI Platform Actions
py_irsend-1.0.1-py2.py3-none-any.whl Python 3, Python 2 none any Details for py_irsend-1.0.1-py2.py3-none-any.whl

Total release size: 19.7 kB

Release files / py_irsend-1.0.1.tar.gz

Download URL py_irsend-1.0.1.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
aef5201d2a6d35a10ce63218e4a5537df23e133ee31bbc5894da9b3d1d92f06c
BLAKE2b-256 checksum
How to use checksums
ab10073ba5e424bb6da27fea5f9afcfa29c402347a58171dfe7a6479aa4fdb83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Release files / py_irsend-1.0.1-py2.py3-none-any.whl

Download URL py_irsend-1.0.1-py2.py3-none-any.whl
Size 4.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
8553e0ee0c2ae468743e92fb56f9f6dda454260dc5bbaf344ad849217023592a
BLAKE2b-256 checksum
How to use checksums
af41f82957d1a34c7addd34e034125cafa041b17f52b89ed555ee1613ead383f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Security for py-irsend 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page