Skip to main content

Quality Gate Status Maintainability Rating

Lines of Code Duplicated Lines (%)

Reliability Rating Security Rating Vulnerabilities

Upload Python Package Python package

GreenPonik_Thermistor10k.py Library for Raspberry pi


This is the sample code for read temperature with thermistor 10k sensor on i2c bus.

Table of Contents

Dev workflow

create python virtual environnement

python3 -m venv venv

activate venv linux

source venv/bin/activate

activate venv windows

venv\Scripts\activate

install dependencies

pip install -r requirements.txt

build the documentation

TODO

Installation

> git clone https://github.com/GreenPonik/GreenPonik_Thermistor10k.git
cd GreenPonik_Thermistor10k
pip3 install -r requirements.txt

or 

> pip install greenponik-thermistor10k
from GreenPonik_Thermistor10k.Thermistor10k import Thermistor10k

Methods

"""
Get temperatue in celcius
"""
def read_temp():

Example

import time
from GreenPonik_Thermistor10k.Thermistor10k import Thermistor10k


if __name__ == "__main__":
    th = Thermistor10k()
    while True:
        temperature = th.read_temp()
        print("celcius temp %.3f °c" % temperature)
        time.sleep(1)

Credits

Write by Mickael Lehoux, from GreenPonik, 2020

Metadata

Release files for greenponik-thermistor10k 0.0.16

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

Source distribution (sdist)

Source distribution for greenponik-thermistor10k 0.0.16
File Size Uploaded Provenance Actions
greenponik-thermistor10k-0.0.16.tar.gz 36.5 kB Without provenance Details for greenponik-thermistor10k-0.0.16.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for greenponik-thermistor10k 0.0.16
File Interpreter ABI Platform Actions
greenponik_thermistor10k-0.0.16-py3-none-any.whl Python 3 none any Details for greenponik_thermistor10k-0.0.16-py3-none-any.whl

Total release size: 42.3 kB

Release files / greenponik-thermistor10k-0.0.16.tar.gz

Download URL greenponik-thermistor10k-0.0.16.tar.gz
Size 36.5 kB
Tags Source
SHA-256 checksum
How to use checksums
07991e3341d6bcf0796a6142e815e67abd4b217f52403e574004d45026936abf
BLAKE2b-256 checksum
How to use checksums
37c8cabdf65c894fd686955e162bca32ffa52560d1af7e5dea0fd96250c0e214
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release files / greenponik_thermistor10k-0.0.16-py3-none-any.whl

Download URL greenponik_thermistor10k-0.0.16-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d990ebe8c5ffeb93a6a8749667ecdb56a87f775bcb8a97dc9d13ea1f92f8abcb
BLAKE2b-256 checksum
How to use checksums
45daed2097a751b452df3e087c7ca4c06e3eaaf392a5f901962f274f82fac05d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Security for greenponik-thermistor10k 0.0.16

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.

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