{"id":24358424,"url":"https://github.com/crozzers/screen_brightness_control","last_synced_at":"2026-02-12T01:59:40.672Z","repository":{"id":39668344,"uuid":"282699270","full_name":"Crozzers/screen_brightness_control","owner":"Crozzers","description":"A Python tool for controlling the brightness of your monitor","archived":false,"fork":false,"pushed_at":"2025-01-19T17:13:14.000Z","size":4276,"stargazers_count":51,"open_issues_count":3,"forks_count":10,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T01:09:52.569Z","etag":null,"topics":["brightness","linux","screen-brightness","windows"],"latest_commit_sha":null,"homepage":"https://crozzers.github.io/screen_brightness_control","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Crozzers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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}},"created_at":"2020-07-26T17:26:52.000Z","updated_at":"2025-01-19T17:10:11.000Z","dependencies_parsed_at":"2023-10-16T12:09:18.069Z","dependency_job_id":"1b2908ed-c929-4e60-836f-9c0cef095541","html_url":"https://github.com/Crozzers/screen_brightness_control","commit_stats":{"total_commits":560,"total_committers":10,"mean_commits":56.0,"dds":"0.44107142857142856","last_synced_commit":"70307efed26da8c6d23d250d32e14c2579701d08"},"previous_names":[],"tags_count":64,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crozzers%2Fscreen_brightness_control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crozzers%2Fscreen_brightness_control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crozzers%2Fscreen_brightness_control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crozzers%2Fscreen_brightness_control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Crozzers","download_url":"https://codeload.github.com/Crozzers/screen_brightness_control/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276164,"owners_count":20912288,"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":["brightness","linux","screen-brightness","windows"],"created_at":"2025-01-18T20:10:58.689Z","updated_at":"2026-02-12T01:59:40.605Z","avatar_url":"https://github.com/Crozzers.png","language":"Python","readme":"# screen_brightness_control\nA Python tool for controlling the brightness of your monitor. Supports Windows and most flavours of Linux.\n\n# Installation\n#### Pip:\n`pip install screen-brightness-control`\n\n#### GitHub:\n```\ngit clone https://github.com/Crozzers/screen_brightness_control\ncd screen_brightness_control\npip install .\n```\n\n#### Linux:\nInstalling on Linux usually requires some extra work after installing the module.\nPlease see the [installing on Linux](https://crozzers.github.io/screen_brightness_control/extras/Installing%20On%20Linux.html) documentation for more details.\n\n\n# Usage\n\n### API\n\n```python\nimport screen_brightness_control as sbc\n\n# get the brightness\nbrightness = sbc.get_brightness()\n# get the brightness for the primary monitor\nprimary = sbc.get_brightness(display=0)\n\n# set the brightness to 100%\nsbc.set_brightness(100)\n# set the brightness to 100% for the primary monitor\nsbc.get_brightness(100, display=0)\n\n# show the current brightness for each detected monitor\nfor monitor in sbc.list_monitors():\n    print(monitor, ':', sbc.get_brightness(display=monitor), '%')\n```\n\nCheck out the [quick start guide](https://crozzers.github.io/screen_brightness_control/extras/Quick%20Start%20Guide.html) for more details on each of these functions.\n\nFull documentation for the project is also available [here](https://crozzers.github.io/screen_brightness_control).\n\n### Command Line\n\n```\npython -m screen_brightness_control --help\n\u003e usage: screen_brightness_control [-h] [-d DISPLAY] [-s VALUE] [-g] [-f VALUE] [-v]\n\u003e\n\u003e optional arguments:\n\u003e   -h, --help                         show this help message and exit\n\u003e   -d DISPLAY, --display DISPLAY      the display to be used\n\u003e   -s VALUE, --set VALUE              set the brightness to this value\n\u003e   -g, --get                          get the current screen brightness\n\u003e   -f VALUE, --fade VALUE             fade the brightness to this value\n\u003e   -m METHOD, --method METHOD         specify which method to use\n\u003e   -l, --list                         list all monitors\n\u003e   -v, --verbose                      some messages will be more detailed\n\u003e   -V, --version                      print the current version\n```\n### Contributing\nContributions are welcome. Issues, ideas and pull requests are all appreciated. For more information [see here](https://github.com/Crozzers/screen_brightness_control/blob/main/CONTRIBUTING.md)\n\n# See Also\n* [API Documentation](https://crozzers.github.io/screen_brightness_control)\n    * [FAQ](https://crozzers.github.io/screen_brightness_control/extras/FAQ.html)\n    * [Quick Start Guide](https://crozzers.github.io/screen_brightness_control/extras/Quick%20Start%20Guide.html)\n* [GitHub page](https://github.com/Crozzers/screen_brightness_control)\n* [PyPI page](https://pypi.org/project/screen-brightness-control/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrozzers%2Fscreen_brightness_control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrozzers%2Fscreen_brightness_control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrozzers%2Fscreen_brightness_control/lists"}