Adapter classes to use sensirion_i2c_driver package
Project description
Sensirion Drvier Adapters
This repository contains adapter classes that can be used to separate the logic of packaging user data into a byte stream and using that byte stream in different channels. The classes can be used as adapters to the sensirion_i2c_driver.I2cConnection and sensirion_shdlc_driver.ShdlcSerialPort.
The python package sensirion-driver-adapters replaces the package sensirion-i2c-adapter. The latter is deprecated and will no longer be maintained. All functionality of sensirion-i2c-adapter is contained within the package sensirion-driver-adapters.
Usage
See package description in README.rst and user manual at https://sensirion.github.io/python-driver-adapters/.
Development
We develop and test this driver using our company internal tools (version
control, continuous integration, code review etc.) and automatically
synchronize the master branch with GitHub. But this doesn't mean that we
don't respond to issues or don't accept pull requests on GitHub. In fact,
you're very welcome to open issues or create pull requests :)
Check coding style
The coding style can be checked with flake8:
pip install -e .[test] # Install requirements
flake8 # Run style check
Run tests
Unit tests can be run with pytest:
pip install -e .[test] # Install requirements
pytest # Run tests
Build documentation
The documentation can be built with Sphinx:
python setup.py install # Install package
pip install -r docs/requirements.txt # Install requirements
sphinx-versioning build docs docs/_build/html # Build documentation
License
See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sensirion_driver_adapters-2.4.0.tar.gz.
File metadata
- Download URL: sensirion_driver_adapters-2.4.0.tar.gz
- Upload date:
- Size: 101.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b145145fa240654f9616c278fe61d131c6cbe680d4c25eaa4bdc355e09c725e
|
|
| MD5 |
b7f3ddbbdce0fd1227cea4813818467b
|
|
| BLAKE2b-256 |
54769d0c2e234f477b5f46418f82be6bbc1596125629b357c57490ecf15e929e
|
File details
Details for the file sensirion_driver_adapters-2.4.0-py3-none-any.whl.
File metadata
- Download URL: sensirion_driver_adapters-2.4.0-py3-none-any.whl
- Upload date:
- Size: 30.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0c39fa56653b153c39710491d7b595335b17ceeddf023930a2729e9f4eb15d0
|
|
| MD5 |
be52e92f425497af419a5676ef8cc0d4
|
|
| BLAKE2b-256 |
f9fe715fd7c6fcca716f2ae3ecb17a1a9502281a23646f329dd374cf0e63f3e6
|