Skip to main content

SN3218

Build Status Coverage Status PyPi Package Python Versions

Pre-requisites

You must enable:

  • i2c: sudo raspi-config nonint do_i2c 0

You can optionally run sudo raspi-config or the graphical Raspberry Pi Configuration UI to enable interfaces.

Installing

Stable library from PyPi:

  • Just run python3 -m pip install sn3218

In most cases you'll need to run this in a virtual Python environment.

Latest/development library from GitHub:

  • git clone https://github.com/pimoroni/sn3218-python
  • cd sn3218-python
  • ./install.sh --unstable

3.0.0

  • BREAKING: Remove RPi.GPIO and bus autodetect
  • BREAKING: Switch to smbus2

2.0.0

  • BREAKING: Port to class.
  • Legacy support for module methods, auto-instantiates a class

1.2.7

  • Bugfix: Fix for Python 3.5

1.2.6

  • Initial commit to Raspbian apt repository

1.2.5

  • Initial commit to Raspbian apt repository

1.2.4

  • Added alternate warning/instructions for missing python3-smbus
  • Code quality improvements

1.2.3

  • Print fix

1.2.2

  • Added i2c_bus_id detection for older Pi

1.2.1

  • Removed hard dependency upon SMbus, added message at runtime

1.0.0

  • Initial release

Metadata

Release files for sn3218 3.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sn3218 3.0.0
File Size Uploaded
sn3218-3.0.0.tar.gz 10.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sn3218 3.0.0
File Interpreter ABI Platform
sn3218-3.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.8 kB

Release files / sn3218-3.0.0.tar.gz

Download URL sn3218-3.0.0.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1796e534efc395657600f42f4222d14d7f13b98be19ee506316e49ef664e2946
BLAKE2b-256 checksum
How to use checksums
8c52a1193f17528aad6a1183f73adf5753294e5aa2be57aa3d69eb2706b0dbcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / sn3218-3.0.0-py3-none-any.whl

Download URL sn3218-3.0.0-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b5f0ee1c24bf22a3fe3d09de5b9b0620732b6e68f7acf30a7bd1381e45b28d2
BLAKE2b-256 checksum
How to use checksums
1e4aef93284eb47608162abfe682e254f1d50c940bfcb9929d56fb1b0bcd26c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 release files

2.0.0

2 release files

1.2.7

1 release file

1.2.6

1 release file

1.2.5

1 release file

1.2.4

1 release file

1.2.3

1 release file

1.2.2

1 release file

1.2.1

1 release file

1.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page