Control an Enttec Pro DMX from python.
Project description
pyenttec
Python module for sending DMX using the Enttec Pro (or compatible) DMX port. Supports Python 2 and 3.
Available on PyPI: https://pypi.org/project/pyenttec/
On OS X, use is very simple using the select_port function:
import pyenttec as dmx
port = dmx.select_port()
port.dmx_frame[0] = 123
port.render()
On windows or linux, the select_port function must be modified before use. Windows uses numbered com ports, and on linux your serial port directory and port name will probably be different. You can also just call the DMXConnection constructor directly with the right argument.
Support is included for setting various port parameters such as refresh rate and universe length. For certain applications (very fast strobe control, for example) using a truncated universe with refresh_rate = 0 permits faster control.
This module started as bug fixes to the pySimpleDMX package. https://github.com/c0z3n/pySimpleDMX
It then mutated into a complete rewrite based on the Objective-C enttec implemention by Coil https://github.com/coil-lighting
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pyenttec-1.2.tar.gz
.
File metadata
- Download URL: pyenttec-1.2.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b0e61fb6f57ae79b917b2dd42653eb33865447f6fde20e4dfc3b4e30a102b69 |
|
MD5 | fe3a944071b313ae02075367970a90ec |
|
BLAKE2b-256 | ddf67adca37c6ef13f428002954d7981bc89695abfa4910e996264e110584a7c |