Skip to main content

A Python 3 module to control DMX via Python. Featuring fixture profiles and working with uDMX.

Project description

PyPI

PyDMXControl

PyDMXControl
A Python 3 module to control DMX via Python. Featuring fixture profiles and working with uDMX.

Installation

Install via pip (recommended)

pip install PyDMXControl

Features

  • FIXTURE profiles per manufacturer
  • EFFECT module/library support
  • uDMX works out of the box
  • CUSTOM callbacks supported with an internal ticker
  • THREADED to allow continuous runtime

Example

from PyDMXControl.controllers import uDMXController
from PyDMXControl.profiles.Generic import Dimmer

dmx = uDMXController() # create the controller

fixture = dmx.add_fixture(Dimmer, name="My_First_Dimmer") # add the Dimmer and give it a name for quick reference
fixture.dim(255, 5000) # dim to full over 5 seconds

dmx.debug_control() # enter shell debug mode

dmx.sleep_till_enter() # sleep till enter pressed in shell (once debug mode exited)
dmx.close() # cleanly close PyDMXControl

Ramble

Just messing around with using Python to control/send DMX.
Supports fixture profiling; Has defaults for a standard fixture and fixtures that need virtual dimmers.
Prebuilt profiles for generic fixtures (Single dimmer, RGB LED, Custom (set your own number of channels)).

Currently only supports actual output via uDMX.
There is also a print controller included that prints the DMX frames to console at the same rate it should output them to a data cable (this can cause issues though with other things printing as well).

If someone wants to buy me an Enttec USB DMX Pro then I'll try make it work with that too.

Thank you to Dave Hocker, author of pyudmx, for his work on pyudmx and his advice via email in solving some of the issues making this library behave with uDMX.

Discussion, Support and Issues

For general support and discussion of this project, please join the Discord lounge server: https://discord.gg/qyXqA7y
Discord Server

To check known bugs and see planned changes and features for this project, please see the GitHub issues.
Found a bug we don't already have an issue for? Please report it in a new GitHub issue with as much detail as you can!

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

PyDMXControl-1.3.0.tar.gz (17.6 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

PyDMXControl-1.3.0-py3.6.egg (4.3 kB view details)

Uploaded Egg

PyDMXControl-1.3.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file PyDMXControl-1.3.0.tar.gz.

File metadata

  • Download URL: PyDMXControl-1.3.0.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.4

File hashes

Hashes for PyDMXControl-1.3.0.tar.gz
Algorithm Hash digest
SHA256 56b07922427884db3f4c8bfa55aa85d513fe885fc59bb6ff41ab1cb92bad075c
MD5 adcbcdf3845a5d5325a380e5fca665aa
BLAKE2b-256 3f1d3fff06dca8fbefa9fa49a930ce0773b2e882b07515802c578ccf2304b79b

See more details on using hashes here.

File details

Details for the file PyDMXControl-1.3.0-py3.6.egg.

File metadata

  • Download URL: PyDMXControl-1.3.0-py3.6.egg
  • Upload date:
  • Size: 4.3 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.4

File hashes

Hashes for PyDMXControl-1.3.0-py3.6.egg
Algorithm Hash digest
SHA256 c8a043fd94dc0b35b972d783f715dbb525832e121e88f07612369b04009505a9
MD5 037bac871d82ca20e649da0520643af8
BLAKE2b-256 f8fd2c6be23ecdc875faabc31cb754017a7ba119af2f71900646c79d85fbcd51

See more details on using hashes here.

File details

Details for the file PyDMXControl-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: PyDMXControl-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.4

File hashes

Hashes for PyDMXControl-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1625fa1f81ecd9b60c2d469afcd3ed9cfe1069f427e6f66fa31a886b86bfeb9e
MD5 b68f2fe39d80953609cbbe9c724bb89b
BLAKE2b-256 ae1f4709c686378dd99c4dec0878b3a928c11f52730b3d37e64d8defaa6cc8ae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page