python-periphery 2.4.1__py2.py3-none-any.whl → 2.4.3__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
periphery/__init__.py CHANGED
@@ -1,9 +1,9 @@
1
1
  import time
2
2
 
3
- __version__ = "2.4.1"
3
+ __version__ = "2.4.3"
4
4
  "Module version string."
5
5
 
6
- version = (2, 4, 1)
6
+ version = (2, 4, 3)
7
7
  "Module version tuple."
8
8
 
9
9
 
periphery/i2c.py CHANGED
@@ -76,7 +76,7 @@ class I2C(object):
76
76
  self._devpath = devpath
77
77
 
78
78
  # Query supported functions
79
- buf = array.array('I', [0])
79
+ buf = array.array('L', [0])
80
80
  try:
81
81
  fcntl.ioctl(self._fd, I2C._I2C_IOC_FUNCS, buf, True)
82
82
  except (OSError, IOError) as e:
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: python-periphery
3
- Version: 2.4.1
3
+ Version: 2.4.3
4
4
  Summary: A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux.
5
5
  Home-page: https://github.com/vsergeev/python-periphery
6
6
  Author: vsergeev
@@ -19,5 +19,14 @@ Classifier: Topic :: Software Development :: Embedded Systems
19
19
  Classifier: Topic :: System :: Hardware
20
20
  Classifier: Topic :: System :: Hardware :: Hardware Drivers
21
21
  License-File: LICENSE
22
+ Dynamic: author
23
+ Dynamic: author-email
24
+ Dynamic: classifier
25
+ Dynamic: description
26
+ Dynamic: home-page
27
+ Dynamic: keywords
28
+ Dynamic: license
29
+ Dynamic: license-file
30
+ Dynamic: summary
22
31
 
23
32
  python-periphery is a pure Python library for GPIO, LED, PWM, SPI, I2C, MMIO, and Serial peripheral I/O interface access in userspace Linux. It is useful in embedded Linux environments (including Raspberry Pi, BeagleBone, etc. platforms) for interfacing with external peripherals. python-periphery is compatible with Python 2 and Python 3, is written in pure Python, and is MIT licensed. See https://github.com/vsergeev/python-periphery for more information.
@@ -1,11 +1,11 @@
1
- periphery/__init__.py,sha256=NIRtaAtf02L9aU_fTZndZH9XBIZspuo7p6gLLKgo268,1030
1
+ periphery/__init__.py,sha256=bFlQwbt4Eo3p9VjzuaRpVIhbPyIKhX50EOXmNi_Maak,1030
2
2
  periphery/__init__.pyi,sha256=kNV-srVZuc_gxTFhINQaQhFYhwfxePFOoW4zwZysiyA,698
3
3
  periphery/gpio.py,sha256=JhDIEcC2BEmpSKXlnAxNkeM3pvzaVClE42yAER_lEuw,9960
4
4
  periphery/gpio.pyi,sha256=3xHOcsmXxdcc-sXy3KNb0beuCp-KCW759Duq1jr88J4,1935
5
5
  periphery/gpio_cdev1.py,sha256=QdGcPRLQlboz64M1_TL-cjcrQcqdcIMRT1HnHC0Ksxk,20665
6
6
  periphery/gpio_cdev2.py,sha256=84nMmPrtJ0StJcAwE8iw45YadV45CpHBrmLBruomzGw,21199
7
7
  periphery/gpio_sysfs.py,sha256=da-8uMziBAA_wQOaEWO8DXysilOndOMVrRLmtQUc8zs,11903
8
- periphery/i2c.py,sha256=PQBrWZ5ePKa21x18_6Cs-plAWsbZEYPHIxV-7KizBLg,6769
8
+ periphery/i2c.py,sha256=tMS7XQ10DAblbqinSHHjYB6xNUPns71_JZvfm1cLZPc,6769
9
9
  periphery/i2c.pyi,sha256=dfWclTARt3iCvIwMoV1IwiUS5WyssSrPm_nE-gLyUHg,752
10
10
  periphery/led.py,sha256=waQ3nrlzyvTBKqZQpPva4AuyITGoUirJ5ROVUeklxAE,5997
11
11
  periphery/led.pyi,sha256=f_lUJNlamKkbbH2Ivj-ZUGylXC4bVVINp2NcQXzYTSY,704
@@ -18,8 +18,8 @@ periphery/serial.py,sha256=L-tNg7aOTL_-c4tJ2qOXtp1I8LMRgYFmQWLnMmW2VCo,25275
18
18
  periphery/serial.pyi,sha256=LCU7XhhD-yyCGG5cWM7C-K0r-FOaUydGo4GB1v9KD_Y,1114
19
19
  periphery/spi.py,sha256=LTEpKBvvrhIdfcav-Zr08JKt_75BMYLaPoOYBCPzvtg,15568
20
20
  periphery/spi.pyi,sha256=xpDxe72ffXmjT905fMwJDHTMZgTSxOY4Wtpk-JJiBrU,806
21
- python_periphery-2.4.1.dist-info/LICENSE,sha256=MhEkRh6fhvT3u59XFQC_WOwbdiBrZC5QXOF9t_fIjgU,1099
22
- python_periphery-2.4.1.dist-info/METADATA,sha256=mE_IMcJpk7OttEs6nsKeUYv1dLQ-CLLdwVvSzHgfve8,1457
23
- python_periphery-2.4.1.dist-info/WHEEL,sha256=bb2Ot9scclHKMOLDEHY6B2sicWOgugjFKaJsT7vwMQo,110
24
- python_periphery-2.4.1.dist-info/top_level.txt,sha256=b4Woy5NSzNa7ZPLaz2cmCExhZP2-5zOgtUZog8ASZy0,10
25
- python_periphery-2.4.1.dist-info/RECORD,,
21
+ python_periphery-2.4.3.dist-info/licenses/LICENSE,sha256=uv-e__4tQsDlgnHRd8NFan5DbsfFxHoC2pG7x23oOHc,1099
22
+ python_periphery-2.4.3.dist-info/METADATA,sha256=B7WyU7pOHadweyN-LfD02Uq74NCfAU29W-VWQJa9wgU,1629
23
+ python_periphery-2.4.3.dist-info/WHEEL,sha256=4YBfCYNH4wlLpv3pzq1hbEuIlXA4WJabKLFurZ7eTL0,109
24
+ python_periphery-2.4.3.dist-info/top_level.txt,sha256=b4Woy5NSzNa7ZPLaz2cmCExhZP2-5zOgtUZog8ASZy0,10
25
+ python_periphery-2.4.3.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.38.4)
2
+ Generator: setuptools (84.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any
@@ -1,4 +1,4 @@
1
- Copyright (c) 2015-2023 vsergeev / Ivan (Vanya) A. Sergeev
1
+ Copyright (c) 2015-2026 vsergeev / Ivan (Vanya) A. Sergeev
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to deal