Skip to main content

Unified entity model with schema, actions, data, metadata, caching, and performance features

Project description

xwentity

Unified entity layer. Ties schema (xwschema), actions (xwaction), and data (xwdata) together with metadata, caching, state, and XWNode. Used by xwmodels, xwbase, and the rest of the eXonware stack. Details live in docs/.

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

Status Python License


Install

pip install exonware-xwentity
pip install exonware-xwentity[lazy]
# Full stack used by xwentity flows
pip install exonware-xwentity[full]

[full] pulls the full variants of: xwsystem, xwaction, xwdata, xwquery, xwschema, and xwnode.


Quick start

from exonware.xwentity import XWEntity
from exonware.xwschema import XWSchema

schema = XWSchema({"type": "object", "properties": {"name": {"type": "string"}, "age": {"type": "integer"}}})
entity = XWEntity(schema=schema, data={"name": "Alice", "age": 30})
print(entity.data["name"])

See docs/ for metadata, state, and REF_* files.


What you get

Area What's in it
Entity One class for schema, actions, data, metadata, caching.
Integration xwschema, xwaction, xwdata, XWNode.
Lifecycle State and property discovery.

Docs and tests

  • Start: docs/INDEX.md or docs/.
  • Tests: From repo root, follow the layout in this package (pytest or project runner).

License and links

MIT - see LICENSE. Homepage: https://exonware.com · Repository: https://github.com/exonware/xwentity

Async Support

  • xwentity includes asynchronous execution paths in production code.
  • Source validation: 4 async def definitions and 1 await usages under src/.
  • Use async APIs for I/O-heavy or concurrent workloads to improve throughput and responsiveness.

Version: 0.6.0.4 | Updated: 31-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_xwentity-0.6.0.4.tar.gz (81.8 kB view details)

Uploaded Source

Built Distribution

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

exonware_xwentity-0.6.0.4-py3-none-any.whl (53.1 kB view details)

Uploaded Python 3

File details

Details for the file exonware_xwentity-0.6.0.4.tar.gz.

File metadata

  • Download URL: exonware_xwentity-0.6.0.4.tar.gz
  • Upload date:
  • Size: 81.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for exonware_xwentity-0.6.0.4.tar.gz
Algorithm Hash digest
SHA256 14f1f96259f4d965c1a0f9f9d03c39eaa47c70baa7ebcf884abc50d0792f4f92
MD5 d8f9ee5a3c59f752f4887296873d2553
BLAKE2b-256 133cb04fb025dc041aeada4dfabe553281ce18ba338cab808925dd3902272eae

See more details on using hashes here.

File details

Details for the file exonware_xwentity-0.6.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for exonware_xwentity-0.6.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b878ee3eb62485edbcb0d9a96974435d0c5d9c47f851aa150f12a7ac8705a38c
MD5 decebae81459b04f1617869236aac740
BLAKE2b-256 ae33f153bacffe4903773d0b319c2e180bdf0b4292163b73f12a51da4f641013

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