Pixera Python API
PixeraPy
Made by Ted Charles Brown
pip install PixeraPy
Usage
Via PyPi (Recommended)
from PixeraPy import Pixera, API
ip = "127.0.0.1" # Replace with your Pixera system's IP address
port = 1400 # Replace with your Pixera system's port if different
pixera = Pixera(ip, port)
api = API()
Manual Downlaod
- Download PixeraPy directly and place into your working directory
Examples
from time import sleep
# ----------------------------- DEFAULT DEBUGGING ---------------------------- #
output = pixera.send()
print(output)
sleep(1)
# ----------------------------- VERBOSE DEBUGGING ---------------------------- #
output = pixera.send(api.outputDebug("Hello from Python!"), verbose=True)
print(output)
sleep(1)
# ---------------------------- CHANGING API METHOD --------------------------- #
output = pixera.send(api.getApiRevision(), protocol="TCP_DL", port=1401, verbose=True)
print(output)
sleep(1)
# ------------------------- ACCESSING CONTROL MODULES ------------------------ #
output = pixera.send(["NewModule.Test"])
print(output)
sleep(1)
# ---------------------------- MULTIPLE PARAMETERS --------------------------- #
pixera.send(api.setTransportModeOnTimeline("Timeline 1", 1))
sleep(1)
pixera.send(api.setTransportModeOnTimeline("Timeline 1", 0))
sleep(1)
# ----------------------------- HANDLING HANDLES ----------------------------- #
screens = pixera.return_array(pixera.send(api.getScreens()))
for screen in screens:
output = pixera.send(api.Screen().getName(int(screen)), verbose=True)
print(output)
sleep(1)
# ------------------------------- MANUAL INPUT ------------------------------- #
output = pixera.send(["Pixera.Utility.outputDebug", ["message"], ["Hello from Python!"]], verbose=True)
print(output)
Update Log
v0.381.3 - Fixes error where default IP was not changing
v0.381.2 - Revised the parsing of incoming data, offers option for raw output
v0.381.1 - Pixera API revision 381 (Pixera 2.0.40)
v0.367.2 - Pixera API revision 367
Metadata
Release files for PixeraPy 0.461.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 | |
|---|---|---|---|
| pixerapy-0.461.1.tar.gz | 21.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pixerapy-0.461.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.7 kB
Release files / pixerapy-0.461.1.tar.gz
| Download URL | pixerapy-0.461.1.tar.gz |
|---|---|
| Size | 21.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bda5d0b1c7e6d63315a26d2fb7851ad6887370d8ced529f0bd07fa27d426e97f
|
|
BLAKE2b-256 checksum How to use checksums |
c5b439d9d24dceee272dd862f69d07830136578aa5db54f1e82a5f6d033a1998
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.4
|
Release files / pixerapy-0.461.1-py3-none-any.whl
| Download URL | pixerapy-0.461.1-py3-none-any.whl |
|---|---|
| Size | 20.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8185469fc94193045cee285c4cdcc4838e49e75650a644e0f0cc00957f87a385
|
|
BLAKE2b-256 checksum How to use checksums |
d466daa91fa56df85e067e144c3489859a7ca046bb6ae283f515fc32f1edf43e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.4
|