w1-sysfs
One Wire protocol library using the sysfs interface
Compatibility
Now comptatible with all Python 3 versions.
Install
pip install onion-w1-sysfs
Usage
OneWire# python
Python 3.6.9 (default, Dec 06 2019, 16:28:06)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from OneWire import OneWire
>>> w1 = OneWire(0)
>>> w1.read_device()
['85 01 4b 46 7f ff 0c 10 31 : crc=31 YES\n', '85 01 4b 46 7f ff 0c 10 31 t=24312\n']
>>> w1.read_device()[1].split('=')[1].rstrip()
'24312'
>>>
Author
PyPi package by https://github.com/grizmin
Metadata
Release files for onion-w1-sysfs 0.1.6
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 |
|---|---|---|---|---|
| onion_w1_sysfs-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for onion_w1_sysfs-0.1.6-py3-none-any.whl |
Release files / onion_w1_sysfs-0.1.6-py3-none-any.whl
| Download URL | onion_w1_sysfs-0.1.6-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e6f8c8922c53a047e0a528802d46c8d5a7dedc472808e4aa0376fe5ad160917
|
|
BLAKE2b-256 checksum How to use checksums |
5be7906d56c1a6a6694e96f12f067b44f725889432d1d8ab52253171480126fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.3.0 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.6.6
|
Security for onion-w1-sysfs 0.1.6
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.