Skip to content

Commit eb50581

Browse files
committed
use orjson with the turbopuffer package
1 parent d63cb40 commit eb50581

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,7 @@ The HTTP API documentation can be found at [turbopuffer.com/docs](https://turbop
1717

1818
```sh
1919
# install from PyPI
20-
pip install turbopuffer[fast]
21-
```
22-
23-
Or, if you're unable to run C binaries for JSON encoding:
24-
25-
```sh
26-
pip install --pre turbopuffer
20+
pip install turbopuffer
2721
```
2822

2923
## Usage

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ dependencies = [
1717
"anyio>=3.5.0, <5",
1818
"distro>=1.7.0, <2",
1919
"sniffio",
20+
"orjson>=3.10.15, <4",
2021
]
2122

2223
requires-python = ">= 3.9"
@@ -40,7 +41,7 @@ classifiers = [
4041

4142
[project.optional-dependencies]
4243
aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.9"]
43-
fast = ["orjson>=3.10.15, <4"]
44+
fast = []
4445
urllib3 = ["urllib3>=2.2.3, <3"]
4546

4647
[project.urls]

0 commit comments

Comments
 (0)