{"id":19738383,"url":"https://github.com/sensirion/python-i2c-sht","last_synced_at":"2026-02-17T16:35:31.215Z","repository":{"id":272459336,"uuid":"292045307","full_name":"Sensirion/python-i2c-sht","owner":"Sensirion","description":"Python driver for Sensirion temperature and humidity sensors with I²C interface","archived":false,"fork":false,"pushed_at":"2025-01-31T08:29:40.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T00:48:26.338Z","etag":null,"topics":["humidity","humidity-sensors","python","python-driver","sensirion","sensirion-temperature","sensor-bridge","sht21","sht2x","shtc3","sts40","sts4x","temperature","temperature-sensor"],"latest_commit_sha":null,"homepage":"https://sensirion.github.io/python-i2c-sht/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sensirion.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-01T16:07:42.000Z","updated_at":"2025-01-31T08:29:43.000Z","dependencies_parsed_at":"2025-01-14T16:03:13.722Z","dependency_job_id":"83673724-bdea-4178-b164-8259d327024e","html_url":"https://github.com/Sensirion/python-i2c-sht","commit_stats":{"total_commits":22,"total_committers":5,"mean_commits":4.4,"dds":0.4545454545454546,"last_synced_commit":"e42856a23075da9f2833e9e59e11bd5533f5c476"},"previous_names":["sensirion/python-i2c-sht"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sensirion%2Fpython-i2c-sht","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sensirion%2Fpython-i2c-sht/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sensirion%2Fpython-i2c-sht/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sensirion%2Fpython-i2c-sht/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sensirion","download_url":"https://codeload.github.com/Sensirion/python-i2c-sht/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241907395,"owners_count":20040450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["humidity","humidity-sensors","python","python-driver","sensirion","sensirion-temperature","sensor-bridge","sht21","sht2x","shtc3","sts40","sts4x","temperature","temperature-sensor"],"created_at":"2024-11-12T01:14:03.139Z","updated_at":"2026-02-17T16:35:26.151Z","avatar_url":"https://github.com/Sensirion.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Driver for Sensirion I²C Temperature and Humidity Sensors\n\nThis repository contains the Python driver to communicate with Sensirion\ntemperature and humidity sensors using the I²C interface. For details, please\nread the package description in [README.rst](README.rst).\n\nNote that we recommend to use the new product specific drivers for\n[SHT3x](https://github.com/Sensirion/python-i2c-sht3x) and\n[SHT4x](https://github.com/Sensirion/python-i2c-sht4x).\n\n## Usage\n\nSee package description in [README.rst](README.rst) and user manual at\nhttps://sensirion.github.io/python-i2c-sht/.\n\n## Development\n\nWe develop and test this driver using our company internal tools (version\ncontrol, continuous integration, code review etc.) and automatically\nsynchronize the `master` branch with GitHub. But this doesn't mean that we\ndon't respond to issues or don't accept pull requests on GitHub. In fact,\nyou're very welcome to open issues or create pull requests :)\n\n### Check coding style\n\nThe coding style can be checked with [`flake8`](http://flake8.pycqa.org/):\n\n```bash\npip install -e .[test]  # Install requirements\nflake8                  # Run style check\n```\n\nIn addition, we check the formatting of files with\n[`editorconfig-checker`](https://editorconfig-checker.github.io/):\n\n```bash\npip install editorconfig-checker==2.0.3   # Install requirements\neditorconfig-checker                      # Run check\n```\n\n### Run tests\n\nUnit tests can be run with [`pytest`](https://pytest.org/):\n\n```bash\npip install -e .[test]                             # Install requirements\npytest -m \"not needs_device\"                       # Run tests without hardware\npytest                                             # Run all tests\npytest -m \"not (needs_device and not needs_sht3x)\" # Run all tests for sht3x\n```\n\nThe tests with the marker `needs_sht3x` have following requirements:\n\n- An SHT3x device must be connected to a\n  [SensorBridge](https://www.sensirion.com/sensorbridge/) on port 1.\n  - **WARNING: Some tests modify non-volatile configurations of the device,\n    restore factory defaults etc.! Do not run the tests on a device which you\n    don't want to get modified!**\n- Pass the serial port where the SensorBridge is connected with\n  `--serial-port`, e.g. `pytest --serial-port=COM7`\n- The SensorBridge must have default settings (baudrate 460800, address 0)\n\n\n### Build documentation\n\nThe documentation can be built with [Sphinx](http://www.sphinx-doc.org/):\n\n```bash\npython setup.py install                        # Install package\npip install -r docs/requirements.txt           # Install requirements\nsphinx-versioning build docs docs/_build/html  # Build documentation\n```\n\n## License\n\nSee [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensirion%2Fpython-i2c-sht","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsensirion%2Fpython-i2c-sht","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsensirion%2Fpython-i2c-sht/lists"}