python-fluepdot


Namepython-fluepdot JSON
Version 0.0.3 PyPI version JSON
download
home_page
SummaryA small collection of functions for interacting with a fluepdot module.
upload_time2023-12-06 03:38:48
maintainer
docs_urlNone
author
requires_python>=3.7
license
keywords
VCS
bugtrack_url
requirements requests
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # python-fluepdot

This is a small collection of functions for interacting with a
[fluepdot](https://fluepdot.readthedocs.io/en/latest/) module.

import Fluepdot class and create an instance with link as the first arg

```python
from fluepdot import Fluepdot

fd = Fluepdot("http://module.local")
```

## Functions


function | args | default values | return type | description
---|---|---|---|---
_init_ | baseURL: str, width: int, height: int | x=115, y=16 | fluepdot.Fluepdot | Constructor for Fluepdot class
post_time ||| None | indefinitly sets the module to display the current time.
get_size ||| (int, int) | returns the size of the connected display
get_frame ||| str | returns the current frame stored by the module
get_pixel | x: int, y: int | x=0, y=0 | returns the state of a single pixel
get_fonts ||| None | prints a list of fonts installed on the module
get_mode ||| fluepdot.Mode | returns the mode the module is in
post_text | text: str, x: int, y: int, font: str | x=0, y=0, font="DejaVuSans12" | requests.Response | posts a text to the module and returns the requests response
post_frame | frame: List[List[bool]] || requests.Response | posts a frame to the module and returns the requests response
set_pixel | x: int, y: int | x=0, y=0 | requests.Response | sets a pixel on the display to active and returns the requests response
unset_pixel | x: int, y: int | x=0, y=0 | sets a pixel on thes display to inactive and returns the requests response
set_mode | mode: fluepdot.Mode | mode=Mode.FULL | requests.Response | sets the module to FULL or DIFFERENTIAL update mode and returns the requests response

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "python-fluepdot",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "",
    "author_email": "KS-HTK <ks-htk@flipdot.org>",
    "download_url": "https://files.pythonhosted.org/packages/e3/07/c060f283725f6140b9516da6e611b8e77a912cf2c1841f0d58cc5d8d3a5a/python-fluepdot-0.0.3.tar.gz",
    "platform": null,
    "description": "# python-fluepdot\r\n\r\nThis is a small collection of functions for interacting with a\r\n[fluepdot](https://fluepdot.readthedocs.io/en/latest/) module.\r\n\r\nimport Fluepdot class and create an instance with link as the first arg\r\n\r\n```python\r\nfrom fluepdot import Fluepdot\r\n\r\nfd = Fluepdot(\"http://module.local\")\r\n```\r\n\r\n## Functions\r\n\r\n\r\nfunction | args | default values | return type | description\r\n---|---|---|---|---\r\n_init_ | baseURL: str, width: int, height: int | x=115, y=16 | fluepdot.Fluepdot | Constructor for Fluepdot class\r\npost_time ||| None | indefinitly sets the module to display the current time.\r\nget_size ||| (int, int) | returns the size of the connected display\r\nget_frame ||| str | returns the current frame stored by the module\r\nget_pixel | x: int, y: int | x=0, y=0 | returns the state of a single pixel\r\nget_fonts ||| None | prints a list of fonts installed on the module\r\nget_mode ||| fluepdot.Mode | returns the mode the module is in\r\npost_text | text: str, x: int, y: int, font: str | x=0, y=0, font=\"DejaVuSans12\" | requests.Response | posts a text to the module and returns the requests response\r\npost_frame | frame: List[List[bool]] || requests.Response | posts a frame to the module and returns the requests response\r\nset_pixel | x: int, y: int | x=0, y=0 | requests.Response | sets a pixel on the display to active and returns the requests response\r\nunset_pixel | x: int, y: int | x=0, y=0 | sets a pixel on thes display to inactive and returns the requests response\r\nset_mode | mode: fluepdot.Mode | mode=Mode.FULL | requests.Response | sets the module to FULL or DIFFERENTIAL update mode and returns the requests response\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A small collection of functions for interacting with a fluepdot module.",
    "version": "0.0.3",
    "project_urls": {
        "Bug-Tracker": "https://github.com/KS-HTK/python-fluepdot/issues",
        "Homepage": "https://github.com/KS-HTK/python-fluepdot"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "19833d1c2aed14dfb65eb87ddf04054099d8b1f446c58573d088ca43a5c7fa4a",
                "md5": "7e0fc6e0c31973c0dff058a5c8c139be",
                "sha256": "705bb4424bc4dcc248c2e6c979a0c899df9b7cbb3398a2b6887e71acd8417f28"
            },
            "downloads": -1,
            "filename": "python_fluepdot-0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7e0fc6e0c31973c0dff058a5c8c139be",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 6141,
            "upload_time": "2023-12-06T03:38:47",
            "upload_time_iso_8601": "2023-12-06T03:38:47.433954Z",
            "url": "https://files.pythonhosted.org/packages/19/83/3d1c2aed14dfb65eb87ddf04054099d8b1f446c58573d088ca43a5c7fa4a/python_fluepdot-0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e307c060f283725f6140b9516da6e611b8e77a912cf2c1841f0d58cc5d8d3a5a",
                "md5": "6caf868efe748b2a822b8542df5d57a1",
                "sha256": "aca23ffd351498ddfcb65ad22e644cbfd8d73044dab37aa53778bd7412964e03"
            },
            "downloads": -1,
            "filename": "python-fluepdot-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "6caf868efe748b2a822b8542df5d57a1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 5514,
            "upload_time": "2023-12-06T03:38:48",
            "upload_time_iso_8601": "2023-12-06T03:38:48.561068Z",
            "url": "https://files.pythonhosted.org/packages/e3/07/c060f283725f6140b9516da6e611b8e77a912cf2c1841f0d58cc5d8d3a5a/python-fluepdot-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-06 03:38:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "KS-HTK",
    "github_project": "python-fluepdot",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "requests",
            "specs": []
        }
    ],
    "lcname": "python-fluepdot"
}
        
Elapsed time: 0.29318s