pyblustream
pyblustream is a Python library to connect to an ELAN or Blustream HDBaseT Matrix. You can see the current mapping of inputs to outputs as well as request to change the input that an output is using.
It is primarily being developed with the intent of supporting home-assistant
Installation
# Installing from PyPI
$ pip install pyblustream
Using on the command line as a script
main.py -h <matrix ip address> [-p <port> -s <output_id> -o <output_id> -i <input_id> -a -l]
-h hostname or ip Hostname or IP of the matrix - required
-p port Port of the matrix to connect to - defaults to 23
-o output_id -i input_id Set output ID to use input ID - specified as an int e.g. -i 2 -o 4 both must be specified
-s output_id Display the input for this output ID must be an int e.g. 2
-a Display the input for all outputs
-l Continue running and listen for source changes
Log out the input used on a specific output and exit
python3 main.py -h 127.0.0.1 -s 02
Log out all input/output mappings and exit
python3 main.py -h 127.0.0.1 -a
Change display id 2 to source 3 and exit
python3 main.py -h 127.0.0.1 -o 2 -i 3
Run forever logging status changes
python3 main.py -h 127.0.0.1 -l
Change a source then run forever logging status changes
python3 main.py -h 127.0.0.1 -o 2 -i 3 -l
Using in an application
See example.py
TODO
- Get names of inputs and outputs from the matrix
Metadata
Release files for pyblustream 0.21
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 |
|---|---|---|---|---|
| pyblustream-0.21.tar.gz | 11.3 kB | Without provenance | Details for pyblustream-0.21.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyblustream-0.21-py3-none-any.whl | Python 3 | none | any | Details for pyblustream-0.21-py3-none-any.whl |
Total release size: 22.8 kB
Release files / pyblustream-0.21.tar.gz
| Download URL | pyblustream-0.21.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa6a34b32e2b576b7408c03699b3afc248b254772e08eaa1e7110926653fb3e9
|
|
BLAKE2b-256 checksum How to use checksums |
d1496072cdf4c7058b8ec88ce11e3dfdf8d00ce0c94321ab4f4e3dc0581a4747
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / pyblustream-0.21-py3-none-any.whl
| Download URL | pyblustream-0.21-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
38f1f2128d48159e58545c1eb84881cb989cae88dc89cb3fbe1384db4634fa45
|
|
BLAKE2b-256 checksum How to use checksums |
2e7bb1be1c65688f7f551c3a5cca8800c3b817942bc52f2b9820ddf200130539
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Security for pyblustream 0.21
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.