Python package for AVStumpfl, Pixera API
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pixerapy-0.461.1.tar.gz
(21.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pixerapy-0.461.1.tar.gz.
File metadata
- Download URL: pixerapy-0.461.1.tar.gz
- Upload date:
- Size: 21.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bda5d0b1c7e6d63315a26d2fb7851ad6887370d8ced529f0bd07fa27d426e97f
|
|
| MD5 |
cd0a33afe38234b0506ff4b45ebfa277
|
|
| BLAKE2b-256 |
c5b439d9d24dceee272dd862f69d07830136578aa5db54f1e82a5f6d033a1998
|
File details
Details for the file pixerapy-0.461.1-py3-none-any.whl.
File metadata
- Download URL: pixerapy-0.461.1-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8185469fc94193045cee285c4cdcc4838e49e75650a644e0f0cc00957f87a385
|
|
| MD5 |
36147bb59c29b0062ad1c4faf282fb90
|
|
| BLAKE2b-256 |
d466daa91fa56df85e067e144c3489859a7ca046bb6ae283f515fc32f1edf43e
|