Skip to main content

Node-based data processing and graph computation library

Project description

xwnode

Graph-shaped data with one API: many node and edge strategies, lots of query languages behind the same surface, and AUTO when you want the implementation chosen for you.

Longer write-up: README_LONG.md.

Company: eXonware.com · Author: eXonware Backend Team · Email: connect@exonware.com

Status Python License


Install

Install What you get When to use
pip install exonware-xwnode Lite - core only Smallest install.
pip install exonware-xwnode[lazy] Lazy - backends pulled in when first used Local dev.
pip install exonware-xwnode[full] Full - common strategies pre-installed CI or production bundles.

Requires xwsystem. Extras only add dependencies; the import path stays the same.


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')

Pick a mode explicitly (NodeMode.HASH_MAP, NodeMode.LSM_TREE, EdgeMode.COMPRESSED_GRAPH, EdgeMode.HNSW, …) or use NodeMode.AUTO. See REF_14_DX and REF_15_API.


What you get

Area Contents
Node strategies Hash maps, ordered structures, LSM-style trees, tries, learned indexes, and more behind one API.
Edge strategies Adjacency, compressed graphs, HNSW, R-tree, quadtree, temporal layouts, …
Query Many languages (SQL, GraphQL, Cypher, XPath, …) via xwquery.
Operations WAL, Bloom filters, lock-free options, automatic strategy selection where enabled.

Status and roadmap: REF_22_PROJECT. Full strategy lists: REF_15_API, docs/.


Docs and tests


License and links

MIT - see LICENSE.

Contributing: CONTRIBUTING.md · Security: SECURITY.md (when present). Version: 0.9.0.16 | Updated: 30-Mar-2026

Built with ❤️ by eXonware.com - Revolutionizing Python Development Since 2025

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exonware_xwnode-0.9.0.16.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

exonware_xwnode-0.9.0.16-py3-none-any.whl (633.8 kB view details)

Uploaded Python 3

File details

Details for the file exonware_xwnode-0.9.0.16.tar.gz.

File metadata

  • Download URL: exonware_xwnode-0.9.0.16.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for exonware_xwnode-0.9.0.16.tar.gz
Algorithm Hash digest
SHA256 250553c8b3037ecb280b913ce36a5fbf45c2e886c231357b352c7d9266733089
MD5 a8df269a81fa3a2bd29121ae3e5dde83
BLAKE2b-256 344c63ee76094012939f2ff49c8847b2d1885b371a0fedf28df134a56771619a

See more details on using hashes here.

File details

Details for the file exonware_xwnode-0.9.0.16-py3-none-any.whl.

File metadata

File hashes

Hashes for exonware_xwnode-0.9.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 b7a1f9d89c70807bc122597cd1243cbee21a345241f1fd1afc8cd4b9cec4f804
MD5 dd59702fbbc7e5c64e8907aca61083b7
BLAKE2b-256 f304f1e26e58cf641ba073884f0e27cb21cc77438f1a83dbc50ea10f5d284b52

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page