Releases: adafruit/Adafruit_CircuitPython_Typing
1.7.2 - Switched to pyproject.toml
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
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
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
1.6.0 - PIL Image Protocol
1.5.0 - Added Protocol for PWMOut
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
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
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
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
- 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.