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: finegrain/README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Finegrain API - Python client
2
2
3
-
This is a client for the [Finegrain](https://finegrain.ai) API. It requires Python 3.12+ and is designed for asynchronous code using asyncio. It depends on httpx and [httpx_sse](https://github.com/florimondmanca/httpx-sse).
3
+
This is a client for the [Finegrain](https://finegrain.ai) API. It requires Python 3.12+ (but we have a branch supporting 3.10, see below) and is designed for asynchronous code using asyncio. It depends on httpx and [httpx_sse](https://github.com/florimondmanca/httpx-sse).
4
4
5
5
## Setup
6
6
@@ -50,3 +50,7 @@ FG_TESTS_OUTPUT_DIR="$odir" \
50
50
uv run pytest -v \
51
51
-s -o log_cli=true -o log_level=INFO
52
52
```
53
+
54
+
## Python 3.10
55
+
56
+
This package leverages features from Python 3.11 (e.g. asyncio [Task Groups](https://docs.python.org/3/library/asyncio-task.html#task-groups)) and 3.12 (e.g. the [Type Parameter syntax](https://peps.python.org/pep-0695/)). For users stuck with 3.10 (e.g. on Hugging Face's ZeroGPU spaces) we provide [a branch](https://github.com/finegrain-ai/finegrain-python/tree/py310) you can use. This branch is not intended to me merged back into main.
0 commit comments