circuitpython-adxl36x 0.2.0__tar.gz → 0.2.1__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: circuitpython-adxl36x
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: CircuitPython driver for the Analog Devices ADXL366/ADXL367 accelerometers
5
5
  Keywords: adxl366,adxl367,accelerometer,blinka,circuitpython,hardware,i2c,micropython,spi
6
6
  Author: Mike Mabey
@@ -14,7 +14,7 @@ Classifier: Topic :: Software Development :: Embedded Systems
14
14
  Classifier: Topic :: Software Development :: Libraries
15
15
  Classifier: Topic :: System :: Hardware
16
16
  Requires-Dist: circuitpython-stubs>=10.2.1
17
- Requires-Python: >=3.10
17
+ Requires-Python: >=3.11
18
18
  Project-URL: Homepage, https://github.com/mmabey/circuitpython-adxl36x
19
19
  Project-URL: Repository, https://github.com/mmabey/circuitpython-adxl36x
20
20
  Project-URL: Issues, https://github.com/mmabey/circuitpython-adxl36x/issues
@@ -94,7 +94,7 @@ project (noise modes). Contributions welcome.
94
94
 
95
95
  ## Installation
96
96
 
97
- On a CircuitPython board, copy `src/adxl36x/` into `CIRCUITPY/lib/adxl36x/`. No other bundle libraries are required -
97
+ On a CircuitPython board, copy `adxl36x/` into `CIRCUITPY/lib/adxl36x/`. No other bundle libraries are required -
98
98
  this driver talks to `busio.I2C`/`busio.SPI` directly.
99
99
 
100
100
  For boards tight on RAM/flash, or if raw source ever fails to compile on-device, each [GitHub
@@ -72,7 +72,7 @@ project (noise modes). Contributions welcome.
72
72
 
73
73
  ## Installation
74
74
 
75
- On a CircuitPython board, copy `src/adxl36x/` into `CIRCUITPY/lib/adxl36x/`. No other bundle libraries are required -
75
+ On a CircuitPython board, copy `adxl36x/` into `CIRCUITPY/lib/adxl36x/`. No other bundle libraries are required -
76
76
  this driver talks to `busio.I2C`/`busio.SPI` directly.
77
77
 
78
78
  For boards tight on RAM/flash, or if raw source ever fails to compile on-device, each [GitHub
@@ -10,9 +10,10 @@ except ImportError:
10
10
  from micropython import const
11
11
 
12
12
  if TYPE_CHECKING:
13
+ from typing import Self
14
+
13
15
  from busio import I2C, SPI
14
16
  from digitalio import DigitalInOut
15
- from typing_extensions import Self
16
17
 
17
18
  _STANDARD_GRAVITY = 9.80665
18
19
 
@@ -1,11 +1,11 @@
1
1
  [project]
2
2
  name = "circuitpython-adxl36x"
3
- version = "0.2.0"
3
+ version = "0.2.1"
4
4
  description = "CircuitPython driver for the Analog Devices ADXL366/ADXL367 accelerometers"
5
5
  readme = "README.md"
6
6
  license = "MIT"
7
7
  license-files = ["LICENSE"]
8
- requires-python = ">=3.10"
8
+ requires-python = ">=3.11"
9
9
  keywords = [
10
10
  "adxl366",
11
11
  "adxl367",
@@ -47,15 +47,16 @@ dev = [
47
47
  ]
48
48
 
49
49
  [build-system]
50
- requires = ["uv_build>=0.12.2,<0.13.0"]
50
+ requires = ["uv_build>=0.13.8,<0.14.0"]
51
51
  build-backend = "uv_build"
52
52
 
53
53
  [tool.uv.build-backend]
54
54
  module-name = "adxl36x"
55
+ module-root = ""
55
56
 
56
57
  [tool.ty.src]
57
58
  include = [
58
- "src/adxl36x",
59
+ "adxl36x",
59
60
  "tests",
60
61
  ]
61
62
 
@@ -1,11 +1,11 @@
1
1
  [project]
2
2
  name = "circuitpython-adxl36x"
3
- version = "0.2.0"
3
+ version = "0.2.1"
4
4
  description = "CircuitPython driver for the Analog Devices ADXL366/ADXL367 accelerometers"
5
5
  readme = "README.md"
6
6
  license = "MIT"
7
7
  license-files = ["LICENSE"]
8
- requires-python = ">=3.10"
8
+ requires-python = ">=3.11"
9
9
  authors = [
10
10
  { name = "Mike Mabey", email = "email@mikemabey.com" },
11
11
  ]
@@ -50,14 +50,15 @@ dev = [
50
50
  ]
51
51
 
52
52
  [build-system]
53
- requires = ["uv_build>=0.12.2,<0.13.0"]
53
+ requires = ["uv_build>=0.13.8,<0.14.0"]
54
54
  build-backend = "uv_build"
55
55
 
56
56
  [tool.uv.build-backend]
57
57
  module-name = "adxl36x"
58
+ module-root = ""
58
59
 
59
60
  [tool.ty.src]
60
- include = ["src/adxl36x", "tests"]
61
+ include = ["adxl36x", "tests"]
61
62
 
62
63
  [tool.ruff]
63
64
  line-length = 120