Releases: adafruit/Adafruit_CircuitPython_Typing
1.8.0 - Added HTTPProtocol
Added HTTPProtocol for type annotations, which will help annotate libraries using HTTP protocol managers, like WiFi manager classes.
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.3 - Using TypeAlias
This release uses TypeAlias for the protocol definitions. Thank you @tekktrik
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.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.