brightness


Namebrightness JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://github.com/ekinpy/brightness
SummaryThe effortless solution for managing screen brightness in Python.
upload_time2024-01-07 06:48:00
maintainer
docs_urlNone
authorEkin Aksu
requires_python
licenseMIT License
keywords windows screen brightness
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![Logo](https://raw.githubusercontent.com/ekinpy/brightness/main/brightness.png)

The effortless solution for managing screen brightness in Python.\
Linux support coming soon.

## Installing

```sh
pip install brightness
```

to test:

```sh
python -m brightness
```

## set()
```python
def set(value: int | float) -> None
```
Sets the screen brightness to the entered value.

## get()
```python
def get() -> (int | None)
```
Returns the screen brightness.

## increase()
```python
def increase(value: int) -> None
```
Increases the screen brightness by the entered value.

## decrease()
```python
def decrease(value: int) -> None
```
Decreases the screen brightness by the entered value.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ekinpy/brightness",
    "name": "brightness",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "windows,screen,brightness",
    "author": "Ekin Aksu",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/e3/f3/4cfd1e5b7acfd4f9b7391021aea2e04c2dacc3abceff57f9642ee1beb867/brightness-0.0.1.tar.gz",
    "platform": null,
    "description": "![Logo](https://raw.githubusercontent.com/ekinpy/brightness/main/brightness.png)\r\n\r\nThe effortless solution for managing screen brightness in Python.\\\r\nLinux support coming soon.\r\n\r\n## Installing\r\n\r\n```sh\r\npip install brightness\r\n```\r\n\r\nto test:\r\n\r\n```sh\r\npython -m brightness\r\n```\r\n\r\n## set()\r\n```python\r\ndef set(value: int | float) -> None\r\n```\r\nSets the screen brightness to the entered value.\r\n\r\n## get()\r\n```python\r\ndef get() -> (int | None)\r\n```\r\nReturns the screen brightness.\r\n\r\n## increase()\r\n```python\r\ndef increase(value: int) -> None\r\n```\r\nIncreases the screen brightness by the entered value.\r\n\r\n## decrease()\r\n```python\r\ndef decrease(value: int) -> None\r\n```\r\nDecreases the screen brightness by the entered value.\r\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "The effortless solution for managing screen brightness in Python.",
    "version": "0.0.1",
    "project_urls": {
        "Homepage": "https://github.com/ekinpy/brightness"
    },
    "split_keywords": [
        "windows",
        "screen",
        "brightness"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e3f34cfd1e5b7acfd4f9b7391021aea2e04c2dacc3abceff57f9642ee1beb867",
                "md5": "e1b8021ba75b5a8e05d061a9eb7fc4c4",
                "sha256": "59a0b85a4065158e61d5470821c0cf74f6732b2058fe79610f8d0ad700f3aeba"
            },
            "downloads": -1,
            "filename": "brightness-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "e1b8021ba75b5a8e05d061a9eb7fc4c4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2671,
            "upload_time": "2024-01-07T06:48:00",
            "upload_time_iso_8601": "2024-01-07T06:48:00.096188Z",
            "url": "https://files.pythonhosted.org/packages/e3/f3/4cfd1e5b7acfd4f9b7391021aea2e04c2dacc3abceff57f9642ee1beb867/brightness-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-07 06:48:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ekinpy",
    "github_project": "brightness",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "brightness"
}
        
Elapsed time: 2.19775s