{"id":15728578,"url":"https://github.com/rytilahti/python-nucled","last_synced_at":"2025-10-03T13:21:06.472Z","repository":{"id":79764543,"uuid":"151322405","full_name":"rytilahti/python-nucled","owner":"rytilahti","description":"Python interface for intel_nuc_led kernel driver","archived":false,"fork":false,"pushed_at":"2018-10-02T20:57:18.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T03:25:15.675Z","etag":null,"topics":["intel-nuc","led","led-controller","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rytilahti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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},"funding":{"github":"rytilahti"}},"created_at":"2018-10-02T20:56:59.000Z","updated_at":"2024-04-14T21:09:19.000Z","dependencies_parsed_at":"2023-06-02T05:00:23.250Z","dependency_job_id":null,"html_url":"https://github.com/rytilahti/python-nucled","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"6473fa0d466c82ab0d8843b37995c8de11a2f244"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rytilahti%2Fpython-nucled","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rytilahti%2Fpython-nucled/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rytilahti%2Fpython-nucled/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rytilahti%2Fpython-nucled/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rytilahti","download_url":"https://codeload.github.com/rytilahti/python-nucled/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246403916,"owners_count":20771530,"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","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":["intel-nuc","led","led-controller","python"],"created_at":"2024-10-03T23:03:57.239Z","updated_at":"2025-10-03T13:21:01.436Z","avatar_url":"https://github.com/rytilahti.png","language":"Python","readme":"# Python interface for intel_nuc_led kernel driver\n\nSome newer Intel NUCs support software controlled ring and power LEDs,\nwhich are supported under Linux with a kernel module found in https://github.com/milesp20/intel_nuc_led .\n\nThis repository provides a simple python interface and a command-line tool using it.\n\n# Preparation\n\nSee https://github.com/milesp20/intel_nuc_led for supported devices and instructions how to set-up the kernel driver.\n\n# Command-line interface\n\n```\n$ nucled\n\n== Ring LED ==\nBrightness: 50\nColor: Color.Red\nEffect: Effect.Solid\n```\n\n```\nUsage: nucled [OPTIONS] COMMAND [ARGS]...\n\n  Control LEDs of Intel NUC computers.\n\nOptions:\n  --ring   Control ring led\n  --power  Control power led\n  --help   Show this message and exit.\n\nCommands:\n  brightness  Get or set brightness [0,100].\n  color       Get or set color.\n  effect      Get or set effect.\n  notify      Change the LED settings for a duration.\n  raw         Write raw string, useful for testing.\n  status      Print current values for the led.\n```\n\n# Library interface\n\nUse either `Ring` or `Power` class for initialization.\nAll changes are done with property setters, and are first applied when calling `set_state()`.\nAlternatively you can let context manager to handle this for you, e.g.,\n```\nfrom nucled import Ring, Color, Effect\n\nwith Ring() as ring:\n    print(\"Current state: %s\" % ring)\n    ring.color = Color.Green\n    ring.effect = Effect.FadeMedium\n```\n","funding_links":["https://github.com/sponsors/rytilahti"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frytilahti%2Fpython-nucled","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frytilahti%2Fpython-nucled","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frytilahti%2Fpython-nucled/lists"}