⛟ Export → Parquet
CLI tool to export a Qdrant collection to a Parquet file.
- All vector types: unnamed, named, multi-vectors and sparse.
- Parallel: ranges of points are exported by worker processes.
- Resumable: an interrupted export continues where it stopped.
Usage
Requires uv.
uvx qdrant-to-parquet my_collection out.parquet # localhost
export QDRANT_URL=https://xyz.cloud.qdrant.io QDRANT_API_KEY=...
uvx qdrant-to-parquet my_collection out.parquet # Qdrant Cloud
| Option | Default | |
|---|---|---|
--url |
$QDRANT_URL or http://localhost:6333 |
Qdrant URL |
--api-key |
$QDRANT_API_KEY or none |
API key |
--grpc-port |
6334 |
gRPC port, on the host of --url |
--rest |
off (gRPC) | Use REST instead of gRPC |
--workers |
up to 4, by CPUs and collection size |
Worker processes |
--batch-size |
256 |
Points per request |
--timeout |
60 |
Request timeout in seconds |
--retries |
3 |
Retries per failed request |
--restart |
off (resume) | Discard an interrupted export instead of resuming it |
-f, --force |
off | Replace the output file if it already exists. |
-q, --quiet |
off | No progress bar, warnings or summary |
Exit codes: 0 done, 1 failed, 2 invalid arguments, 130 interrupted, 143 terminated.
Output
| Column | Type |
|---|---|
id |
string: an integer ("42") or a UUID |
vector (the unnamed vector) or vector_<name> |
list<float32> |
vector_<name> (multi-vector) |
list<list<float32>> |
vector_<name> (sparse) |
struct<indices: list<uint32>, values: list<float32>> |
payload |
string: JSON, keys sorted |
Rows are in point id order. A missing vector is null. The file metadata holds the collection's configuration.
-- DuckDB
SELECT id, payload->>'title' AS title, len(vector) AS dim FROM 'out.parquet';
Library
from qdrant_to_parquet.exporter import ClientConfig, export_collection
if __name__ == "__main__":
config = ClientConfig(url="http://localhost:6333")
export_collection(
config.make(), "my_collection", "out.parquet", workers=4, client_config=config
)
Development
uv run pytest # without a server
QDRANT_URL=http://localhost:6333 uv run pytest # also against a server, over gRPC and REST
Metadata
Release files for qdrant-to-parquet 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| qdrant_to_parquet-0.1.1.tar.gz | 18.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| qdrant_to_parquet-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.8 kB
Release files / qdrant_to_parquet-0.1.1.tar.gz
| Download URL | qdrant_to_parquet-0.1.1.tar.gz |
|---|---|
| Size | 18.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1b0a2d83a0a9e3f0630a54adb55a36ff0d72c24376e5dc06e84c141e5409fc6
|
|
BLAKE2b-256 checksum How to use checksums |
a356e0da31d82a54646bae99dbd01726f8870192693eb0600cfb0b9b98348b81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.20 {"installer":{"name":"uv","version":"0.12.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / qdrant_to_parquet-0.1.1-py3-none-any.whl
| Download URL | qdrant_to_parquet-0.1.1-py3-none-any.whl |
|---|---|
| Size | 23.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14e98c7d3a6d329a7dc09b6edaf32fd2a4e70674bcdfa9e59b8e8946a49c2cc0
|
|
BLAKE2b-256 checksum How to use checksums |
ba9b65963d6d32323c5f10d65f755321761f65fb27fd68d83cd50145681be72e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.20 {"installer":{"name":"uv","version":"0.12.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for qdrant-to-parquet 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.