bme680


Namebme680 JSON
Version 2.0.0 PyPI version JSON
download
home_pageNone
SummaryPython library for the BME680 temperature, humidity and gas sensor
upload_time2024-05-10 10:51:39
maintainerNone
docs_urlNone
authorNone
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
            # BME680

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

https://shop.pimoroni.com/products/bme680

The state-of-the-art BME680 breakout lets you measure temperature, pressure, humidity, and indoor air quality.

## Installing

### Full install (recommended):

We've created an easy installation script that will install all pre-requisites and get your BME680
up and running with minimal efforts. To run it, fire up Terminal which you'll find in Menu -> Accessories -> Terminal
on your Raspberry Pi desktop, as illustrated below:

![Finding the terminal](http://get.pimoroni.com/resources/github-repo-terminal.png)

In the new terminal window type the command exactly as it appears below (check for typos) and follow the on-screen instructions:

```bash
git clone https://github.com/pimoroni/bme680-python
cd bme680-python
./install.sh
```

**Note** Libraries will be installed in the "pimoroni" virtual environment, you will need to activate it to run examples:

```
source ~/.virtualenvs/pimoroni/bin/activate
```

### Development:

If you want to contribute, or like living on the edge of your seat by having the latest code, you can install the development version like so:

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

In all cases you will have to enable the i2c bus:

```
sudo raspi-config nonint do_i2c 0
```

## Documentation & Support

* Guides and tutorials - https://learn.pimoroni.com/bme680-breakout
* Get help - http://forums.pimoroni.com/c/support


2.0.0
-----

* Repackage to hatch/pyproject.toml
* Drop Python 2.7 support
* Switch from smbu2 to smbus2

1.1.1
-----

* New: constants to clarify heater on/off states

1.1.0
-----

* New: support for BME688 "high" gas resistance variant
* New: set/get gas heater disable bit
* Enhancement: fail with descriptive RuntimeError when chip is not detected

1.0.5
-----

* New: set_temp_offset to calibrate temperature offset in degrees C

1.0.4
-----

* Fix to range_sw_err for extremely high gas readings
* Convert to unsigned int to fix negative gas readings

1.0.3
-----

* Merged temperature compensation fix from Bosch's BME680_driver 3.5.3

1.0.2
-----

* Fixed set_gas_heater_temperature to avoid i2c TypeError

1.0.1
-----

* Added Manifest to Python package

1.0.0
-----

* Initial release


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "bme680",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "Philip Howard <phil@pimoroni.com>",
    "keywords": "Pi, Raspberry",
    "author": null,
    "author_email": "Philip Howard <phil@pimoroni.com>",
    "download_url": "https://files.pythonhosted.org/packages/4b/92/8ac453cac43f019387259a01e0f4e13c5917cc0925f077a32e308522a9ca/bme680-2.0.0.tar.gz",
    "platform": null,
    "description": "# BME680\n\n[![Build Status](https://img.shields.io/github/actions/workflow/status/pimoroni/bme680-python/test.yml?branch=main)](https://github.com/pimoroni/bme680-python/actions/workflows/test.yml)\n[![Coverage Status](https://coveralls.io/repos/github/pimoroni/bme680-python/badge.svg?branch=main)](https://coveralls.io/github/pimoroni/bme680-python?branch=main)\n[![PyPi Package](https://img.shields.io/pypi/v/bme680.svg)](https://pypi.python.org/pypi/bme680)\n[![Python Versions](https://img.shields.io/pypi/pyversions/bme680.svg)](https://pypi.python.org/pypi/bme680)\n\nhttps://shop.pimoroni.com/products/bme680\n\nThe state-of-the-art BME680 breakout lets you measure temperature, pressure, humidity, and indoor air quality.\n\n## Installing\n\n### Full install (recommended):\n\nWe've created an easy installation script that will install all pre-requisites and get your BME680\nup and running with minimal efforts. To run it, fire up Terminal which you'll find in Menu -> Accessories -> Terminal\non your Raspberry Pi desktop, as illustrated below:\n\n![Finding the terminal](http://get.pimoroni.com/resources/github-repo-terminal.png)\n\nIn the new terminal window type the command exactly as it appears below (check for typos) and follow the on-screen instructions:\n\n```bash\ngit clone https://github.com/pimoroni/bme680-python\ncd bme680-python\n./install.sh\n```\n\n**Note** Libraries will be installed in the \"pimoroni\" virtual environment, you will need to activate it to run examples:\n\n```\nsource ~/.virtualenvs/pimoroni/bin/activate\n```\n\n### Development:\n\nIf you want to contribute, or like living on the edge of your seat by having the latest code, you can install the development version like so:\n\n```bash\ngit clone https://github.com/pimoroni/bme680-python\ncd bme680-python\n./install.sh --unstable\n```\n\nIn all cases you will have to enable the i2c bus:\n\n```\nsudo raspi-config nonint do_i2c 0\n```\n\n## Documentation & Support\n\n* Guides and tutorials - https://learn.pimoroni.com/bme680-breakout\n* Get help - http://forums.pimoroni.com/c/support\n\n\n2.0.0\n-----\n\n* Repackage to hatch/pyproject.toml\n* Drop Python 2.7 support\n* Switch from smbu2 to smbus2\n\n1.1.1\n-----\n\n* New: constants to clarify heater on/off states\n\n1.1.0\n-----\n\n* New: support for BME688 \"high\" gas resistance variant\n* New: set/get gas heater disable bit\n* Enhancement: fail with descriptive RuntimeError when chip is not detected\n\n1.0.5\n-----\n\n* New: set_temp_offset to calibrate temperature offset in degrees C\n\n1.0.4\n-----\n\n* Fix to range_sw_err for extremely high gas readings\n* Convert to unsigned int to fix negative gas readings\n\n1.0.3\n-----\n\n* Merged temperature compensation fix from Bosch's BME680_driver 3.5.3\n\n1.0.2\n-----\n\n* Fixed set_gas_heater_temperature to avoid i2c TypeError\n\n1.0.1\n-----\n\n* Added Manifest to Python package\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": "Python library for the BME680 temperature, humidity and gas sensor",
    "version": "2.0.0",
    "project_urls": {
        "GitHub": "https://www.github.com/pimoroni/bme680-python",
        "Homepage": "https://www.pimoroni.com"
    },
    "split_keywords": [
        "pi",
        " raspberry"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3a198c926497c8be9fc65bbd09d3ab44cb5f78219defc5dbb57d606dd5e39444",
                "md5": "2403f50fb5237c683ba8ac35f4ae550c",
                "sha256": "1802bd5ba98354ebb9318185051c913e1a3c2f06771e8f91eb40e5838795e66e"
            },
            "downloads": -1,
            "filename": "bme680-2.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2403f50fb5237c683ba8ac35f4ae550c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 14360,
            "upload_time": "2024-05-10T10:51:37",
            "upload_time_iso_8601": "2024-05-10T10:51:37.678951Z",
            "url": "https://files.pythonhosted.org/packages/3a/19/8c926497c8be9fc65bbd09d3ab44cb5f78219defc5dbb57d606dd5e39444/bme680-2.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4b928ac453cac43f019387259a01e0f4e13c5917cc0925f077a32e308522a9ca",
                "md5": "41db7501e06a4c67917af11d17ef71ae",
                "sha256": "7395afd9bc95fc3d643cc873ad2f5c27d3c2d18ccf4771505124e0e2042c0d74"
            },
            "downloads": -1,
            "filename": "bme680-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "41db7501e06a4c67917af11d17ef71ae",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 80399,
            "upload_time": "2024-05-10T10:51:39",
            "upload_time_iso_8601": "2024-05-10T10:51:39.584688Z",
            "url": "https://files.pythonhosted.org/packages/4b/92/8ac453cac43f019387259a01e0f4e13c5917cc0925f077a32e308522a9ca/bme680-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-10 10:51:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pimoroni",
    "github_project": "bme680-python",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "bme680"
}
        
Elapsed time: 1.24536s