{"id":22475263,"url":"https://github.com/ecdye/trimpy","last_synced_at":"2025-08-02T11:32:27.861Z","repository":{"id":38215527,"uuid":"438724898","full_name":"ecdye/TrimPy","owner":"ecdye","description":"A basic API implementation for Trimlight Select systems.","archived":false,"fork":false,"pushed_at":"2025-02-23T04:02:34.000Z","size":110,"stargazers_count":10,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-10T02:26:30.546Z","etag":null,"topics":["python","trimlight"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/TrimPy/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ecdye.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-15T17:59:53.000Z","updated_at":"2025-02-23T04:02:37.000Z","dependencies_parsed_at":"2025-01-25T17:21:48.314Z","dependency_job_id":"c3e1c52e-2877-4a46-86ff-c742afaa2f6c","html_url":"https://github.com/ecdye/TrimPy","commit_stats":{"total_commits":54,"total_committers":2,"mean_commits":27.0,"dds":0.07407407407407407,"last_synced_commit":"3aaaec60fb238f774b69023d295f82584b931192"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/ecdye/TrimPy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecdye%2FTrimPy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecdye%2FTrimPy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecdye%2FTrimPy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecdye%2FTrimPy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecdye","download_url":"https://codeload.github.com/ecdye/TrimPy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecdye%2FTrimPy/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268378965,"owners_count":24240907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","trimlight"],"created_at":"2024-12-06T13:14:53.618Z","updated_at":"2025-08-02T11:32:27.847Z","avatar_url":"https://github.com/ecdye.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TrimPy\n[![GitHub](https://img.shields.io/github/license/ecdye/TrimPy)](https://github.com/ecdye/TrimPy/blob/main/LICENSE.md)\n[![CodeQL](https://github.com/ecdye/TrimPy/actions/workflows/codeql.yml/badge.svg)](https://github.com/ecdye/TrimPy/actions/workflows/codeql.yml)\n[![Lint](https://github.com/ecdye/TrimPy/actions/workflows/pylint.yml/badge.svg)](https://github.com/ecdye/TrimPy/actions/workflows/pylint.yml)\n\nA basic API implementation for Trimlight Select systems.\n\nInstall:\n\n```sh\npython3 -m pip install --upgrade TrimPy\n```\n\nor\n\n```sh\npipx install TrimPy\n```\n\nUsage:\n```\nUsage: TrimPy [options]\n\nOptions:\n  -h, --help            show this help message and exit\n  -i IP, --ip=IP        IP address to connect to (required)\n  -m MODE, --mode=MODE  set trimlight to mode: timer, or manual\n  -p PATTERN, --pattern=PATTERN\n                        set trimlight to pattern: NEW_YEAR, ST_VALENTINE,\n                        ST_PATRICK, MOTHERS_DAY, INDEPENDENCE_DAY, DEFAULT,\n                        HALLOWEEN, THANKSGIVING, CHRISTMAS (also accepts\n                        custom values in the form of integers representing the\n                        pattern number)\n  -n NAME, --set-name=NAME\n                        set trimlight device name (\u003c 25 characters)\n  -d N, --dot-count=N   set trimlight device dot count to N (\u003c 4096 dots)\n  -q N, --query-pattern=N\n                        query trimlight for information about pattern number N\n  -D N, --delete-pattern=N\n                        delete pattern number N\n  -v, --verbose         make lots of noise [default: False]\n  -V, --version         print version and exit\n\n  Create/Update/Preview Pattern:\n    create/update/preview a trimlight pattern to match your liking\n\n    --preview-pattern   preview a pattern specified by the options below, will\n                        not update pattern if using '--source-pattern'\n    --source-pattern=N  source values from pattern number N\n    --dest-pattern=N    write updated values to pattern number N\n    --name=PATNAME      set pattern name (\u003c 25 characters)\n    --animation=ANIMATION\n                        set animation style: STATIC, CHASE_FORWARD,\n                        CHASE_BACKWARD, MIDDLE_TO_OUT, OUT_TO_MIDDLE, STROBE,\n                        FADE, COMET_FORWARD, COMET_BACKWARD, WAVE_FORWARD,\n                        WAVE_BACKWARD, SOLID_FADE\n    --speed=SPEED       set animation speed [0-255]\n    --brightness=BRIGHTNESS\n                        set brightness [0-255]\n    --color-one=R G B   set 'R G B' integer values for color index one\n    --color-two=R G B   set 'R G B' integer values for color index two\n    --color-three=R G B\n                        set 'R G B' integer values for color index three\n    --color-four=R G B  set 'R G B' integer values for for color index four\n    --color-five=R G B  set 'R G B' integer values for color index five\n    --color-six=R G B   set 'R G B' integer values for color index six\n    --color-seven=R G B\n                        set 'R G B' integer values for color index seven\n    --count-one=N       set color index one to repeat N times [0-30]\n    --count-two=N       set color index two to repeat N times [0-30]\n    --count-three=N     set color index three to repeat N times [0-30]\n    --count-four=N      set color index four to repeat N times [0-30]\n    --count-five=N      set color index five to repeat N times [0-30]\n    --count-six=N       set color index six to repeat N times [0-30]\n    --count-seven=N     set color index seven to repeat N times [0-30]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecdye%2Ftrimpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecdye%2Ftrimpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecdye%2Ftrimpy/lists"}