Skip to main content

[![](https://iarduino.ru/img/logo.svg)](https://iarduino.ru)[![](https://wiki.iarduino.ru/img/git-shop.svg?3)](https://iarduino.ru) [![](https://wiki.iarduino.ru/img/git-wiki.svg?2)](https://wiki.iarduino.ru) [![](https://wiki.iarduino.ru/img/git-lesson.svg?2)](https://lesson.iarduino.ru)[![](https://wiki.iarduino.ru/img/git-forum.svg?2)](http://forum.trema.ru)

# pyiArduinoI2Cph

Данная библилотека (модуль для Python3) позволяет управлять электронными модулями (устройствами) [Trema модуль pH-метр](https://iarduino.ru/shop/Sensory-Datchiki/datchik-kislotnosti-zhidkosti-ph-metr-flash-i2c.html) от iArduino.ru по шине I2C на Raspberry Pi.

Подробнее про датчик читайте в нашей [Wiki](https://wiki.iarduino.ru/page/ph-i2c-raspberry)

## Установка ##

[Статья на сайте iarduino.ru](https://wiki.iarduino.ru/page/raspberry-python-modules/)

Установка из репозиториев PyPI в терминале Raspberry:

sudo pip3 install pyiArduinoI2Cph

Самостоятельная сборка из исходников:

git clone https://github.com/tremaru/pyiArduinoI2Cph.git && cd pyiArduinoI2Cph/pyiArduinoI2Cph && python3 setup.py build_ext –inplace

Примеры для Python находятся в папке pyiArduinoI2Cph/examples

Примеры для С++ находятся в папке pyiArduinoI2Cph/cpp. Так же в этой папке лежит Makefile для сборки из исходников. Можно собрать сразу все примеры командой: make all или make Для сборки конкретного примера: make “название примера” Например: make getData Для удаления собранных исполняемых файлов: make clean

This is a Python3 module for Raspberry Pi. It can work with [Trema module pH-meter, Flash-I2C](https://iarduino.ru/shop/Sensory-Datchiki/datchik-kislotnosti-zhidkosti-ph-metr-flash-i2c.html) by iarduino.ru

Metadata

Release files for pyiArduinoI2Cph 1.2.3

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

Source distribution (sdist)

Source distribution for pyiArduinoI2Cph 1.2.3
File Size Uploaded Provenance Actions
pyiArduinoI2Cph-1.2.3.tar.gz 88.3 kB Without provenance Details for pyiArduinoI2Cph-1.2.3.tar.gz

Release files / pyiArduinoI2Cph-1.2.3.tar.gz

Download URL pyiArduinoI2Cph-1.2.3.tar.gz
Size 88.3 kB
Tags Source
SHA-256 checksum
How to use checksums
af26ba965cbdb8efaed8bf310772ade71217312e472bfa68ceaad7d250da0426
BLAKE2b-256 checksum
How to use checksums
e650806a76a2cb32947eddcd3f4189cbc8bdafd5994b41d133800efa3b13f49a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.2

Security for pyiArduinoI2Cph 1.2.3

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