Skip to main content

Reusable classes and methods for CueMS system

Project description

cuems-utils

Reusable classes and methods for CueMS system

PyPI - Version PyPI - Python Version


Table of Contents

Installation

pip install cuemsutils

Release notes

v0.1.0

  • First stable version
  • Compatibility for Python 3.13 with tests ($> hatch test --show)
  • localize_cue method added to define _local cue attribute
  • check_mappings method is been deprecated in favor of future mapping logic. Returns always True with a warning
  • ConfigManager.get_video_player_id renamed to get_video_output_id for clarity
  • nng_hub_port added to settings
  • outputs and mappings checks added to DmxCue
  • AddressIpc misspelling corrected. AdressIpc no longer exists
  • Nng_request_response deprecated in favor of NngRequestResponse for naming coherence
  • Nng_bus_hub deprecated in favor of NngBusHub for naming coherence
  • Logger properly logs caller module and class name

v0.0.9

  • New HubServices for multiple dialers communication
  • Extended Settings parameters class
  • New tools submodule for clarity with documentation
  • Added class SignalEngine and run_daemon method for running daemons
  • Improved ProjectMappings and NetworkMap content processing
  • Added class Timeoutloop for running methods with timeout
  • get_media methods return extended information
  • Conditional load of xml files at ConfigManager initialization, all class methods made public

v0.0.8

  • Settings class added to xml module. Allows for easy access to configuration files.
  • Child classes NetworkMap and ProjectMappings inherit from Settings class.
  • CueList.get_media method fixed to create usable dictionaries
  • CuemsScript.get_media as a wrapper for CueList.get_media
  • CueList.get_[own_]media_filenames method now returns a sorted list of filenames
  • Region class improved to support proper Media recreation from json
  • setter method moved up to CuemsDict class

v0.0.7

  • XmlReaderWriter class added, previous classes XmlReader and XmlWriter marked as deprecated.
  • fixed Communicator error handling on path checking.
  • Logger.exception and Logger.critical methods added.

v0.0.6

  • CuemsScript now includes ui_properties property to store UI related properties as a dictionary without restrictions.
  • fixed misspelling at Communicator class
  • internal method to_cuemsdict renamed to as_cuemsdict for clarity

v0.0.5

  • All properties of objects are lowercase except the ones representing classes (e.g. CueList at CuemsScript and Media at MediaCue).
  • Parameters renamed for clarity:
    • uuid -> id
    • loaded -> autoload
    • bott_* -> bottom_*
  • User facing classes can be exported directly (e.g. from cuemsutils.cues import AudioCue, VideoCue)
  • Cue is not longer an accepted object for script validation
  • ui_properties has become an CuemsDict object to facilitate modifications and requierements for UI development.
  • CuemsScript object has method to_json to convert its contents to json format. Internally works via json.dumps and specific calls to methods __json__ when available at class level.

v0.0.4

  • Logger fixed to allow empty extra parameter

License

cuemsutils is distributed under the terms of the GPL v3 license.

Copyright (C) 2025 StageLab

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

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

cuemsutils-0.1.0rc4.tar.gz (58.5 kB view details)

Uploaded Source

Built Distribution

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

cuemsutils-0.1.0rc4-py3-none-any.whl (74.0 kB view details)

Uploaded Python 3

File details

Details for the file cuemsutils-0.1.0rc4.tar.gz.

File metadata

  • Download URL: cuemsutils-0.1.0rc4.tar.gz
  • Upload date:
  • Size: 58.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cuemsutils-0.1.0rc4.tar.gz
Algorithm Hash digest
SHA256 d032fc3887c5e0a230536eb263a7ea2315f5e54f4f3a7d3777198c47401b4132
MD5 225196e7af5bc78ca2ca969cd4a3bd90
BLAKE2b-256 47c83871e6184cb9660b9c729edabec63c4e8ca19a11473488175708b6ef6a63

See more details on using hashes here.

Provenance

The following attestation bundles were made for cuemsutils-0.1.0rc4.tar.gz:

Publisher: pypi-publish.yml on stagesoft/cuems-utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cuemsutils-0.1.0rc4-py3-none-any.whl.

File metadata

  • Download URL: cuemsutils-0.1.0rc4-py3-none-any.whl
  • Upload date:
  • Size: 74.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cuemsutils-0.1.0rc4-py3-none-any.whl
Algorithm Hash digest
SHA256 eff42d0fb6e7ab942dd3b10716cc65f81aff8f822a21bd23be7bcd0f2c0fa4ea
MD5 0048e6074c30cc7561b6240aeffa334a
BLAKE2b-256 7d439f26cf64b50148c5640f24f2bb234c4cdc3d4c32ad92727945e0a68348b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for cuemsutils-0.1.0rc4-py3-none-any.whl:

Publisher: pypi-publish.yml on stagesoft/cuems-utils

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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