pyqql-edge
Local QQL for Python: qdrant-edge + FastEmbed, zero remote Qdrant.
Proposition
Same QQL language as pyqql, but storage and (optionally) embeddings run
in-process (qdrant-edge 0.8). Ideal for demos, CI, air-gapped tools.
Cluster-only features (GROUP BY, custom SHARD, ACORN, SHOW QUOTAS /
SET QUOTA, …) fail with stable QQL-EDGE-UNSUPPORTED-* codes. Sparse
PARAMS (idf = …) is supported offline.
Install
pip install pyqql-edge
Python 3.8+. Wheels: Linux x64, macOS arm64, Windows x64 (not macOS Intel — ONNX).
Quick start
import pyqql_edge
client = pyqql_edge.local_executor(
"./qdrant_data",
on_disk_payload=False,
model="bge-small-en-v1.5",
)
client.execute("CREATE COLLECTION docs HYBRID")
client.execute(
'UPSERT INTO docs VALUES {id: 1, text: "hello from edge"}'
)
report = client.execute("QUERY TEXT 'hello' FROM docs USING dense LIMIT 10")
print(report)
stmt = pyqql_edge.parse("QUERY TEXT 'hello' FROM docs USING dense LIMIT 10")[0]
pyqql_edge.inject_filter(stmt, "org_id", "=", "acme")
# Edge has no custom SHARD routing — use remote Qdrant for SHARD / CREATE SHARD KEY
client.close()
API
| Export | Role |
|---|---|
local_executor(data_dir, …) |
FastEmbed + edge storage |
http_executor(data_dir, url, …) |
Edge storage + remote HTTP embedder |
list_embedding_models() |
Dense ONNX catalog |
parse / parse_json / is_valid / tokenize |
Frontend |
inject_filter |
Isolation |
Stmt.shard_key |
Property exists for AST parity; edge rejects SHARD at execute |
bind(query, params) |
Substitute :name (dict) or ? (list) |
compile_query / explain / execute |
Plan / run (params= same as bind) |
Edge gotchas
| Topic | Reality |
|---|---|
| Point IDs | Integers or UUIDs only |
| HYBRID queries | Specify USING dense / USING sparse / hybrid forms |
GROUP BY, SHARD, ACORN, quotas |
Unsupported offline — use remote Qdrant (QQL-EDGE-UNSUPPORTED-*) |
Sparse idf |
Supported (qdrant-edge 0.8) |
| Models | Locked at executor construction |
| Lifetime | Call close() before deleting data_dir |
Docs
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyqql_edge-0.3.0-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: pyqql_edge-0.3.0-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 21.9 MB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3175862212b4ca5a51d8ec8ea8d0b06ae0d2f366858c79074b56cd39d1e06c7
|
|
| MD5 |
f14fcb584d8e4b4a861f2f2e6cf7dc78
|
|
| BLAKE2b-256 |
38f49e280d5c8132e2acac01706df8e93e91a3ac1931dc7d24c00765da786ec1
|
Provenance
The following attestation bundles were made for pyqql_edge-0.3.0-cp310-abi3-win_amd64.whl:
Publisher:
release.yml on srimon12/qql-rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyqql_edge-0.3.0-cp310-abi3-win_amd64.whl -
Subject digest:
b3175862212b4ca5a51d8ec8ea8d0b06ae0d2f366858c79074b56cd39d1e06c7 - Sigstore transparency entry: 2647128586
- Sigstore integration time:
-
Permalink:
srimon12/qql-rs@75362e5db0e5b62c7428bf1c2b7b0301113bad04 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/srimon12
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@75362e5db0e5b62c7428bf1c2b7b0301113bad04 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyqql_edge-0.3.0-cp310-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: pyqql_edge-0.3.0-cp310-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 23.8 MB
- Tags: CPython 3.10+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
957dab62faf7e569538be3bf0918fd249c7d038e43e60028e5717360511028c3
|
|
| MD5 |
6aa27ce91c13c43cff07de68f1c7d344
|
|
| BLAKE2b-256 |
b3077a6b0b7e4f1ac67ed8bf0239613fb812415aacd5190bebdb0b69a4bf77be
|
Provenance
The following attestation bundles were made for pyqql_edge-0.3.0-cp310-abi3-manylinux_2_28_x86_64.whl:
Publisher:
release.yml on srimon12/qql-rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyqql_edge-0.3.0-cp310-abi3-manylinux_2_28_x86_64.whl -
Subject digest:
957dab62faf7e569538be3bf0918fd249c7d038e43e60028e5717360511028c3 - Sigstore transparency entry: 2647128704
- Sigstore integration time:
-
Permalink:
srimon12/qql-rs@75362e5db0e5b62c7428bf1c2b7b0301113bad04 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/srimon12
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@75362e5db0e5b62c7428bf1c2b7b0301113bad04 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyqql_edge-0.3.0-cp310-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: pyqql_edge-0.3.0-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 20.3 MB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15ff94de488c63b8b8a87aaa217bbeb8ba2b369cdac2e8f06fd634595ead56c5
|
|
| MD5 |
3f84206a74517cc88fe98742c059494e
|
|
| BLAKE2b-256 |
4f73939b85ceb8d9e45f68ae30cdfdc49dff840092ba0fc69f24549238b2b68c
|
Provenance
The following attestation bundles were made for pyqql_edge-0.3.0-cp310-abi3-macosx_11_0_arm64.whl:
Publisher:
release.yml on srimon12/qql-rs
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyqql_edge-0.3.0-cp310-abi3-macosx_11_0_arm64.whl -
Subject digest:
15ff94de488c63b8b8a87aaa217bbeb8ba2b369cdac2e8f06fd634595ead56c5 - Sigstore transparency entry: 2647128657
- Sigstore integration time:
-
Permalink:
srimon12/qql-rs@75362e5db0e5b62c7428bf1c2b7b0301113bad04 -
Branch / Tag:
refs/tags/v0.3.0 - Owner: https://github.com/srimon12
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@75362e5db0e5b62c7428bf1c2b7b0301113bad04 -
Trigger Event:
push
-
Statement type: