corvid-python 0.3.4__tar.gz → 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {corvid_python-0.3.4 → corvid_python-0.4.0}/Cargo.lock +1 -1
- {corvid_python-0.3.4 → corvid_python-0.4.0}/Cargo.toml +1 -1
- {corvid_python-0.3.4 → corvid_python-0.4.0}/PKG-INFO +1 -1
- {corvid_python-0.3.4 → corvid_python-0.4.0}/docs/PLAN.md +3 -3
- {corvid_python-0.3.4 → corvid_python-0.4.0}/pyproject.toml +1 -1
- {corvid_python-0.3.4 → corvid_python-0.4.0}/.cargo/config.toml +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/.github/workflows/ci.yml +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/.github/workflows/release.yml +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/.gitignore +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/LICENSE +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/README.md +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/docs/SURFACE.tsv +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/examples/geo.py +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/examples/graph.py +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/examples/hybrid.py +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/examples/quickstart.py +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/examples/text_search.py +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/examples/vector_index.py +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/python/corvid/__init__.py +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/python/corvid/__init__.pyi +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/python/corvid/py.typed +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/scripts/surface-gate.sh +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/src/collection.rs +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/src/db.rs +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/src/error.rs +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/src/lib.rs +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/src/pred.rs +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/src/query.rs +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/src/types.rs +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/src/value.rs +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/tests/golden/admin.txt +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/tests/golden/geo.txt +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/tests/golden/graph.txt +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/tests/golden/mutations.txt +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/tests/golden/persist.txt +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/tests/golden/queries.txt +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/tests/golden/schema.txt +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/tests/golden/values.txt +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/tests/test_context_managers.py +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/tests/test_error_code.py +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/tests/test_golden.py +0 -0
- {corvid_python-0.3.4 → corvid_python-0.4.0}/tests/test_value_mapping.py +0 -0
|
@@ -5,7 +5,7 @@ version = 4
|
|
|
5
5
|
[[package]]
|
|
6
6
|
name = "corvid-db"
|
|
7
7
|
version = "0.3.2"
|
|
8
|
-
source = "git+https://github.com/corvid-db/corvid.git?tag=v0.
|
|
8
|
+
source = "git+https://github.com/corvid-db/corvid.git?tag=v0.4.0#b726ac5a1ebace9f94dc12007a4e06927241cf4c"
|
|
9
9
|
dependencies = [
|
|
10
10
|
"redb",
|
|
11
11
|
"thiserror",
|
|
@@ -24,7 +24,7 @@ pyo3 = { version = "0.29", features = ["abi3-py311"] }
|
|
|
24
24
|
# binding pins exact engine tags; the engine PACKAGE is corvid-db —
|
|
25
25
|
# bare `corvid` is an unrelated crates.io crate — its LIB ident is
|
|
26
26
|
# corvid, so `use corvid::…` is unchanged).
|
|
27
|
-
corvid-db = { git = "https://github.com/corvid-db/corvid.git", tag = "v0.
|
|
27
|
+
corvid-db = { git = "https://github.com/corvid-db/corvid.git", tag = "v0.4.0" }
|
|
28
28
|
|
|
29
29
|
[dev-dependencies]
|
|
30
30
|
# Test-only: the variant-inventory snapshot test (src/error.rs)
|
|
@@ -18,7 +18,7 @@ variants are additive later, decided by the FFI bench).
|
|
|
18
18
|
| --- | --- |
|
|
19
19
|
| The pyo3 crate (engine-binding layer AND idiom layer — see §3) | `src/*.rs` — `DbPy`/`CollectionPy`/`QueryPy`, value mapping, error mapping, predicates |
|
|
20
20
|
| The public package | `python/corvid/__init__.py` re-exports `corvid._native`; `__init__.pyi` + `py.typed` carry the full typing |
|
|
21
|
-
| The golden-suite port | `tests/test_golden.py` driving `tests/golden/*.txt` (vendored byte-identical from the v0.
|
|
21
|
+
| The golden-suite port | `tests/test_golden.py` driving `tests/golden/*.txt` (vendored byte-identical from the v0.4.0 release — the pinned engine tag; the same fixtures the C smoke suite and corvid-node run) |
|
|
22
22
|
| Packaging | `pyproject.toml` (maturin, one cp311-abi3 wheel per platform), README (install-pending note), LICENSE (MIT), `.gitignore` |
|
|
23
23
|
| CI | `.github/workflows/ci.yml` — surface gate + lint + golden suite × 4 platform legs (linux-x64/arm64, macos-arm64, windows-x64) × {3.14, 3.13, 3.12, 3.11} + `maturin build` smoke |
|
|
24
24
|
|
|
@@ -35,7 +35,7 @@ totals test pre-scans all files for exactly 267).
|
|
|
35
35
|
Two architectures were on the table:
|
|
36
36
|
|
|
37
37
|
1. **(chosen)** A Rust pyo3 crate that links the engine crate directly
|
|
38
|
-
(`corvid-db = { git = "https://github.com/corvid-db/corvid.git", tag = "v0.
|
|
38
|
+
(`corvid-db = { git = "https://github.com/corvid-db/corvid.git", tag = "v0.4.0" }`
|
|
39
39
|
— the engine package is `corvid-db` with lib ident `corvid`; bare
|
|
40
40
|
`corvid` on crates.io is an unrelated crate) and exposes the OOP
|
|
41
41
|
surface through native pyo3 classes, built into a Python extension
|
|
@@ -222,4 +222,4 @@ Documented corners:
|
|
|
222
222
|
| Variadic `and_`/`or_` (trailing underscores) | Python keywords; mirrors the JS binding's variadic `and`/`or` |
|
|
223
223
|
| Counter + Arc exclusivity for `compact` | mirrors the ABI §4.13 gate exactly; pinned by admin.txt |
|
|
224
224
|
| pyo3 0.29, maturin 1.x | current crates.io stable lines |
|
|
225
|
-
| Vendored golden fixtures (byte-identical to the v0.
|
|
225
|
+
| Vendored golden fixtures (byte-identical to the v0.4.0 tag — the pinned engine version) | stable text; the suite must run offline and per-PR (verified identical to `crates/corvid-ffi/golden/`) |
|
|
@@ -4,7 +4,7 @@ build-backend = "maturin"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "corvid-python"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.4.0"
|
|
8
8
|
description = "Python binding for the corvid embedded database — the engine compiled in via pyo3, exposed as idiomatic OOP"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "MIT"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|