Python package for AVStumpfl, Pixera API
Project description
Pixera Python API
PixeraPy
Made by Ted Charles Brown
pip install PixeraPy
Usage
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()
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)
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.367.2.tar.gz
(19.9 kB
view hashes)
Built Distribution
PixeraPy-0.367.2-py3-none-any.whl
(19.5 kB
view hashes)
Close
Hashes for PixeraPy-0.367.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 147239b4bb3232651967ee27636972c4fb236a5cb4d827c802a8ef5b4a1d8e30 |
|
MD5 | ff440dfdbb9c9ef33d1ff2891cdcc9b4 |
|
BLAKE2b-256 | a3058700bed59ab4f09d87dfc11de04bf227c7b3c291e1c388c396bff0f64259 |