Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sensirion_driver_adapters-2.4.0.tar.gz (101.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sensirion_driver_adapters-2.4.0-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file sensirion_driver_adapters-2.4.0.tar.gz.

File metadata

File hashes

Hashes for sensirion_driver_adapters-2.4.0.tar.gz
Algorithm Hash digest
SHA256 4b145145fa240654f9616c278fe61d131c6cbe680d4c25eaa4bdc355e09c725e
MD5 b7f3ddbbdce0fd1227cea4813818467b
BLAKE2b-256 54769d0c2e234f477b5f46418f82be6bbc1596125629b357c57490ecf15e929e

See more details on using hashes here.

File details

Details for the file sensirion_driver_adapters-2.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sensirion_driver_adapters-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0c39fa56653b153c39710491d7b595335b17ceeddf023930a2729e9f4eb15d0
MD5 be52e92f425497af419a5676ef8cc0d4
BLAKE2b-256 f9fe715fd7c6fcca716f2ae3ecb17a1a9502281a23646f329dd374cf0e63f3e6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page