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.2.0.tar.gz (17.6 kB view details)

Uploaded Source

Built Distributions

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

Uploaded Egg

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyDMXControl-1.2.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.2.0.tar.gz
Algorithm Hash digest
SHA256 6a1b9957648aad22678417e4c9f45bc02e54942833dbfb5d53b24183c885ead8
MD5 a16f07d5d1e7a197f1b241058464f223
BLAKE2b-256 11ae07445127ad18a69fa8ce6bfdd065f4e594a48a9e777675267c1acf346a24

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyDMXControl-1.2.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.2.0-py3.6.egg
Algorithm Hash digest
SHA256 fd40f010fb50d1c6c9f74fb903020bb3e1cef1e4adb01960714ddd3f75acd874
MD5 cb8dbb7ed52e3fa023690c219b4ca93d
BLAKE2b-256 d2419164b188ae08d62e8623e7b63885534db0e1082e0f3800ab866d99ad4cad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: PyDMXControl-1.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ae02305eb2a4a47e9388426cbc8e893d5d2d0a8e717a84e9fff3bfeab36f6d2
MD5 b7e4e2febbae06b2ea6a56961315970c
BLAKE2b-256 35a26f225366b108f5e50a3fcd0bba897c1d40a1d189a970ff560788430916ba

See more details on using hashes here.

Supported by

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