Qx framework core primitives: Result, Error, Entity, RequestContext
Project description
qx-core
Foundational primitives for the Qx framework.
What lives here
qx.core.result—Result[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— BaseEntity,AggregateRoot, andValueObjectwith auditing, optimistic concurrency, and soft-delete.qx.core.context—RequestContextpropagated viacontextvarsacross async boundaries (request_id, correlation_id, trace_id, user_id, tenant_id).qx.core.domain—DomainEvent,IntegrationEvent,Notificationbase types.qx.core.types— Common types:Identifier,Page,Cursor,Sort,Filter.qx.core.config— Layered configuration viapydantic-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.xis best-effort;1.0will 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-0.2.0.tar.gz
(17.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
qx_core-0.2.0-py3-none-any.whl
(19.8 kB
view details)
File details
Details for the file qx_core-0.2.0.tar.gz.
File metadata
- Download URL: qx_core-0.2.0.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70d74216449bdb466031542231f2a9fa540c7f5b791400fdf50dafca84986566
|
|
| MD5 |
9a2da3680f2873607f96cc16faefa22d
|
|
| BLAKE2b-256 |
d3d642b57e1a810997ba7163cf1b2348a11f2e1e790e3ffe817be7b6431b85ca
|
File details
Details for the file qx_core-0.2.0-py3-none-any.whl.
File metadata
- Download URL: qx_core-0.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e327a4a059fee6e8e1dc98a5edc63160715e1906c2e9c68da0df041e1e7d50b
|
|
| MD5 |
a8b7dc8b0b0fa2493d03e0ad39c43367
|
|
| BLAKE2b-256 |
8c161d37172df7231ac4987733264801b91793d8a7a08ae3dc51e63fc06f48cd
|