python-kasa/kasa
Steven B 3490a1ef84
Add tutorial doctest module and enable top level await (#919)
Add a tutorial module with examples that can be tested with `doctest`.

In order to simplify the examples they can be run with doctest allowing
top level await statements by adding a fixture to patch the builtins
that xdoctest uses to test code.

---------

Co-authored-by: Teemu R. <tpr@iki.fi>
2024-05-16 18:13:44 +02:00
..
interfaces Make Light and Fan a common module interface (#911) 2024-05-13 17:34:44 +01:00
iot Add tutorial doctest module and enable top level await (#919) 2024-05-16 18:13:44 +02:00
smart Deprecate device level light, effect and led attributes (#916) 2024-05-15 18:49:08 +01:00
tests Add tutorial doctest module and enable top level await (#919) 2024-05-16 18:13:44 +02:00
__init__.py Add tutorial doctest module and enable top level await (#919) 2024-05-16 18:13:44 +02:00
aestransport.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
cli.py Add LightEffect module for smart light strips (#918) 2024-05-15 06:16:57 +01:00
credentials.py Cleanup credentials handling (#605) 2024-01-03 19:26:52 +01:00
device_factory.py Move SmartBulb into SmartDevice (#874) 2024-04-29 18:19:44 +01:00
device_type.py Add temperature control module for smart (#848) 2024-04-22 12:39:07 +01:00
device.py Deprecate device level light, effect and led attributes (#916) 2024-05-15 18:49:08 +01:00
deviceconfig.py Add tutorial doctest module and enable top level await (#919) 2024-05-16 18:13:44 +02:00
discover.py Add tutorial doctest module and enable top level await (#919) 2024-05-16 18:13:44 +02:00
emeterstatus.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
exceptions.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
feature.py Improve categorization of features (#904) 2024-05-07 10:13:35 +01:00
httpclient.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
iotprotocol.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
json.py Generate AES KeyPair lazily (#687) 2024-01-23 15:29:27 +00:00
klaptransport.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
module.py Make Light and Fan a common module interface (#911) 2024-05-13 17:34:44 +01:00
modulemapping.py Create common interfaces for remaining device types (#895) 2024-05-10 19:29:28 +01:00
modulemapping.pyi Create common interfaces for remaining device types (#895) 2024-05-10 19:29:28 +01:00
protocol.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
py.typed Add py.typed to flag that the package is typed (#251) 2021-11-15 18:21:24 +01:00
smartprotocol.py Fix smartprotocol response list handler to handle null reponses (#884) 2024-04-29 14:24:30 +01:00
xortransport.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00