This release is a pre-release and may not be stable for production use.
CounterFit Shims - Grove
Shims for the Seeed Grove SI114X sunlight sensor to use with the CounterFit virtual IoT device app.
See the Seeed Python SI114X Docs for the API documentation.
Getting started
To use these shims, you will need to install CounterFit and have it running, with the appropriate hardware created.
-
Install this package from pip:
pip install counterfit-shims-seeed-python-si114x
-
Import the Grove modules as normal, but using the
counterfit_shims_seeed_python_si114xpackage instead of theseeed-python-si114xpackage, as well as importing theCounterFitConnectionfrom thecounterfit_shims_grove.counterfit_connectionmodule:from counterfit_connection import CounterFitConnection from counterfit_shims_seeed_python_si114x import si114x
-
Configure the connection to the CounterFit app. Change the hostname and port to where you are running it:
CounterFitConnection.init('127.0.0.1', 5000)
-
Write your Grove code as usual. The default assumes you hve a light sensor on pin 0, IR on pin 1 and UV on pin 2. You can change these passing additional arguments to the init
sensor =.si114x() light = sensor.ReadVisible() ir = sensor.ReadIR() uv = sensor.ReadUV()
Metadata
Release files for counterfit-shims-seeed-python-si114x 0.1.0.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| counterfit_shims_seeed_python_si114x-0.1.0.dev1-py3-none-any.whl | Python 3 | none | any | Details for counterfit_shims_seeed_python_si114x-0.1.0.dev1-py3-none-any.whl |
Release files / counterfit_shims_seeed_python_si114x-0.1.0.dev1-py3-none-any.whl
| Download URL | counterfit_shims_seeed_python_si114x-0.1.0.dev1-py3-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b9a433a44a9f9a479c192c157a1dc102c956b9729d47efd16cbac8af4542b94
|
|
BLAKE2b-256 checksum How to use checksums |
bfd39e5b7ae46e276d1a0905a91f9b8c73ab939f5969a2c66871ccd9dc58abbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.1
|
Security for counterfit-shims-seeed-python-si114x 0.1.0.dev1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.