scd4x


Namescd4x JSON
Version 0.0.2 PyPI version JSON
download
home_page
SummaryDriver for the SCD4X CO2 sensor
upload_time2023-09-08 13:10:43
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
            # SCD4X C02 Sensor

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

# 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 `pip3 install scd4x`

In some cases you may need to use `sudo` or install pip with: `sudo apt install python3-pip`

Latest/development library from GitHub:

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


0.0.2
-----

* Fix byte packing when sending data (unsigned char instead of signed char).
* Fix condition in set_temperature_offset.
* Fix reading data in get_temperature_offset.
* Add get/set_automatic_self_calibration_enabled.
* Add persist_settings.
* Repackage to latest boilerplate.

0.0.1
-----

* Initial Release

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "scd4x",
    "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/ef/37/9f586d32b59e103bb0f12530c08b2e6d36d75fa18a5345fb326f4ffbe191/scd4x-0.0.2.tar.gz",
    "platform": null,
    "description": "# SCD4X C02 Sensor\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/pimoroni/scd4x-python/test.yml?branch=main)](https://github.com/pimoroni/scd4x-python/actions/workflows/test.yml)\n[![Coverage Status](https://coveralls.io/repos/github/pimoroni/scd4x-python/badge.svg?branch=master)](https://coveralls.io/github/pimoroni/scd4x-python?branch=master)\n[![PyPi Package](https://img.shields.io/pypi/v/scd4x.svg)](https://pypi.python.org/pypi/scd4x)\n[![Python Versions](https://img.shields.io/pypi/pyversions/scd4x.svg)](https://pypi.python.org/pypi/scd4x)\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 `pip3 install scd4x`\n\nIn some cases you may need to use `sudo` or install pip with: `sudo apt install python3-pip`\n\nLatest/development library from GitHub:\n\n* `git clone https://github.com/pimoroni/scd4x-python`\n* `cd scd4x-python`\n* `sudo ./install.sh`\n\n\n0.0.2\n-----\n\n* Fix byte packing when sending data (unsigned char instead of signed char).\n* Fix condition in set_temperature_offset.\n* Fix reading data in get_temperature_offset.\n* Add get/set_automatic_self_calibration_enabled.\n* Add persist_settings.\n* Repackage to latest boilerplate.\n\n0.0.1\n-----\n\n* Initial Release\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": "Driver for the SCD4X CO2 sensor",
    "version": "0.0.2",
    "project_urls": {
        "GitHub": "https://www.github.com/pimoroni/scd4x-python",
        "Homepage": "https://www.pimoroni.com"
    },
    "split_keywords": [
        "pi",
        "raspberry"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e3265f326365500c9619d8f759b7ea7949647332fa9ff1db6d548876a7fe999a",
                "md5": "5277ff5cf50b54b37fa0ae0c19185c0d",
                "sha256": "bc26a3b94f4f2f05a3d0b94e64d44ef4bbc6bdeb185ff021f32f7709ae5a3e7b"
            },
            "downloads": -1,
            "filename": "scd4x-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5277ff5cf50b54b37fa0ae0c19185c0d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 6699,
            "upload_time": "2023-09-08T13:10:41",
            "upload_time_iso_8601": "2023-09-08T13:10:41.678624Z",
            "url": "https://files.pythonhosted.org/packages/e3/26/5f326365500c9619d8f759b7ea7949647332fa9ff1db6d548876a7fe999a/scd4x-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ef379f586d32b59e103bb0f12530c08b2e6d36d75fa18a5345fb326f4ffbe191",
                "md5": "c3192c106aec0a9023af3724fb1556a9",
                "sha256": "2d268059c4d240f980ebbb286077fa5dffa1555363b9918a0d7d57531efa9182"
            },
            "downloads": -1,
            "filename": "scd4x-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "c3192c106aec0a9023af3724fb1556a9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 11030,
            "upload_time": "2023-09-08T13:10:43",
            "upload_time_iso_8601": "2023-09-08T13:10:43.381112Z",
            "url": "https://files.pythonhosted.org/packages/ef/37/9f586d32b59e103bb0f12530c08b2e6d36d75fa18a5345fb326f4ffbe191/scd4x-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-08 13:10:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pimoroni",
    "github_project": "scd4x-python",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "scd4x"
}
        
Elapsed time: 0.16113s