Zero-copy e-commerce product knowledge graph (rkyv + CSR + Cypher), with Python bindings
Project description
e-shop-graph (Python bindings)
Zero-copy e-commerce product knowledge graph. Extracts products from real-world
e-commerce HTML (platform JSON, __NEXT_DATA__, microdata, JSON-LD), builds a
zero-copy rkyv graph, and serves single-digit-ms read-only Cypher.
import esg
# Build from in-memory HTML strings -> graph.bin
n_bytes = esg.build_graph(["<html>...</html>", "<html>...</html>"], "graph.bin")
# Memory-bounded build: mmap each *.html in a dir, one at a time
n_pages, n_bytes = esg.build_graph_from_dir("/path/to/html_dir", "graph.bin")
# Run Cypher against a saved graph (zero-copy mmap)
rows = esg.query("graph.bin", "MATCH (p:Product) RETURN p.name LIMIT 5")
for row in rows:
print(row) # {"p.name": "..."}
esg is a pure graph engine: callers supply input and output paths; tenancy
and path semantics are the caller's concern.
Licensed under MIT OR Apache-2.0.
Project details
Release history Release notifications | RSS feed
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 e_shop_graph-0.8.0-cp38-abi3-win_amd64.whl.
File metadata
- Download URL: e_shop_graph-0.8.0-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 974.6 kB
- Tags: CPython 3.8+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abd8cb0e78def9e1c559373933a5f97b1b083ce2dd41c19c613bbcaee6b79924
|
|
| MD5 |
cfb1923d487d48391f27e15a6052e029
|
|
| BLAKE2b-256 |
4eb49e2e19fe5b613dba20b27b0f00c093bb13551ad8a6d1a5f7cbae7a61dde3
|
Provenance
The following attestation bundles were made for e_shop_graph-0.8.0-cp38-abi3-win_amd64.whl:
Publisher:
release.yml on coseto6125/e-shop-graph
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
e_shop_graph-0.8.0-cp38-abi3-win_amd64.whl -
Subject digest:
abd8cb0e78def9e1c559373933a5f97b1b083ce2dd41c19c613bbcaee6b79924 - Sigstore transparency entry: 1669936336
- Sigstore integration time:
-
Permalink:
coseto6125/e-shop-graph@03205b808010de3f2646e39311f7ba048a8efa9b -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/coseto6125
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@03205b808010de3f2646e39311f7ba048a8efa9b -
Trigger Event:
push
-
Statement type:
File details
Details for the file e_shop_graph-0.8.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: e_shop_graph-0.8.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8be79e60bfa28b9814d76254e36e8bf9a5738c4f1887fe0a87cd1e6c61757ffb
|
|
| MD5 |
e342ee264d0640e79da6b468dd2c57b3
|
|
| BLAKE2b-256 |
b45c22894dc1b2d394a5dc43a741d60506de3afd988e4dc937b56a39014bf4f6
|
Provenance
The following attestation bundles were made for e_shop_graph-0.8.0-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
release.yml on coseto6125/e-shop-graph
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
e_shop_graph-0.8.0-cp38-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
8be79e60bfa28b9814d76254e36e8bf9a5738c4f1887fe0a87cd1e6c61757ffb - Sigstore transparency entry: 1669936639
- Sigstore integration time:
-
Permalink:
coseto6125/e-shop-graph@03205b808010de3f2646e39311f7ba048a8efa9b -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/coseto6125
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@03205b808010de3f2646e39311f7ba048a8efa9b -
Trigger Event:
push
-
Statement type:
File details
Details for the file e_shop_graph-0.8.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: e_shop_graph-0.8.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d76d4245535b633f6050335d5e7bb8c3179a9ab7bcfe735f98cfeb5c55d626f9
|
|
| MD5 |
412f81bb933777e8bb9a3ca8a56958d3
|
|
| BLAKE2b-256 |
cf40f8d89c90efad93278b9f11353ee5369fb686a0f45e2fd7d238f26f09dd34
|
Provenance
The following attestation bundles were made for e_shop_graph-0.8.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:
Publisher:
release.yml on coseto6125/e-shop-graph
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
e_shop_graph-0.8.0-cp38-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl -
Subject digest:
d76d4245535b633f6050335d5e7bb8c3179a9ab7bcfe735f98cfeb5c55d626f9 - Sigstore transparency entry: 1669936179
- Sigstore integration time:
-
Permalink:
coseto6125/e-shop-graph@03205b808010de3f2646e39311f7ba048a8efa9b -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/coseto6125
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@03205b808010de3f2646e39311f7ba048a8efa9b -
Trigger Event:
push
-
Statement type:
File details
Details for the file e_shop_graph-0.8.0-cp38-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: e_shop_graph-0.8.0-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0695656ed51b43b73d099aa7db3c5e8768445045a2eb26da8f2ff919149ed957
|
|
| MD5 |
3d8ea20916a15acb49faaeec11c182b6
|
|
| BLAKE2b-256 |
1d85f85b004d35833d515e1fb119111b3dba760fb917deb6e2d6cae28e18a967
|
Provenance
The following attestation bundles were made for e_shop_graph-0.8.0-cp38-abi3-macosx_11_0_arm64.whl:
Publisher:
release.yml on coseto6125/e-shop-graph
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
e_shop_graph-0.8.0-cp38-abi3-macosx_11_0_arm64.whl -
Subject digest:
0695656ed51b43b73d099aa7db3c5e8768445045a2eb26da8f2ff919149ed957 - Sigstore transparency entry: 1669936754
- Sigstore integration time:
-
Permalink:
coseto6125/e-shop-graph@03205b808010de3f2646e39311f7ba048a8efa9b -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/coseto6125
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@03205b808010de3f2646e39311f7ba048a8efa9b -
Trigger Event:
push
-
Statement type:
File details
Details for the file e_shop_graph-0.8.0-cp38-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: e_shop_graph-0.8.0-cp38-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.8+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72247568bfd5b224b1286ea6e2016d260c9b7cb5908146a16ec8b29e574ca413
|
|
| MD5 |
1d10f641215ac14a8507c309a86a260b
|
|
| BLAKE2b-256 |
bf9a7a4c6277ff5b0f998484ce407f254fc63a9e6440ebfd96093b34db6a41ea
|
Provenance
The following attestation bundles were made for e_shop_graph-0.8.0-cp38-abi3-macosx_10_12_x86_64.whl:
Publisher:
release.yml on coseto6125/e-shop-graph
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
e_shop_graph-0.8.0-cp38-abi3-macosx_10_12_x86_64.whl -
Subject digest:
72247568bfd5b224b1286ea6e2016d260c9b7cb5908146a16ec8b29e574ca413 - Sigstore transparency entry: 1669936462
- Sigstore integration time:
-
Permalink:
coseto6125/e-shop-graph@03205b808010de3f2646e39311f7ba048a8efa9b -
Branch / Tag:
refs/tags/v0.8.0 - Owner: https://github.com/coseto6125
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@03205b808010de3f2646e39311f7ba048a8efa9b -
Trigger Event:
push
-
Statement type: