irrp
Basically irrp.py but as a python module so you can integrate it easily with your Python program.
Examples
To record:
import pigpio
pi = pigpio.pi()
gpio_pin = 18
# Record the IR data
import irrp
rr = irrp.RecordReplayer(pi)
print(rr.record(gpio_pin))
# optionally, save to a file:
import json
json.dump(open("data.json", "wb"))
To replay:
import pigpio
pi = pigpio.pi()
gpio_pin = 18
# load the recorded data
import json
data = json(load(open("data.json")))
# replay the data
import irrp
rr = irrp.RecordReplayer(pi)
rr.replay(gpio_pin, data)
To record and compare data:
import pigpio
pi = pigpio.pi()
gpio_pin = 18
# record data
import irrp
rr = irrp.RecordReplayer(pi)
rec = rr.record(gpio_pin)
import json
data = json(load(open("data.json")))
irrp.compare(data, rec)
Metadata
Release files for irrp 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| irrp-1.0.1.tar.gz | 4.5 kB | Without provenance | Details for irrp-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| irrp-1.0.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for irrp-1.0.1-py2.py3-none-any.whl |
Total release size: 9.4 kB
Release files / irrp-1.0.1.tar.gz
| Download URL | irrp-1.0.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ada24df3d580261b1b68f4c15d8a5eeed491c1064d6ebf036dd2c9302e2f3060
|
|
BLAKE2b-256 checksum How to use checksums |
6c89834ef2c075bc8a9bfff44cb3e9570ec42d6d11496e2aebbc08e1783a612e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.2
|
Release files / irrp-1.0.1-py2.py3-none-any.whl
| Download URL | irrp-1.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ad100900056a7be36b1b1e84369db05dc2525f850ca3fcbe06084934db2bd39c
|
|
BLAKE2b-256 checksum How to use checksums |
c6a5629d2960057477bc2d105cc185b70ba27fcc68c4904fc9144af8fbad2c5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.28.2
|
Security for irrp 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.