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
@@ -32,13 +32,29 @@ and the [API docs](https://ib-api-reloaded.github.io/ib_async/api.html).
32
32
33
33
## Installation
34
34
35
+
`ib_async` now targets Python 3.11+ and publishes standard PEP 621 metadata, so the project installs cleanly with `pip`, `uv`, and `poetry`.
36
+
37
+
### Install with pip
38
+
35
39
```
36
40
pip install ib_async
37
41
```
38
42
43
+
### Install with uv
44
+
45
+
```
46
+
uv add ib_async
47
+
```
48
+
49
+
### Install with poetry
50
+
51
+
```
52
+
poetry add ib_async
53
+
```
54
+
39
55
Requirements:
40
56
41
-
- Python 3.10 or higher
57
+
- Python 3.11 or higher
42
58
- We plan to support Python releases [2 years back](https://devguide.python.org/versions/) which allows us to continue adding newer features and performance improvements over time.
43
59
- A running IB Gateway application (or TWS with API mode enabled)
44
60
-[stable gateway](https://www.interactivebrokers.com/en/trading/ibgateway-stable.php) — updated every few months
@@ -50,41 +66,59 @@ The ibapi package from IB is not needed. `ib_async` implements the full IBKR API
50
66
51
67
## Build Manually
52
68
53
-
First, install poetry:
69
+
First, install your preferred environment manager:
54
70
55
71
```
56
72
pip install poetry -U
57
73
```
58
74
59
-
### Installing Only Library
75
+
or:
76
+
77
+
```
78
+
pip install uv -U
79
+
```
80
+
81
+
### Install the project with poetry
60
82
61
83
```
62
84
poetry install
63
85
```
64
86
65
-
### Install Everything (enable docs + dev testing)
87
+
### Install the project with uv
66
88
67
89
```
90
+
uv sync
91
+
```
92
+
93
+
### Install everything for development and docs
94
+
95
+
```bash
68
96
poetry install --with=docs,dev
97
+
uv sync --group dev --group docs
69
98
```
70
99
71
100
## Generate Docs
72
101
73
-
```
102
+
```bash
74
103
poetry install --with=docs
75
104
poetry run sphinx-build -b html docs html
105
+
106
+
uv sync --group docs
107
+
uv run sphinx-build -b html docs html
76
108
```
77
109
78
110
## Check Types
79
111
80
-
```
112
+
```bash
81
113
poetry run mypy ib_async
114
+
uv run mypy ib_async
82
115
```
83
116
84
117
## Build Package
85
118
86
-
```
119
+
```bash
87
120
poetry build
121
+
python -m build
88
122
```
89
123
90
124
## Upload Package (if maintaining)
@@ -481,19 +515,26 @@ The complete [API documentation](https://ib-api-reloaded.github.io/ib_async/api.
0 commit comments