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.0.1.tar.gz (17.5 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.0.1-py3.6.egg (4.3 kB view details)

Uploaded Egg

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: PyDMXControl-1.0.1.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyDMXControl-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6a2ba17eac4db30cf6e0f7f458b5b7a86edefc904f1d257f44ae95ff22d05115
MD5 aa0634fdb9ee67abfa0f896783f7e952
BLAKE2b-256 c39f13f57987261db635a6b7c1778600b321cb214a80a0779fe319ce74f269a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for PyDMXControl-1.0.1-py3.6.egg
Algorithm Hash digest
SHA256 beb41e793d8a5ceb98049997c14dd0438d7241a9c36f14c38c4990cd42d5aaaa
MD5 4583a3ac0ada053353f5673f8e4e7614
BLAKE2b-256 8c73aca96e6d2b314f14c15ff808fa7f0d76529a0ae722350d8bd27d3c520d51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for PyDMXControl-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fca3f8c176dc08afb818612931153be3f12d7c58fe51353dcd6f97c82cd6fa01
MD5 50162ebd41f9ffbd5729129a6182bc18
BLAKE2b-256 7481994a888e5f57afc758ed17050c5f74e19dc5d72f06fc78adbac8a6266ea8

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