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 3 only.
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
Built Distribution
File details
Details for the file pyenttec-1.4.tar.gz
.
File metadata
- Download URL: pyenttec-1.4.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6327d94ff4e4d392a1f1d07a91c7d85bc1eed5926a7e449c97b185f90a9b64ea |
|
MD5 | d1596efdab8440b63527497ff972b4bc |
|
BLAKE2b-256 | 7ddf55de591791f22e40c979301d872170a7471848811a80ad3a1bc15d884c94 |
File details
Details for the file pyenttec-1.4-py3-none-any.whl
.
File metadata
- Download URL: pyenttec-1.4-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ecbbc902d83fc19c3b95a1ef85f9f6f7cac171d2b13de740a4110f29d99c871 |
|
MD5 | c9a1abb61f0d7362de170c23ff94ca19 |
|
BLAKE2b-256 | 9549559474cca234ec4fd4ed92bda222a4eed09c8a3d204fee043c98c273b335 |