Skip to main content

Schema validation and data structure definition library

Project description

xwschema

Define once, validate everywhere.
xwschema lets you describe schema rules and validate data across different input formats and structures with one consistent validation layer.

You can take schema definitions from common formats (for example JSON-style or XML-style representations), then validate heterogeneous payloads and models without rewriting validation logic per format.

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

Status Python License


Install

pip install exonware-xwschema

Quick start

from exonware.xwschema import *

# Define and validate schemas; pair with xwaction for workflow validation
# See docs/ and REF_* for API and examples

See docs/ for usage, REF_*, and GUIDE_01_USAGE when present.


Why developers use xwschema

  • Schema portability - keep business validation rules stable while data formats vary.
  • Cross-format validation - validate different payload styles through one schema engine.
  • Extensible model surface - grow new format adapters and schema types without redesigning core validation.
  • Works with your stack - use standalone or pair with xwaction/xwdata workflows.

What you get

Area Contents
Validation Constraint checks and structured errors.
Schema Dynamic composition, evolution, versioning.
Schema catalog DDL-style helpers (create_schema, alter_schema, drop_schema) and apply_migration for evolution; JSON-backed catalog for schema-on-write with xwstorage/XWDB. See docs/REF_15_API.md.
Integration xwaction workflows and other eXonware packages.

Current phase: docs/REF_22_PROJECT.md or docs/.


Docs and tests


License and links

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

Async Support

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

Version: 0.4.0.6 | 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_xwschema-0.4.0.6.tar.gz (107.9 kB view details)

Uploaded Source

Built Distribution

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

exonware_xwschema-0.4.0.6-py3-none-any.whl (95.8 kB view details)

Uploaded Python 3

File details

Details for the file exonware_xwschema-0.4.0.6.tar.gz.

File metadata

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

File hashes

Hashes for exonware_xwschema-0.4.0.6.tar.gz
Algorithm Hash digest
SHA256 30d6d30b348c55be72e8ff7b4eec9d43d0ae02acb042ff83fb5530e50ac10803
MD5 02b43415f1b935205914ec4ee7a6ae02
BLAKE2b-256 5fdbcee4b51e604dd4cf6b75b9372c3c2a7d8cd22ba96fc15586521ee54a50f4

See more details on using hashes here.

File details

Details for the file exonware_xwschema-0.4.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for exonware_xwschema-0.4.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0dae43ffccc33735b96f38afde05c57476a8af56de48ef39eeedbd0dc43e13bb
MD5 3be40f6821edd40e052bc07dfa959e26
BLAKE2b-256 6d5ec6df1025bf3d75b82e6e981389dc3117f2f1334dfcfd7c4a6d085f16b68a

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