Skip to main content

Convenience wrapper for exonware-xwnode - provides 'import xwnode' alias

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

xwnode-0.9.0.16.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

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

xwnode-0.9.0.16-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for xwnode-0.9.0.16.tar.gz
Algorithm Hash digest
SHA256 bea684d4df260b48054e52e2ec9b163680cd616f1beda9df01af03153322a2b7
MD5 73ff445327c6c5479a69ff2f4d409bd3
BLAKE2b-256 7ffee7928a76589683b6d07241406a61cc339c383bd54e6f25ed44ebc40c9c8e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xwnode-0.9.0.16-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for xwnode-0.9.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 d39723bc4009304d4a3f13fdb2cecbc71ab3727a9f72695fb7fd38241aa0700b
MD5 b712dd12a26272a97dd5ba691f372f0f
BLAKE2b-256 c85a9db75ff75131cb3feacb3472c4e6415ff7f5a19d1cb0b29ae2339da4a9ff

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