Skip to main content

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

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

Status Python License


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


License and links

MIT — see LICENSE.

Contributing → CONTRIBUTING.md · Security → SECURITY.md (when present).

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.9.tar.gz (53.7 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.9-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xwnode-0.9.0.9.tar.gz
  • Upload date:
  • Size: 53.7 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.9.tar.gz
Algorithm Hash digest
SHA256 e368a5774e79f2dbfa5c9f0699d64df3db8e6df93e2c518af4dafbfcb50c0066
MD5 126aa7d2538752094e052eddd17f6331
BLAKE2b-256 32b0fa3deeee606dfae33f24e2a43fdbd8ef8a356f10ffc0e900da08e6e2fc13

See more details on using hashes here.

File details

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

File metadata

  • Download URL: xwnode-0.9.0.9-py3-none-any.whl
  • Upload date:
  • Size: 5.8 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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 a939e21c6e624590d075643e0cf6c2b5095c20197250d37523efd7fe6290a792
MD5 175031fc7e132a275b862d53b9c03959
BLAKE2b-256 1b5b1b3ffa63524cd7d96cf6cb937cdf4119a5116cda4e4f54865509235e1ca7

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