sn3218


Namesn3218 JSON
Version 3.0.0 PyPI version JSON
download
home_page
SummaryLibrary for the SN3218 18-channel constant current LED driver
upload_time2024-02-15 12:38:27
maintainer
docs_urlNone
author
requires_python>=3.7
licenseMIT License Copyright (c) 2018 Pimoroni Ltd. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords pi raspberry
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # SN3218

[![Build Status](https://img.shields.io/github/actions/workflow/status/pimoroni/sn3218-python/test.yml?branch=main)](https://github.com/pimoroni/sn3218-python/actions/workflows/test.yml)
[![Coverage Status](https://coveralls.io/repos/github/pimoroni/sn3218-python/badge.svg?branch=main)](https://coveralls.io/github/pimoroni/sn3218-python?branch=main)
[![PyPi Package](https://img.shields.io/pypi/v/sn3218.svg)](https://pypi.python.org/pypi/sn3218)
[![Python Versions](https://img.shields.io/pypi/pyversions/sn3218.svg)](https://pypi.python.org/pypi/sn3218)

# Pre-requisites

You must enable:

* i2c: `sudo raspi-config nonint do_i2c 0`

You can optionally run `sudo raspi-config` or the graphical Raspberry Pi Configuration UI to enable interfaces.

# Installing

Stable library from PyPi:

* Just run `python3 -m pip install sn3218`

In most cases you'll need to run this in a virtual Python environment.

Latest/development library from GitHub:

* `git clone https://github.com/pimoroni/sn3218-python`
* `cd sn3218-python`
* `./install.sh --unstable`


3.0.0
-----

* BREAKING: Remove RPi.GPIO and bus autodetect
* BREAKING: Switch to smbus2

2.0.0
-----

* BREAKING: Port to class.
* Legacy support for module methods, auto-instantiates a class

1.2.7
-----

* Bugfix: Fix for Python 3.5

1.2.6
-----

* Initial commit to Raspbian apt repository

1.2.5
-----

* Initial commit to Raspbian apt repository

1.2.4
-----

* Added alternate warning/instructions for missing python3-smbus
* Code quality improvements

1.2.3
-----

* Print fix

1.2.2
-----

* Added i2c_bus_id detection for older Pi

1.2.1
-----

* Removed hard dependency upon SMbus, added message at runtime

1.0.0
-----

* Initial release


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "sn3218",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "Philip Howard <phil@pimoroni.com>",
    "keywords": "Pi,Raspberry",
    "author": "",
    "author_email": "Philip Howard <phil@pimoroni.com>",
    "download_url": "https://files.pythonhosted.org/packages/8c/52/a1193f17528aad6a1183f73adf5753294e5aa2be57aa3d69eb2706b0dbcc/sn3218-3.0.0.tar.gz",
    "platform": null,
    "description": "# SN3218\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/pimoroni/sn3218-python/test.yml?branch=main)](https://github.com/pimoroni/sn3218-python/actions/workflows/test.yml)\n[![Coverage Status](https://coveralls.io/repos/github/pimoroni/sn3218-python/badge.svg?branch=main)](https://coveralls.io/github/pimoroni/sn3218-python?branch=main)\n[![PyPi Package](https://img.shields.io/pypi/v/sn3218.svg)](https://pypi.python.org/pypi/sn3218)\n[![Python Versions](https://img.shields.io/pypi/pyversions/sn3218.svg)](https://pypi.python.org/pypi/sn3218)\n\n# Pre-requisites\n\nYou must enable:\n\n* i2c: `sudo raspi-config nonint do_i2c 0`\n\nYou can optionally run `sudo raspi-config` or the graphical Raspberry Pi Configuration UI to enable interfaces.\n\n# Installing\n\nStable library from PyPi:\n\n* Just run `python3 -m pip install sn3218`\n\nIn most cases you'll need to run this in a virtual Python environment.\n\nLatest/development library from GitHub:\n\n* `git clone https://github.com/pimoroni/sn3218-python`\n* `cd sn3218-python`\n* `./install.sh --unstable`\n\n\n3.0.0\n-----\n\n* BREAKING: Remove RPi.GPIO and bus autodetect\n* BREAKING: Switch to smbus2\n\n2.0.0\n-----\n\n* BREAKING: Port to class.\n* Legacy support for module methods, auto-instantiates a class\n\n1.2.7\n-----\n\n* Bugfix: Fix for Python 3.5\n\n1.2.6\n-----\n\n* Initial commit to Raspbian apt repository\n\n1.2.5\n-----\n\n* Initial commit to Raspbian apt repository\n\n1.2.4\n-----\n\n* Added alternate warning/instructions for missing python3-smbus\n* Code quality improvements\n\n1.2.3\n-----\n\n* Print fix\n\n1.2.2\n-----\n\n* Added i2c_bus_id detection for older Pi\n\n1.2.1\n-----\n\n* Removed hard dependency upon SMbus, added message at runtime\n\n1.0.0\n-----\n\n* Initial release\n\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2018 Pimoroni Ltd.  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "Library for the SN3218 18-channel constant current LED driver",
    "version": "3.0.0",
    "project_urls": {
        "GitHub": "https://www.github.com/pimoroni/sn3218-python",
        "Homepage": "https://www.pimoroni.com"
    },
    "split_keywords": [
        "pi",
        "raspberry"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1e4aef93284eb47608162abfe682e254f1d50c940bfcb9929d56fb1b0bcd26c4",
                "md5": "01b17680f3bde8b8e880f9b9a011883f",
                "sha256": "5b5f0ee1c24bf22a3fe3d09de5b9b0620732b6e68f7acf30a7bd1381e45b28d2"
            },
            "downloads": -1,
            "filename": "sn3218-3.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "01b17680f3bde8b8e880f9b9a011883f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 6553,
            "upload_time": "2024-02-15T12:38:25",
            "upload_time_iso_8601": "2024-02-15T12:38:25.909394Z",
            "url": "https://files.pythonhosted.org/packages/1e/4a/ef93284eb47608162abfe682e254f1d50c940bfcb9929d56fb1b0bcd26c4/sn3218-3.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8c52a1193f17528aad6a1183f73adf5753294e5aa2be57aa3d69eb2706b0dbcc",
                "md5": "3983d8f5e765e8e9d29c3f57440cde63",
                "sha256": "1796e534efc395657600f42f4222d14d7f13b98be19ee506316e49ef664e2946"
            },
            "downloads": -1,
            "filename": "sn3218-3.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3983d8f5e765e8e9d29c3f57440cde63",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 10284,
            "upload_time": "2024-02-15T12:38:27",
            "upload_time_iso_8601": "2024-02-15T12:38:27.523460Z",
            "url": "https://files.pythonhosted.org/packages/8c/52/a1193f17528aad6a1183f73adf5753294e5aa2be57aa3d69eb2706b0dbcc/sn3218-3.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-15 12:38:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pimoroni",
    "github_project": "sn3218-python",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "sn3218"
}
        
Elapsed time: 0.18982s