mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-04 09:44:14 +00:00
Move transports into their own package (#1247)
This moves all transport implementations into a new `transports` package for cleaner main package & easier to understand project structure.
This commit is contained in:
@@ -9,7 +9,7 @@ import dpkt
|
||||
from dpkt.ethernet import ETH_TYPE_IP, Ethernet
|
||||
|
||||
from kasa.cli.main import echo
|
||||
from kasa.xortransport import XorEncryption
|
||||
from kasa.transports.xortransport import XorEncryption
|
||||
|
||||
|
||||
def read_payloads_from_file(file):
|
||||
|
@@ -25,8 +25,8 @@ from kasa.deviceconfig import (
|
||||
DeviceEncryptionType,
|
||||
DeviceFamily,
|
||||
)
|
||||
from kasa.klaptransport import KlapEncryptionSession, KlapTransportV2
|
||||
from kasa.protocol import DEFAULT_CREDENTIALS, get_default_credentials
|
||||
from kasa.transports.klaptransport import KlapEncryptionSession, KlapTransportV2
|
||||
|
||||
|
||||
def _get_seq_from_query(packet):
|
||||
|
Reference in New Issue
Block a user