{"library":"smbus2","type":"library","category":null,"description":"smbus2 is a pure Python implementation of the `python-smbus` package, designed as a drop-in replacement for `smbus-cffi` or `smbus-python`. It provides an interface for I2C and SMBus communication on Linux-based systems, offering enhanced features like SMBus Packet Error Checking (PEC), support for context managers for robust resource handling, and improved error management. Actively maintained, the library is currently at version 0.6.1, with a regular release cadence addressing bug fixes and minor improvements, making it a recommended choice for embedded I2C communication, particularly on platforms like Raspberry Pi.","language":"python","status":"active","version":"0.6.1","tags":["i2c","smbus","raspberry-pi","embedded-systems","hardware-interface","linux"],"install":[{"cmd":"pip install smbus2","imports":["from smbus2 import SMBus","from smbus2 import SMBus","from smbus2 import i2c_msg"]}],"homepage":null,"github":"https://github.com/kplindegaard/smbus2","docs":null,"changelog":null,"pypi":"https://pypi.org/project/smbus2/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":0.01,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/smbus2/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}