Chroma Client.
Project Links
Meta
Author: Jeff Huber
Requires Python: >=3.9
Classifiers
Programming Language
- Python :: 3
License
- OSI Approved :: Apache Software License
Operating System
- OS Independent
Chroma - the open-source embedding database.
This package is for the Python HTTP client-only library for Chroma. This client connects to the Chroma Server. If that it not what you are looking for, you might want to check out the full library.
pip install chromadb-client # python http-client only library
To connect to your server and perform operations using the client only library, you can do the following:
import chromadb
# Example setup of the client to connect to your chroma server
client = chromadb.HttpClient(host="localhost", port=8000)
collection = client.create_collection("all-my-documents")
collection.add(
documents=["This is document1", "This is document2"],
metadatas=[{"source": "notion"}, {"source": "google-docs"}], # filter on these!
ids=["doc1", "doc2"], # unique for each doc
embeddings = [[1.2, 2.1, ...], [1.2, 2.1, ...]]
)
results = collection.query(
query_texts=["This is a query document"],
n_results=2,
# where={"metadata_field": "is_equal_to_this"}, # optional filter
# where_document={"$contains":"search_string"} # optional filter
)
License
Oct 05, 2025
1.1.1
Sep 16, 2025
1.1.0
Sep 11, 2025
1.0.21
Aug 18, 2025
1.0.20
Aug 18, 2025
1.0.18
Aug 14, 2025
1.0.17
Aug 08, 2025
1.0.16
Jul 02, 2025
1.0.15
Jun 18, 2025
1.0.13
May 31, 2025
1.0.12
May 28, 2025
1.0.11
May 22, 2025
1.0.10
May 12, 2025
1.0.9
May 05, 2025
1.0.8
Apr 24, 2025
1.0.7
Apr 22, 2025
1.0.6
Apr 16, 2025
1.0.5
Apr 10, 2025
1.0.4
Apr 07, 2025
1.0.3
Apr 03, 2025
1.0.0
Jan 14, 2025
0.6.3
Jan 07, 2025
0.6.2
Jan 03, 2025
0.6.1
Dec 30, 2024
0.6.0
Dec 05, 2024
0.5.23
Nov 19, 2024
0.5.20
Nov 05, 2024
0.5.18
Oct 31, 2024
0.5.17
Oct 29, 2024
0.5.16
Oct 16, 2024
0.5.15
Oct 15, 2024
0.5.14
Oct 10, 2024
0.5.13
Oct 08, 2024
0.5.12
Sep 27, 2024
0.5.11
Sep 27, 2024
0.5.10
Jul 23, 2024
0.5.6.dev0
Jul 11, 2024
0.5.5.dev0
Jun 18, 2024
0.5.4.dev0
Jun 18, 2024
0.5.3.dev0
Feb 28, 2024
0.4.25.dev0
Feb 22, 2024
0.4.24.dev0
Jan 03, 2024
0.4.23.dev0
Nov 21, 2023
0.4.19.dev0
Nov 10, 2023
0.4.18.dev0
Nov 08, 2023
0.4.17.dev0
Oct 25, 2023
0.4.16.dev0
Oct 09, 2023
0.4.15.dev0
Sep 25, 2023
0.4.14.dev0
Sep 20, 2023
0.4.13.dev0
Sep 19, 2023
0.4.12.dev0
Sep 11, 2023
0.4.11.dev0
Sep 06, 2023
0.4.10.dev0
Aug 29, 2023
0.4.9.dev0
Aug 23, 2023
0.4.8.dev0
Aug 15, 2023
0.4.7.dev0
Aug 04, 2023
0.4.6.dev0
Aug 01, 2023
0.4.5.dev0
Jul 25, 2023
0.4.4.dev0
Jul 19, 2023
0.4.3.dev0
Jul 18, 2023
0.4.2.dev0
Jul 17, 2023
0.4.1.dev0
Jul 12, 2023
0.3.30.dev0
Jul 10, 2023
0.3.28.dev0
Jun 05, 2023
0.3.27.dev0
May 24, 2023
0.3.26.dev10
May 24, 2023
0.3.26.dev9
Wheel compatibility matrix
Files in release
Extras:
None
Dependencies:
(>=1.22.5)
numpy
(>=1.2.0)
opentelemetry-api
(>=1.2.0)
opentelemetry-exporter-otlp-proto-grpc
(>=1.2.0)
opentelemetry-sdk
(>=7.3.1)
overrides
(<6.0.0,>=2.4.0)
posthog
(>=1.9)
pydantic
(>=4.5.0)
typing_extensions
(>=8.2.3)
tenacity
(>=6.0.0)
PyYAML
(>=3.9.12)
orjson
(>=0.27.0)
httpx
(>=4.19.0)
jsonschema
(>=1.4.1)
pybase64