Skip to content

Commit 7271f1d

Browse files
committed
all: Change use of "uasyncio" to "asyncio".
Signed-off-by: Damien George <[email protected]>
1 parent 1f019f9 commit 7271f1d

27 files changed

+30
-30
lines changed

Diff for: micropython/aioespnow/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A supplementary module which extends the micropython `espnow` module to provide
44
`asyncio` support.
55

66
- Asyncio support is available on all ESP32 targets as well as those ESP8266
7-
boards which include the `uasyncio` module (ie. ESP8266 devices with at least
7+
boards which include the `asyncio` module (ie. ESP8266 devices with at least
88
2MB flash storage).
99

1010
## API reference
@@ -52,7 +52,7 @@ A small async server example::
5252
```python
5353
import network
5454
import aioespnow
55-
import uasyncio as asyncio
55+
import asyncio
5656

5757
# A WLAN interface must be active to send()/recv()
5858
network.WLAN(network.STA_IF).active(True)

Diff for: micropython/aioespnow/aioespnow.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# aioespnow module for MicroPython on ESP32 and ESP8266
22
# MIT license; Copyright (c) 2022 Glenn Moloney @glenn20
33

4-
import uasyncio as asyncio
4+
import asyncio
55
import espnow
66

77

8-
# Modelled on the uasyncio.Stream class (extmod/stream/stream.py)
9-
# NOTE: Relies on internal implementation of uasyncio.core (_io_queue)
8+
# Modelled on the asyncio.Stream class (extmod/asyncio/stream.py)
9+
# NOTE: Relies on internal implementation of asyncio.core (_io_queue)
1010
class AIOESPNow(espnow.ESPNow):
1111
# Read one ESPNow message
1212
async def arecv(self):

Diff for: micropython/aiorepl/aiorepl.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async def execute(code, g, s):
4141
code = "return {}".format(code)
4242

4343
code = """
44-
import uasyncio as asyncio
44+
import asyncio
4545
async def __code():
4646
{}
4747

Diff for: micropython/bluetooth/aioble/aioble/central.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import bluetooth
77
import struct
88

9-
import uasyncio as asyncio
9+
import asyncio
1010

1111
from .core import (
1212
ensure_active,

Diff for: micropython/bluetooth/aioble/aioble/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from micropython import const
55
from collections import deque
6-
import uasyncio as asyncio
6+
import asyncio
77
import struct
88

99
import bluetooth

Diff for: micropython/bluetooth/aioble/aioble/device.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from micropython import const
55

6-
import uasyncio as asyncio
6+
import asyncio
77
import binascii
88

99
from .core import ble, register_irq_handler, log_error

Diff for: micropython/bluetooth/aioble/aioble/l2cap.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from micropython import const
55

6-
import uasyncio as asyncio
6+
import asyncio
77

88
from .core import ble, log_error, register_irq_handler
99
from .device import DeviceConnection

Diff for: micropython/bluetooth/aioble/aioble/peripheral.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import bluetooth
77
import struct
88

9-
import uasyncio as asyncio
9+
import asyncio
1010

1111
from .core import (
1212
ensure_active,

Diff for: micropython/bluetooth/aioble/aioble/security.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# MIT license; Copyright (c) 2021 Jim Mussared
33

44
from micropython import const, schedule
5-
import uasyncio as asyncio
5+
import asyncio
66
import binascii
77
import json
88

Diff for: micropython/bluetooth/aioble/aioble/server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from micropython import const
55
from collections import deque
66
import bluetooth
7-
import uasyncio as asyncio
7+
import asyncio
88

99
from .core import (
1010
ensure_active,

Diff for: micropython/bluetooth/aioble/examples/l2cap_file_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
from micropython import const
1212

13-
import uasyncio as asyncio
13+
import asyncio
1414
import aioble
1515
import bluetooth
1616

Diff for: micropython/bluetooth/aioble/examples/l2cap_file_server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
from micropython import const
2323

24-
import uasyncio as asyncio
24+
import asyncio
2525
import aioble
2626
import bluetooth
2727

Diff for: micropython/bluetooth/aioble/examples/temp_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from micropython import const
77

8-
import uasyncio as asyncio
8+
import asyncio
99
import aioble
1010
import bluetooth
1111

Diff for: micropython/bluetooth/aioble/examples/temp_sensor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from micropython import const
77

8-
import uasyncio as asyncio
8+
import asyncio
99
import aioble
1010
import bluetooth
1111

Diff for: micropython/bluetooth/aioble/multitests/ble_buffered_characteristic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import machine
1010
import time
1111

12-
import uasyncio as asyncio
12+
import asyncio
1313
import aioble
1414
import bluetooth
1515

Diff for: micropython/bluetooth/aioble/multitests/ble_characteristic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import machine
1010
import time
1111

12-
import uasyncio as asyncio
12+
import asyncio
1313
import aioble
1414
import bluetooth
1515

Diff for: micropython/bluetooth/aioble/multitests/ble_descriptor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import machine
1010
import time
1111

12-
import uasyncio as asyncio
12+
import asyncio
1313
import aioble
1414
import bluetooth
1515

Diff for: micropython/bluetooth/aioble/multitests/ble_notify.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import machine
1010
import time
1111

12-
import uasyncio as asyncio
12+
import asyncio
1313
import aioble
1414
import bluetooth
1515

Diff for: micropython/bluetooth/aioble/multitests/ble_shutdown.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import machine
1010
import time
1111

12-
import uasyncio as asyncio
12+
import asyncio
1313
import aioble
1414
import bluetooth
1515

Diff for: micropython/bluetooth/aioble/multitests/ble_write_capture.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import machine
1010
import time
1111

12-
import uasyncio as asyncio
12+
import asyncio
1313
import aioble
1414
import bluetooth
1515

Diff for: micropython/bluetooth/aioble/multitests/ble_write_order.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import machine
1010
import time
1111

12-
import uasyncio as asyncio
12+
import asyncio
1313
import aioble
1414
import bluetooth
1515

Diff for: micropython/bluetooth/aioble/multitests/perf_gatt_notify.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import machine
1010
import time
1111

12-
import uasyncio as asyncio
12+
import asyncio
1313
import aioble
1414
import bluetooth
1515

Diff for: micropython/bluetooth/aioble/multitests/perf_l2cap.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import machine
88
import time
99

10-
import uasyncio as asyncio
10+
import asyncio
1111
import aioble
1212
import bluetooth
1313
import random

Diff for: micropython/uaiohttpclient/README

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
uaiohttpclient is an HTTP client module for MicroPython uasyncio module,
1+
uaiohttpclient is an HTTP client module for MicroPython asyncio module,
22
with API roughly compatible with aiohttp (https://github.com/KeepSafe/aiohttp)
33
module. Note that only client is implemented, for server see picoweb
44
microframework.

Diff for: micropython/uaiohttpclient/example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# uaiohttpclient - fetch URL passed as command line argument.
33
#
44
import sys
5-
import uasyncio as asyncio
5+
import asyncio
66
import uaiohttpclient as aiohttp
77

88

Diff for: micropython/uaiohttpclient/manifest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
metadata(description="HTTP client module for MicroPython uasyncio module", version="0.5.2")
1+
metadata(description="HTTP client module for MicroPython asyncio module", version="0.5.2")
22

33
# Originally written by Paul Sokolovsky.
44

Diff for: micropython/uaiohttpclient/uaiohttpclient.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import uasyncio as asyncio
1+
import asyncio
22

33

44
class ClientResponse:

0 commit comments

Comments
 (0)