This release is a pre-release and may not be stable for production use.
CounterFit Shims - Grove
Shims for the Seeed Grove sensors and actuators to use with the CounterFit virtual IoT device app.
See the Grove Py 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 telegen-shims-grove
-
Import the Grove modules as normal, but using the
counterfit_shims_grovepackage instead of thegrovepackage, as well as importing theTeleGenConnectionfrom thecounterfit_shims_grove.counterfit_connectionmodule:from counterfit_connection import TeleGenConnection from counterfit_shims_grove.grove_light_sensor_v1_2 import GroveLightSensor from counterfit_shims_grove.grove_led import GroveLed
-
Configure the connection to the CounterFit app. Change the hostname and port to where you are running it:
TeleGenConnection.init('127.0.0.1', 5000)
-
Write your Grove code as usual, setting the pins to match the ones you set in the CounterFit app:
light_sensor = GroveLightSensor(2) sensor_value = light_sensor.light
Implemented shims
Not all the Grove sensor and actuators are currently implemented:
| Sensor/Actuator |
|---|
| grove_led |
| grove_light_sensor_v1_2 |
Metadata
Release files for telegen-shims-grove 0.1.4.dev6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| telegen_shims_grove-0.1.4.dev6.tar.gz | 5.1 kB | Without provenance | Details for telegen_shims_grove-0.1.4.dev6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| telegen_shims_grove-0.1.4.dev6-py3-none-any.whl | Python 3 | none | any | Details for telegen_shims_grove-0.1.4.dev6-py3-none-any.whl |
Total release size: 11.4 kB
Release files / telegen_shims_grove-0.1.4.dev6.tar.gz
| Download URL | telegen_shims_grove-0.1.4.dev6.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57f0e4ef14f90945209b58032061772d01cdb685d33ebe36e83fdbde57563c34
|
|
BLAKE2b-256 checksum How to use checksums |
83c76d0410ebc51bfb30b7c87e553340bbcf93afb27174cdb9bf8b2e5132822e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / telegen_shims_grove-0.1.4.dev6-py3-none-any.whl
| Download URL | telegen_shims_grove-0.1.4.dev6-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
028c9782da5b3359aeea0b40dfc49f3ece2aa224300c13b287c2cf7d16d2a5d5
|
|
BLAKE2b-256 checksum How to use checksums |
cf97c14cf618b79d49ebd73afca8f7178bab50c6e2d448b923b9b55a0a850eb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for telegen-shims-grove 0.1.4.dev6
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.