New CLI package + restructure and overhaul monorepo + new features and fixes across packages
monorepo:
- Move
voluxpackage into it's own subdirectory to fix unpredictable build behavior and better isolate packages within monorepo - Move
audio_demo.pyandbasic_demo.pyintovoluxclipackage - Completely rewrite
README - Rename
audio_demo.shtoaudio-demo.sh - Add script to easily enable
voluxclibash completions (enable-bash-completions.sh) - Remove obsolete
process.jsonfile that used to be used with PM2 - Remove original
setup.pythat was specifically for thevoluxpackage - Update
pyproject.tomlso Poetry can be used for development across entire monorepo
volux:
- Add
.update_frames_off()method toStrobifyutil to allow the number of frames off to be changed on the fly - Add
.open_counterattribute toStrobifyutil to track the number of frames the gate has been open for - Add
get_sineutil function for generating theyvalue of a sine wave for a giventvalue andhertz - Add
VoluxDemobase class for buildingvoluxclicompatible demos - Add simple
READMEspecific tovoluxpackage (installation steps and links to usage and various other package related things) - Update package metadata
voluxcli:
- Create
voluxclipackage - Create basic command-line interface
- Add ability to launch demos by ID using
demosubcommand - Add ability to list available demos
- Add shell completion support for demo IDs
- Add
--versionflag to list bothvoluxcliandvoluxversion being used (and where they're imported from) - Add
audioandbasicdemos (originally stand-alone scripts from monorepo root) - Add new
huedemo 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
READMEspecific tovoluxclipackage (installation steps, usage, common commands, links tovoluxpackage and other package related things) - Update package metadata
voluxexamplemodule:
- Add simple
READMEspecific tovoluxexamplemodulepackage (installation steps and links to usage and various other package related things) - Update package metadata
Edited by Denver Pallis