You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,23 @@
1
1
# Changelog
2
2
3
+
## 1.13.0 (2025-06-27)
4
+
5
+
Full Changelog: [v1.12.2...v1.13.0](https://github.com/OneBusAway/python-sdk/compare/v1.12.2...v1.13.0)
6
+
7
+
### Features
8
+
9
+
***client:** add support for aiohttp ([30eada9](https://github.com/OneBusAway/python-sdk/commit/30eada97ab7083d960307901bb55ef931ff6b202))
10
+
11
+
12
+
### Bug Fixes
13
+
14
+
***ci:** release-doctor — report correct token name ([32bbbb3](https://github.com/OneBusAway/python-sdk/commit/32bbbb36efc1e3ebe55502aba1d140b0670e671c))
15
+
16
+
17
+
### Chores
18
+
19
+
***tests:** skip some failing tests on the latest python versions ([6a88517](https://github.com/OneBusAway/python-sdk/commit/6a88517328513ff342df314e1d1da26795f3bb72))
20
+
3
21
## 1.12.2 (2025-06-19)
4
22
5
23
Full Changelog: [v1.12.1...v1.12.2](https://github.com/OneBusAway/python-sdk/compare/v1.12.1...v1.12.2)
Copy file name to clipboardExpand all lines: README.md
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,37 @@ asyncio.run(main())
64
64
65
65
Functionality between the synchronous and asynchronous clients is otherwise identical.
66
66
67
+
### With aiohttp
68
+
69
+
By default, the async client uses `httpx` for HTTP requests. However, for improved concurrency performance you may also use `aiohttp` as the HTTP backend.
70
+
71
+
You can enable this by installing `aiohttp`:
72
+
73
+
```sh
74
+
# install from PyPI
75
+
pip install onebusaway[aiohttp]
76
+
```
77
+
78
+
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
79
+
80
+
```python
81
+
import os
82
+
import asyncio
83
+
from onebusaway import DefaultAioHttpClient
84
+
from onebusaway import AsyncOnebusawaySDK
85
+
86
+
87
+
asyncdefmain() -> None:
88
+
asyncwith AsyncOnebusawaySDK(
89
+
api_key=os.environ.get("ONEBUSAWAY_API_KEY"), # This is the default and can be omitted
Nested request parameters are [TypedDicts](https://docs.python.org/3/library/typing.html#typing.TypedDict). Responses are [Pydantic models](https://docs.pydantic.dev) which also provide helper methods for things like:
0 commit comments