Node-based data processing and graph computation library
Project description
xwnode
Graph-based data engine with one API. 60+ node strategies, 30+ edge/graph representations, and 35+ query languages behind a single interface; AUTO mode picks the right strategy.
Full features and DX: README_LONG.md.
Company: eXonware.com · Author: eXonware Backend Team · Email: connect@exonware.com
Version: See version.py or PyPI. · Updated: See version.py (__date__)
Install
| Install | What you get | When to use |
|---|---|---|
pip install exonware-xwnode |
Lite — core only | Minimal footprint. |
pip install exonware-xwnode[lazy] |
Lazy — missing deps on first use | Development. |
pip install exonware-xwnode[full] |
Full — common strategies pre-installed | Production or CI. |
Requires xwsystem. Same package; [lazy] and [full] are extras.
Quick start
from exonware.xwnode import XWNode
node = XWNode.from_native({
'users': [{'name': 'Alice', 'age': 30, 'city': 'NYC'}, {'name': 'Bob', 'age': 25, 'city': 'LA'}],
'products': {'laptop': {'price': 1000}, 'phone': {'price': 500}}
})
print(node['users'][0]['name'].value) # Alice
results = node.query("SELECT * FROM users WHERE age > 25")
node.add_edge('Alice', 'Bob', {'relationship': 'friend'})
friends = node.neighbors('Alice')
Choose strategy: XWNode(mode=NodeMode.HASH_MAP), NodeMode.LSM_TREE, EdgeMode.COMPRESSED_GRAPH, EdgeMode.HNSW, or NodeMode.AUTO. See REF_14_DX and REF_15_API.
What you get
| Area | What's in it |
|---|---|
| Node strategies | Many data structures (HashMap, OrderedMap, LSM Tree, B+ Tree, Trie, Bloom Filter, Learned Index, …) behind one API. |
| Edge strategies | Graph representations (adjacency, compressed graph, HNSW, R-Tree, QuadTree, temporal, …). |
| Query | 35+ languages (SQL, GraphQL, Cypher, XPath, …) via xwquery integration. |
| Production | WAL, Bloom filters, lock-free options, AUTO strategy selection. |
Current status and roadmap: REF_22_PROJECT. Full strategy list and examples: REF_15_API, docs/.
Docs and tests
- Start: docs/INDEX.md.
- Use it: docs/GUIDE_01_USAGE.md.
- REFs: REF_01_REQ, REF_22_PROJECT, REF_13_ARCH, REF_14_DX, REF_15_API, REF_51_TEST.
- Tests: See docs/REF_51_TEST.md. Run:
python tests/runner.pyfrom project root.
License and links
MIT — see LICENSE.
- Homepage: https://exonware.com
- Repository: https://github.com/exonware/xwnode
- Version:
from exonware.xwnode import __version__
Contributing → CONTRIBUTING.md · Security → SECURITY.md (when present).
Built with ❤️ by eXonware.com - Revolutionizing Python Development Since 2025
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 Distribution
Built Distribution
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 exonware_xwnode-0.9.0.13.tar.gz.
File metadata
- Download URL: exonware_xwnode-0.9.0.13.tar.gz
- Upload date:
- Size: 53.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2dd935b4ac82c6e01c111de0a273976d646ab455ff53fe309a45334495010491
|
|
| MD5 |
b44983d2d1f22e1adff6d78c4b18cb05
|
|
| BLAKE2b-256 |
4a896f3ce1c2b9d6048edb0e1ee361a3c7e70da8103076aacae817d06c73efd7
|
File details
Details for the file exonware_xwnode-0.9.0.13-py3-none-any.whl.
File metadata
- Download URL: exonware_xwnode-0.9.0.13-py3-none-any.whl
- Upload date:
- Size: 633.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5d5a9953c390339d4fbe2b99ce9dd321ca23b6301acd040be52236169b084fa
|
|
| MD5 |
baa703dde9706a0473536b6a8ad2148f
|
|
| BLAKE2b-256 |
f2648521262e3db2ef9f19a535bb597707c7b2d28982e45a5868875b60b7f09e
|