Skip to main content

Qx framework core primitives: Result, Error, Entity, RequestContext

Project description

qx-core

Foundational primitives for the Qx framework.

What lives here

  • qx.core.resultResult[T] algebraic type with success/failure variants and combinators.
  • qx.core.errors — Canonical error hierarchy (Error, ValidationError, DomainError, NotFoundError, etc.) used across the framework. HTTP/gRPC layers map these to transport codes.
  • qx.core.entities — Base Entity, AggregateRoot, and ValueObject with auditing, optimistic concurrency, and soft-delete.
  • qx.core.contextRequestContext propagated via contextvars across async boundaries (request_id, correlation_id, trace_id, user_id, tenant_id).
  • qx.core.domainDomainEvent, IntegrationEvent, Notification base types.
  • qx.core.types — Common types: Identifier, Page, Cursor, Sort, Filter.
  • qx.core.config — Layered configuration via pydantic-settings.

Design rules

  • This package has zero infrastructure dependencies. No SQLAlchemy, no Redis, no FastAPI, no NATS.
  • Public API is exported from qx.core. Submodules are implementation detail and may move.
  • Backward compatibility from 0.x is best-effort; 1.0 will lock the API surface.

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

qx_core-1.1.0.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

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

qx_core-1.1.0-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file qx_core-1.1.0.tar.gz.

File metadata

  • Download URL: qx_core-1.1.0.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qx_core-1.1.0.tar.gz
Algorithm Hash digest
SHA256 9d39595eace69e4d95a9dd0ef72f4a89ff9e622eab96c0dc8a7540577e29aad9
MD5 b4d49d140ef648bf8ef0b72f55dabe72
BLAKE2b-256 60f8b899e54b5b45b2876da5ce9bd0ce8a9ddf4e65aa1afa3e97528aaff055cd

See more details on using hashes here.

File details

Details for the file qx_core-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: qx_core-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qx_core-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e651dbc2c07ac3cac47bedd4961f4cb840377e5e49b2257a247794ee696747c4
MD5 45ccaf6dd2946ecd748022098c350e05
BLAKE2b-256 c0ccd35c15e4e7c344ad69fae910c820727bd9bed994ea7c16f79bfe9cd8c64c

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