[go: up one dir, main page]

New CLI package + restructure and overhaul monorepo + new features and fixes across packages

monorepo:

  • Move volux package into it's own subdirectory to fix unpredictable build behavior and better isolate packages within monorepo
  • Move audio_demo.py and basic_demo.py into voluxcli package
  • Completely rewrite README
  • Rename audio_demo.sh to audio-demo.sh
  • Add script to easily enable voluxcli bash completions (enable-bash-completions.sh)
  • Remove obsolete process.json file that used to be used with PM2
  • Remove original setup.py that was specifically for the volux package
  • Update pyproject.toml so Poetry can be used for development across entire monorepo

volux:

  • Add .update_frames_off() method to Strobify util to allow the number of frames off to be changed on the fly
  • Add .open_counter attribute to Strobify util to track the number of frames the gate has been open for
  • Add get_sine util function for generating the y value of a sine wave for a given t value and hertz
  • Add VoluxDemo base class for building voluxcli compatible demos
  • Add simple README specific to volux package (installation steps and links to usage and various other package related things)
  • Update package metadata

voluxcli:

  • Create voluxcli package
  • Create basic command-line interface
  • Add ability to launch demos by ID using demo subcommand
  • Add ability to list available demos
  • Add shell completion support for demo IDs
  • Add --version flag to list both voluxcli and volux version being used (and where they're imported from)
  • Add audio and basic demos (originally stand-alone scripts from monorepo root)
  • Add new hue demo which cycles the hue of a LIFX device with a specified label
  • Add feature to automatically detect missing demo requirements before running demos
  • Add feature to generate suggested install command for missing demo requirements (but only for specific packages)
  • Add simple README specific to voluxcli package (installation steps, usage, common commands, links to volux package and other package related things)
  • Update package metadata

voluxexamplemodule:

  • Add simple README specific to voluxexamplemodule package (installation steps and links to usage and various other package related things)
  • Update package metadata
Edited by Denver Pallis

Merge request reports

Loading