Skip to content

Releases: adafruit/Adafruit_CircuitPython_Typing

1.7.2 - Switched to pyproject.toml

10 Aug 17:42
c9abd8c
Compare
Choose a tag to compare

To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.

To use in CPython, pip3 install adafruit-circuitpython-typing.

Read the docs for info on how to use it.

1.7.1 - Repo documentation and config updates

07 Jun 16:39
Compare
Choose a tag to compare

To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.

To use in CPython, pip3 install adafruit-circuitpython-typing.

Read the docs for info on how to use it.

1.7.0 - Add hardware value-property Protocol

21 May 14:20
f6e60bd
Compare
Choose a tag to compare

Added a Protocol for hardware objects with read-only and read/write value properties (e.g., analogio.AnalogIn, digitalio.DigitalInOut, etc).

To use in CPython, pip3 install adafruit-circuitpython-typing.

Read the docs for info on how to use it.

1.6.1 - Fixed documentation link

21 May 01:48
6534d44
Compare
Choose a tag to compare

Fixed an issue where the link to the documentation in the README pointed to the wrong URL. Thanks @2bndy5!

To use in CPython, pip3 install adafruit-circuitpython-typing.

Read the docs for info on how to use it.

1.6.0 - PIL Image Protocol

25 Apr 15:19
33d26e8
Compare
Choose a tag to compare

Added Protocol used for type annotations of PIL Image objects. Thank you @tekktrik

To use in CPython, pip3 install adafruit-circuitpython-typing.

Read the docs for info on how to use it.

1.5.0 - Added Protocol for PWMOut

21 Apr 15:54
98cb267
Compare
Choose a tag to compare

Added Protocol used for type annotations of PWMOut on Blinka platforms that don't support a functional version.

To use in CPython, pip3 install adafruit-circuitpython-typing.

Read the docs for info on how to use it.

1.4.0 - Add Protocol for LEDs

07 Apr 03:07
982dee3
Compare
Choose a tag to compare

Add Protocols for representing LED-like classes for use as types in type annotations.

To use in CPython, pip3 install adafruit-circuitpython-typing.

Read the docs for info on how to use it.

1.3.1 - Made changes to bring library closer to cookiecutter

28 Mar 21:12
9d99f06
Compare
Choose a tag to compare

Added I2CDeviceDriver duck typing class for describing classes using I2CDevice.

To use in CPython, pip3 install adafruit-circuitpython-typing.

Read the docs for info on how to use it.

1.3.0 - Added duck typing for drivers using I2CDevice

09 Mar 19:28
8f6c8b3
Compare
Choose a tag to compare

Added I2CDeviceDriver duck typing class for describing classes using I2CDevice.

To use in CPython, pip3 install adafruit-circuitpython-typing.

Read the docs for info on how to use it.

1.2.0 - add py.typed; add additional types

01 Mar 01:22
26dfc45
Compare
Choose a tag to compare
  • Add additional types that were only in circuitpython.
  • Add py.typed so this library can be used with MyPy properly.

To use in CPython, pip3 install adafruit-circuitpython-typing.

Read the docs for info on how to use it.