Skip to content

Commit

Permalink
Reordered package for future development (#4)
Browse files Browse the repository at this point in the history
* reordered package

* fixed examples
  • Loading branch information
eliseomartelli authored and ludeeus committed Nov 24, 2018
1 parent ee398e0 commit d578fef
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ pyvenv.cfg
dist/
*.egg-info/
__pycache__/
lib64
share/
4 changes: 2 additions & 2 deletions examples/bluetooth_scan_network.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"""Example usage of googledevices."""
import asyncio
import aiohttp
from googledevices.bluetooth import Bluetooth
from googledevices.api.bluetooth import Bluetooth
from googledevices.scan import NetworkScan
from googledevices.device_info import DeviceInfo
from googledevices.api.device_info import DeviceInfo

IPRANGE = '192.168.2.0/24'

Expand Down
2 changes: 1 addition & 1 deletion examples/bluetooth_scan_unit.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Example usage of googledevices."""
import asyncio
import aiohttp
from googledevices.bluetooth import Bluetooth
from googledevices.api.bluetooth import Bluetooth

IPADDRESS = '192.168.2.234'

Expand Down
2 changes: 1 addition & 1 deletion examples/get_alarms.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Example usage of googledevices."""
import asyncio
import aiohttp
from googledevices.alarms import Alarms
from googledevices.api.alarms import Alarms

IPADDRESS = '192.168.2.234'

Expand Down
2 changes: 1 addition & 1 deletion examples/get_device_info.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Example usage of googledevices."""
import asyncio
import aiohttp
from googledevices.device_info import DeviceInfo
from googledevices.api.device_info import DeviceInfo

IPADDRESS = '192.168.2.234'

Expand Down
2 changes: 1 addition & 1 deletion examples/reboot.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Example usage of googledevices."""
import asyncio
import aiohttp
from googledevices.device_settings import DeviceSettings
from googledevices.api.device_settings import DeviceSettings

IPADDRESS = '192.168.2.234'

Expand Down
1 change: 1 addition & 0 deletions googledevices/api/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Initialize the api."""
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion googledevices/scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import socket
import ipaddress
import logging
from googledevices.device_info import DeviceInfo
from googledevices.api.device_info import DeviceInfo
from googledevices.utils.const import PORT

_LOGGER = logging.getLogger(__name__)
Expand Down

0 comments on commit d578fef

Please sign in to comment.