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)
  • 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.0rc3.tar.gz (57.6 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.0rc3-py3-none-any.whl (73.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cuemsutils-0.1.0rc3.tar.gz
  • Upload date:
  • Size: 57.6 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.0rc3.tar.gz
Algorithm Hash digest
SHA256 b1a7aae730c42b2a6ce7cf3efd0e23523af89e8316296e232d67e757c537bd5e
MD5 28b697dbd2943cc124f507e62f8c66ba
BLAKE2b-256 4a236a9a07fdc0019c24536cad653256c1cade5d0a0980a6bfb7826b8c8d2d31

See more details on using hashes here.

Provenance

The following attestation bundles were made for cuemsutils-0.1.0rc3.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.0rc3-py3-none-any.whl.

File metadata

  • Download URL: cuemsutils-0.1.0rc3-py3-none-any.whl
  • Upload date:
  • Size: 73.1 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.0rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 0af65c0c8d8943ced54feb0a3e04c07f0bed04e0068733967fce2c54d1a0bb87
MD5 bd27988400df014a6e4f51c3fa515707
BLAKE2b-256 c8be4eea0d4f7be73b19a5d883b6b65b2528ce1d3341c7c89e715a349dc207e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for cuemsutils-0.1.0rc3-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